@aehrc/ecl-core 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.cjs +263 -259
  2. package/dist/index.mjs +263 -259
  3. package/package.json +2 -2
package/dist/index.cjs CHANGED
@@ -1584,10 +1584,10 @@ function requireCallBind() {
1584
1584
  var applyBind2 = requireApplyBind();
1585
1585
  module2.exports = function callBind2(originalFunction) {
1586
1586
  var func = callBindBasic(arguments);
1587
- var adjustedLength = originalFunction.length - (arguments.length - 1);
1587
+ var adjustedLength = 1 + originalFunction.length - (arguments.length - 1);
1588
1588
  return setFunctionLength2(
1589
1589
  func,
1590
- 1 + (adjustedLength > 0 ? adjustedLength : 0),
1590
+ adjustedLength > 0 ? adjustedLength : 0,
1591
1591
  true
1592
1592
  );
1593
1593
  };
@@ -1637,7 +1637,7 @@ function requireWhichTypedArray() {
1637
1637
  if (descriptor && descriptor.get) {
1638
1638
  var bound = callBind2(descriptor.get);
1639
1639
  cache2[
1640
- /** @type {`$${import('.').TypedArrayName}`} */
1640
+ /** @type {`$${TypedArrayName}`} */
1641
1641
  "$" + typedArray
1642
1642
  ] = bound;
1643
1643
  }
@@ -1649,28 +1649,28 @@ function requireWhichTypedArray() {
1649
1649
  var fn = arr.slice || arr.set;
1650
1650
  if (fn) {
1651
1651
  var bound = (
1652
- /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
1652
+ /** @type {BoundSlice | BoundSet} */
1653
1653
  // @ts-expect-error TODO FIXME
1654
1654
  callBind2(fn)
1655
1655
  );
1656
1656
  cache2[
1657
- /** @type {`$${import('.').TypedArrayName}`} */
1657
+ /** @type {`$${TypedArrayName}`} */
1658
1658
  "$" + typedArray
1659
1659
  ] = bound;
1660
1660
  }
1661
1661
  });
1662
1662
  }
1663
- var tryTypedArrays = function tryAllTypedArrays(value) {
1663
+ function tryTypedArrays(value) {
1664
1664
  var found = false;
1665
1665
  forEach2(
1666
- /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
1666
+ /** @type {Record<`$${TypedArrayName}`, Getter>} */
1667
1667
  cache2,
1668
- /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
1668
+ /** @param {Getter} getter @param {`$${TypedArrayName}`} typedArray */
1669
1669
  function(getter, typedArray) {
1670
1670
  if (!found) {
1671
1671
  try {
1672
1672
  if ("$" + getter(value) === typedArray) {
1673
- found = /** @type {import('.').TypedArrayName} */
1673
+ found = /** @type {TypedArrayName} */
1674
1674
  $slice(typedArray, 1);
1675
1675
  }
1676
1676
  } catch (e) {
@@ -1679,18 +1679,18 @@ function requireWhichTypedArray() {
1679
1679
  }
1680
1680
  );
1681
1681
  return found;
1682
- };
1683
- var trySlices = function tryAllSlices(value) {
1682
+ }
1683
+ function trySlices(value) {
1684
1684
  var found = false;
1685
1685
  forEach2(
1686
- /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
1686
+ /** @type {Record<`$${TypedArrayName}`, Getter>} */
1687
1687
  cache2,
1688
- /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
1688
+ /** @param {Getter} getter @param {`$${TypedArrayName}`} name */
1689
1689
  function(getter, name) {
1690
1690
  if (!found) {
1691
1691
  try {
1692
1692
  getter(value);
1693
- found = /** @type {import('.').TypedArrayName} */
1693
+ found = /** @type {TypedArrayName} */
1694
1694
  $slice(name, 1);
1695
1695
  } catch (e) {
1696
1696
  }
@@ -1698,14 +1698,17 @@ function requireWhichTypedArray() {
1698
1698
  }
1699
1699
  );
1700
1700
  return found;
1701
- };
1701
+ }
1702
+ function isTATag(tag) {
1703
+ return $indexOf(typedArrays, tag) > -1;
1704
+ }
1702
1705
  whichTypedArray = function whichTypedArray2(value) {
1703
1706
  if (!value || typeof value !== "object") {
1704
1707
  return false;
1705
1708
  }
1706
1709
  if (!hasToStringTag) {
1707
1710
  var tag = $slice($toString(value), 8, -1);
1708
- if ($indexOf(typedArrays, tag) > -1) {
1711
+ if (isTATag(tag)) {
1709
1712
  return tag;
1710
1713
  }
1711
1714
  if (tag !== "Object") {
@@ -1735,7 +1738,7 @@ var hasRequiredTypes;
1735
1738
  function requireTypes() {
1736
1739
  if (hasRequiredTypes) return types;
1737
1740
  hasRequiredTypes = 1;
1738
- (function(exports$1) {
1741
+ (function(exports2) {
1739
1742
  var isArgumentsObject = /* @__PURE__ */ requireIsArguments$1();
1740
1743
  var isGeneratorFunction2 = requireIsGeneratorFunction();
1741
1744
  var whichTypedArray2 = /* @__PURE__ */ requireWhichTypedArray();
@@ -1766,64 +1769,64 @@ function requireTypes() {
1766
1769
  return false;
1767
1770
  }
1768
1771
  }
1769
- exports$1.isArgumentsObject = isArgumentsObject;
1770
- exports$1.isGeneratorFunction = isGeneratorFunction2;
1771
- exports$1.isTypedArray = isTypedArray2;
1772
+ exports2.isArgumentsObject = isArgumentsObject;
1773
+ exports2.isGeneratorFunction = isGeneratorFunction2;
1774
+ exports2.isTypedArray = isTypedArray2;
1772
1775
  function isPromise(input) {
1773
1776
  return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
1774
1777
  }
1775
- exports$1.isPromise = isPromise;
1778
+ exports2.isPromise = isPromise;
1776
1779
  function isArrayBufferView(value) {
1777
1780
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
1778
1781
  return ArrayBuffer.isView(value);
1779
1782
  }
1780
1783
  return isTypedArray2(value) || isDataView(value);
1781
1784
  }
1782
- exports$1.isArrayBufferView = isArrayBufferView;
1785
+ exports2.isArrayBufferView = isArrayBufferView;
1783
1786
  function isUint8Array(value) {
1784
1787
  return whichTypedArray2(value) === "Uint8Array";
1785
1788
  }
1786
- exports$1.isUint8Array = isUint8Array;
1789
+ exports2.isUint8Array = isUint8Array;
1787
1790
  function isUint8ClampedArray(value) {
1788
1791
  return whichTypedArray2(value) === "Uint8ClampedArray";
1789
1792
  }
1790
- exports$1.isUint8ClampedArray = isUint8ClampedArray;
1793
+ exports2.isUint8ClampedArray = isUint8ClampedArray;
1791
1794
  function isUint16Array(value) {
1792
1795
  return whichTypedArray2(value) === "Uint16Array";
1793
1796
  }
1794
- exports$1.isUint16Array = isUint16Array;
1797
+ exports2.isUint16Array = isUint16Array;
1795
1798
  function isUint32Array(value) {
1796
1799
  return whichTypedArray2(value) === "Uint32Array";
1797
1800
  }
1798
- exports$1.isUint32Array = isUint32Array;
1801
+ exports2.isUint32Array = isUint32Array;
1799
1802
  function isInt8Array(value) {
1800
1803
  return whichTypedArray2(value) === "Int8Array";
1801
1804
  }
1802
- exports$1.isInt8Array = isInt8Array;
1805
+ exports2.isInt8Array = isInt8Array;
1803
1806
  function isInt16Array(value) {
1804
1807
  return whichTypedArray2(value) === "Int16Array";
1805
1808
  }
1806
- exports$1.isInt16Array = isInt16Array;
1809
+ exports2.isInt16Array = isInt16Array;
1807
1810
  function isInt32Array(value) {
1808
1811
  return whichTypedArray2(value) === "Int32Array";
1809
1812
  }
1810
- exports$1.isInt32Array = isInt32Array;
1813
+ exports2.isInt32Array = isInt32Array;
1811
1814
  function isFloat32Array(value) {
1812
1815
  return whichTypedArray2(value) === "Float32Array";
1813
1816
  }
1814
- exports$1.isFloat32Array = isFloat32Array;
1817
+ exports2.isFloat32Array = isFloat32Array;
1815
1818
  function isFloat64Array(value) {
1816
1819
  return whichTypedArray2(value) === "Float64Array";
1817
1820
  }
1818
- exports$1.isFloat64Array = isFloat64Array;
1821
+ exports2.isFloat64Array = isFloat64Array;
1819
1822
  function isBigInt64Array(value) {
1820
1823
  return whichTypedArray2(value) === "BigInt64Array";
1821
1824
  }
1822
- exports$1.isBigInt64Array = isBigInt64Array;
1825
+ exports2.isBigInt64Array = isBigInt64Array;
1823
1826
  function isBigUint64Array(value) {
1824
1827
  return whichTypedArray2(value) === "BigUint64Array";
1825
1828
  }
1826
- exports$1.isBigUint64Array = isBigUint64Array;
1829
+ exports2.isBigUint64Array = isBigUint64Array;
1827
1830
  function isMapToString(value) {
1828
1831
  return ObjectToString(value) === "[object Map]";
1829
1832
  }
@@ -1834,7 +1837,7 @@ function requireTypes() {
1834
1837
  }
1835
1838
  return isMapToString.working ? isMapToString(value) : value instanceof Map;
1836
1839
  }
1837
- exports$1.isMap = isMap;
1840
+ exports2.isMap = isMap;
1838
1841
  function isSetToString(value) {
1839
1842
  return ObjectToString(value) === "[object Set]";
1840
1843
  }
@@ -1845,7 +1848,7 @@ function requireTypes() {
1845
1848
  }
1846
1849
  return isSetToString.working ? isSetToString(value) : value instanceof Set;
1847
1850
  }
1848
- exports$1.isSet = isSet;
1851
+ exports2.isSet = isSet;
1849
1852
  function isWeakMapToString(value) {
1850
1853
  return ObjectToString(value) === "[object WeakMap]";
1851
1854
  }
@@ -1856,7 +1859,7 @@ function requireTypes() {
1856
1859
  }
1857
1860
  return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
1858
1861
  }
1859
- exports$1.isWeakMap = isWeakMap;
1862
+ exports2.isWeakMap = isWeakMap;
1860
1863
  function isWeakSetToString(value) {
1861
1864
  return ObjectToString(value) === "[object WeakSet]";
1862
1865
  }
@@ -1864,7 +1867,7 @@ function requireTypes() {
1864
1867
  function isWeakSet(value) {
1865
1868
  return isWeakSetToString(value);
1866
1869
  }
1867
- exports$1.isWeakSet = isWeakSet;
1870
+ exports2.isWeakSet = isWeakSet;
1868
1871
  function isArrayBufferToString(value) {
1869
1872
  return ObjectToString(value) === "[object ArrayBuffer]";
1870
1873
  }
@@ -1875,7 +1878,7 @@ function requireTypes() {
1875
1878
  }
1876
1879
  return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
1877
1880
  }
1878
- exports$1.isArrayBuffer = isArrayBuffer;
1881
+ exports2.isArrayBuffer = isArrayBuffer;
1879
1882
  function isDataViewToString(value) {
1880
1883
  return ObjectToString(value) === "[object DataView]";
1881
1884
  }
@@ -1886,7 +1889,7 @@ function requireTypes() {
1886
1889
  }
1887
1890
  return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
1888
1891
  }
1889
- exports$1.isDataView = isDataView;
1892
+ exports2.isDataView = isDataView;
1890
1893
  var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
1891
1894
  function isSharedArrayBufferToString(value) {
1892
1895
  return ObjectToString(value) === "[object SharedArrayBuffer]";
@@ -1900,57 +1903,57 @@ function requireTypes() {
1900
1903
  }
1901
1904
  return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
1902
1905
  }
1903
- exports$1.isSharedArrayBuffer = isSharedArrayBuffer;
1906
+ exports2.isSharedArrayBuffer = isSharedArrayBuffer;
1904
1907
  function isAsyncFunction(value) {
1905
1908
  return ObjectToString(value) === "[object AsyncFunction]";
1906
1909
  }
1907
- exports$1.isAsyncFunction = isAsyncFunction;
1910
+ exports2.isAsyncFunction = isAsyncFunction;
1908
1911
  function isMapIterator(value) {
1909
1912
  return ObjectToString(value) === "[object Map Iterator]";
1910
1913
  }
1911
- exports$1.isMapIterator = isMapIterator;
1914
+ exports2.isMapIterator = isMapIterator;
1912
1915
  function isSetIterator(value) {
1913
1916
  return ObjectToString(value) === "[object Set Iterator]";
1914
1917
  }
1915
- exports$1.isSetIterator = isSetIterator;
1918
+ exports2.isSetIterator = isSetIterator;
1916
1919
  function isGeneratorObject(value) {
1917
1920
  return ObjectToString(value) === "[object Generator]";
1918
1921
  }
1919
- exports$1.isGeneratorObject = isGeneratorObject;
1922
+ exports2.isGeneratorObject = isGeneratorObject;
1920
1923
  function isWebAssemblyCompiledModule(value) {
1921
1924
  return ObjectToString(value) === "[object WebAssembly.Module]";
1922
1925
  }
1923
- exports$1.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
1926
+ exports2.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
1924
1927
  function isNumberObject(value) {
1925
1928
  return checkBoxedPrimitive(value, numberValue);
1926
1929
  }
1927
- exports$1.isNumberObject = isNumberObject;
1930
+ exports2.isNumberObject = isNumberObject;
1928
1931
  function isStringObject(value) {
1929
1932
  return checkBoxedPrimitive(value, stringValue);
1930
1933
  }
1931
- exports$1.isStringObject = isStringObject;
1934
+ exports2.isStringObject = isStringObject;
1932
1935
  function isBooleanObject(value) {
1933
1936
  return checkBoxedPrimitive(value, booleanValue);
1934
1937
  }
1935
- exports$1.isBooleanObject = isBooleanObject;
1938
+ exports2.isBooleanObject = isBooleanObject;
1936
1939
  function isBigIntObject(value) {
1937
1940
  return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
1938
1941
  }
1939
- exports$1.isBigIntObject = isBigIntObject;
1942
+ exports2.isBigIntObject = isBigIntObject;
1940
1943
  function isSymbolObject(value) {
1941
1944
  return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
1942
1945
  }
1943
- exports$1.isSymbolObject = isSymbolObject;
1946
+ exports2.isSymbolObject = isSymbolObject;
1944
1947
  function isBoxedPrimitive(value) {
1945
1948
  return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
1946
1949
  }
1947
- exports$1.isBoxedPrimitive = isBoxedPrimitive;
1950
+ exports2.isBoxedPrimitive = isBoxedPrimitive;
1948
1951
  function isAnyArrayBuffer(value) {
1949
1952
  return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
1950
1953
  }
1951
- exports$1.isAnyArrayBuffer = isAnyArrayBuffer;
1954
+ exports2.isAnyArrayBuffer = isAnyArrayBuffer;
1952
1955
  ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
1953
- Object.defineProperty(exports$1, method, {
1956
+ Object.defineProperty(exports2, method, {
1954
1957
  enumerable: false,
1955
1958
  value: function() {
1956
1959
  throw new Error(method + " is not supported in userland");
@@ -2007,7 +2010,7 @@ var hasRequiredUtil;
2007
2010
  function requireUtil() {
2008
2011
  if (hasRequiredUtil) return util;
2009
2012
  hasRequiredUtil = 1;
2010
- (function(exports$1) {
2013
+ (function(exports2) {
2011
2014
  var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
2012
2015
  var keys = Object.keys(obj);
2013
2016
  var descriptors = {};
@@ -2017,7 +2020,7 @@ function requireUtil() {
2017
2020
  return descriptors;
2018
2021
  };
2019
2022
  var formatRegExp = /%[sdj%]/g;
2020
- exports$1.format = function(f) {
2023
+ exports2.format = function(f) {
2021
2024
  if (!isString(f)) {
2022
2025
  var objects = [];
2023
2026
  for (var i = 0; i < arguments.length; i++) {
@@ -2055,13 +2058,13 @@ function requireUtil() {
2055
2058
  }
2056
2059
  return str;
2057
2060
  };
2058
- exports$1.deprecate = function(fn, msg) {
2061
+ exports2.deprecate = function(fn, msg) {
2059
2062
  if (typeof process$1 !== "undefined" && process$1.noDeprecation === true) {
2060
2063
  return fn;
2061
2064
  }
2062
2065
  if (typeof process$1 === "undefined") {
2063
2066
  return function() {
2064
- return exports$1.deprecate(fn, msg).apply(this, arguments);
2067
+ return exports2.deprecate(fn, msg).apply(this, arguments);
2065
2068
  };
2066
2069
  }
2067
2070
  var warned = false;
@@ -2087,13 +2090,13 @@ function requireUtil() {
2087
2090
  debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
2088
2091
  debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
2089
2092
  }
2090
- exports$1.debuglog = function(set) {
2093
+ exports2.debuglog = function(set) {
2091
2094
  set = set.toUpperCase();
2092
2095
  if (!debugs[set]) {
2093
2096
  if (debugEnvRegex.test(set)) {
2094
2097
  var pid = process$1.pid;
2095
2098
  debugs[set] = function() {
2096
- var msg = exports$1.format.apply(exports$1, arguments);
2099
+ var msg = exports2.format.apply(exports2, arguments);
2097
2100
  console.error("%s %d: %s", set, pid, msg);
2098
2101
  };
2099
2102
  } else {
@@ -2113,7 +2116,7 @@ function requireUtil() {
2113
2116
  if (isBoolean(opts)) {
2114
2117
  ctx.showHidden = opts;
2115
2118
  } else if (opts) {
2116
- exports$1._extend(ctx, opts);
2119
+ exports2._extend(ctx, opts);
2117
2120
  }
2118
2121
  if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
2119
2122
  if (isUndefined(ctx.depth)) ctx.depth = 2;
@@ -2122,7 +2125,7 @@ function requireUtil() {
2122
2125
  if (ctx.colors) ctx.stylize = stylizeWithColor;
2123
2126
  return formatValue(ctx, obj, ctx.depth);
2124
2127
  }
2125
- exports$1.inspect = inspect;
2128
+ exports2.inspect = inspect;
2126
2129
  inspect.colors = {
2127
2130
  "bold": [1, 22],
2128
2131
  "italic": [3, 23],
@@ -2169,7 +2172,7 @@ function requireUtil() {
2169
2172
  }
2170
2173
  function formatValue(ctx, value, recurseTimes) {
2171
2174
  if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special
2172
- value.inspect !== exports$1.inspect && // Also filter out any prototype objects using the circular check.
2175
+ value.inspect !== exports2.inspect && // Also filter out any prototype objects using the circular check.
2173
2176
  !(value.constructor && value.constructor.prototype === value)) {
2174
2177
  var ret = value.inspect(recurseTimes, ctx);
2175
2178
  if (!isString(ret)) {
@@ -2355,68 +2358,68 @@ function requireUtil() {
2355
2358
  }
2356
2359
  return braces[0] + base + " " + output.join(", ") + " " + braces[1];
2357
2360
  }
2358
- exports$1.types = requireTypes();
2361
+ exports2.types = requireTypes();
2359
2362
  function isArray(ar) {
2360
2363
  return Array.isArray(ar);
2361
2364
  }
2362
- exports$1.isArray = isArray;
2365
+ exports2.isArray = isArray;
2363
2366
  function isBoolean(arg) {
2364
2367
  return typeof arg === "boolean";
2365
2368
  }
2366
- exports$1.isBoolean = isBoolean;
2369
+ exports2.isBoolean = isBoolean;
2367
2370
  function isNull(arg) {
2368
2371
  return arg === null;
2369
2372
  }
2370
- exports$1.isNull = isNull;
2373
+ exports2.isNull = isNull;
2371
2374
  function isNullOrUndefined(arg) {
2372
2375
  return arg == null;
2373
2376
  }
2374
- exports$1.isNullOrUndefined = isNullOrUndefined;
2377
+ exports2.isNullOrUndefined = isNullOrUndefined;
2375
2378
  function isNumber(arg) {
2376
2379
  return typeof arg === "number";
2377
2380
  }
2378
- exports$1.isNumber = isNumber;
2381
+ exports2.isNumber = isNumber;
2379
2382
  function isString(arg) {
2380
2383
  return typeof arg === "string";
2381
2384
  }
2382
- exports$1.isString = isString;
2385
+ exports2.isString = isString;
2383
2386
  function isSymbol(arg) {
2384
2387
  return typeof arg === "symbol";
2385
2388
  }
2386
- exports$1.isSymbol = isSymbol;
2389
+ exports2.isSymbol = isSymbol;
2387
2390
  function isUndefined(arg) {
2388
2391
  return arg === void 0;
2389
2392
  }
2390
- exports$1.isUndefined = isUndefined;
2393
+ exports2.isUndefined = isUndefined;
2391
2394
  function isRegExp(re) {
2392
2395
  return isObject(re) && objectToString(re) === "[object RegExp]";
2393
2396
  }
2394
- exports$1.isRegExp = isRegExp;
2395
- exports$1.types.isRegExp = isRegExp;
2397
+ exports2.isRegExp = isRegExp;
2398
+ exports2.types.isRegExp = isRegExp;
2396
2399
  function isObject(arg) {
2397
2400
  return typeof arg === "object" && arg !== null;
2398
2401
  }
2399
- exports$1.isObject = isObject;
2402
+ exports2.isObject = isObject;
2400
2403
  function isDate(d) {
2401
2404
  return isObject(d) && objectToString(d) === "[object Date]";
2402
2405
  }
2403
- exports$1.isDate = isDate;
2404
- exports$1.types.isDate = isDate;
2406
+ exports2.isDate = isDate;
2407
+ exports2.types.isDate = isDate;
2405
2408
  function isError(e) {
2406
2409
  return isObject(e) && (objectToString(e) === "[object Error]" || e instanceof Error);
2407
2410
  }
2408
- exports$1.isError = isError;
2409
- exports$1.types.isNativeError = isError;
2411
+ exports2.isError = isError;
2412
+ exports2.types.isNativeError = isError;
2410
2413
  function isFunction(arg) {
2411
2414
  return typeof arg === "function";
2412
2415
  }
2413
- exports$1.isFunction = isFunction;
2416
+ exports2.isFunction = isFunction;
2414
2417
  function isPrimitive(arg) {
2415
2418
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
2416
2419
  typeof arg === "undefined";
2417
2420
  }
2418
- exports$1.isPrimitive = isPrimitive;
2419
- exports$1.isBuffer = requireIsBufferBrowser();
2421
+ exports2.isPrimitive = isPrimitive;
2422
+ exports2.isBuffer = requireIsBufferBrowser();
2420
2423
  function objectToString(o) {
2421
2424
  return Object.prototype.toString.call(o);
2422
2425
  }
@@ -2446,11 +2449,11 @@ function requireUtil() {
2446
2449
  ].join(":");
2447
2450
  return [d.getDate(), months[d.getMonth()], time].join(" ");
2448
2451
  }
2449
- exports$1.log = function() {
2450
- console.log("%s - %s", timestamp(), exports$1.format.apply(exports$1, arguments));
2452
+ exports2.log = function() {
2453
+ console.log("%s - %s", timestamp(), exports2.format.apply(exports2, arguments));
2451
2454
  };
2452
- exports$1.inherits = requireInherits_browser();
2453
- exports$1._extend = function(origin, add) {
2455
+ exports2.inherits = requireInherits_browser();
2456
+ exports2._extend = function(origin, add) {
2454
2457
  if (!add || !isObject(add)) return origin;
2455
2458
  var keys = Object.keys(add);
2456
2459
  var i = keys.length;
@@ -2463,7 +2466,7 @@ function requireUtil() {
2463
2466
  return Object.prototype.hasOwnProperty.call(obj, prop);
2464
2467
  }
2465
2468
  var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
2466
- exports$1.promisify = function promisify(original) {
2469
+ exports2.promisify = function promisify(original) {
2467
2470
  if (typeof original !== "function")
2468
2471
  throw new TypeError('The "original" argument must be of type Function');
2469
2472
  if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
@@ -2515,7 +2518,7 @@ function requireUtil() {
2515
2518
  getOwnPropertyDescriptors(original)
2516
2519
  );
2517
2520
  };
2518
- exports$1.promisify.custom = kCustomPromisifiedSymbol;
2521
+ exports2.promisify.custom = kCustomPromisifiedSymbol;
2519
2522
  function callbackifyOnRejected(reason, cb) {
2520
2523
  if (!reason) {
2521
2524
  var newReason = new Error("Promise was rejected with a falsy value");
@@ -2557,7 +2560,7 @@ function requireUtil() {
2557
2560
  );
2558
2561
  return callbackified;
2559
2562
  }
2560
- exports$1.callbackify = callbackify;
2563
+ exports2.callbackify = callbackify;
2561
2564
  })(util);
2562
2565
  return util;
2563
2566
  }
@@ -4767,17 +4770,17 @@ var hasRequiredIntStream;
4767
4770
  function requireIntStream() {
4768
4771
  if (hasRequiredIntStream) return IntStream;
4769
4772
  hasRequiredIntStream = 1;
4770
- (function(exports$1) {
4773
+ (function(exports2) {
4771
4774
  /*!
4772
4775
  * Copyright 2016 The ANTLR Project. All rights reserved.
4773
4776
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4774
4777
  */
4775
- Object.defineProperty(exports$1, "__esModule", { value: true });
4776
- exports$1.IntStream = void 0;
4778
+ Object.defineProperty(exports2, "__esModule", { value: true });
4779
+ exports2.IntStream = void 0;
4777
4780
  (function(IntStream2) {
4778
4781
  IntStream2.EOF = -1;
4779
4782
  IntStream2.UNKNOWN_SOURCE_NAME = "<unknown>";
4780
- })(exports$1.IntStream || (exports$1.IntStream = {}));
4783
+ })(exports2.IntStream || (exports2.IntStream = {}));
4781
4784
  })(IntStream);
4782
4785
  return IntStream;
4783
4786
  }
@@ -4932,7 +4935,7 @@ var hasRequiredATNState;
4932
4935
  function requireATNState() {
4933
4936
  if (hasRequiredATNState) return ATNState;
4934
4937
  hasRequiredATNState = 1;
4935
- (function(exports$1) {
4938
+ (function(exports2) {
4936
4939
  /*!
4937
4940
  * Copyright 2016 The ANTLR Project. All rights reserved.
4938
4941
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -4943,8 +4946,8 @@ function requireATNState() {
4943
4946
  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;
4944
4947
  return c > 3 && r && Object.defineProperty(target, key, r), r;
4945
4948
  };
4946
- Object.defineProperty(exports$1, "__esModule", { value: true });
4947
- exports$1.ATNState = void 0;
4949
+ Object.defineProperty(exports2, "__esModule", { value: true });
4950
+ exports2.ATNState = void 0;
4948
4951
  const Decorators_1 = requireDecorators();
4949
4952
  let ATNState$1 = class ATNState2 {
4950
4953
  constructor() {
@@ -5053,10 +5056,10 @@ function requireATNState() {
5053
5056
  __decorate([
5054
5057
  Decorators_1.Override
5055
5058
  ], ATNState$1.prototype, "toString", null);
5056
- exports$1.ATNState = ATNState$1;
5059
+ exports2.ATNState = ATNState$1;
5057
5060
  (function(ATNState2) {
5058
5061
  ATNState2.INVALID_STATE_NUMBER = -1;
5059
- })(ATNState$1 = exports$1.ATNState || (exports$1.ATNState = {}));
5062
+ })(ATNState$1 = exports2.ATNState || (exports2.ATNState = {}));
5060
5063
  })(ATNState);
5061
5064
  return ATNState;
5062
5065
  }
@@ -5065,13 +5068,13 @@ var hasRequiredATNStateType;
5065
5068
  function requireATNStateType() {
5066
5069
  if (hasRequiredATNStateType) return ATNStateType;
5067
5070
  hasRequiredATNStateType = 1;
5068
- (function(exports$1) {
5071
+ (function(exports2) {
5069
5072
  /*!
5070
5073
  * Copyright 2016 The ANTLR Project. All rights reserved.
5071
5074
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
5072
5075
  */
5073
- Object.defineProperty(exports$1, "__esModule", { value: true });
5074
- exports$1.ATNStateType = void 0;
5076
+ Object.defineProperty(exports2, "__esModule", { value: true });
5077
+ exports2.ATNStateType = void 0;
5075
5078
  (function(ATNStateType2) {
5076
5079
  ATNStateType2[ATNStateType2["INVALID_TYPE"] = 0] = "INVALID_TYPE";
5077
5080
  ATNStateType2[ATNStateType2["BASIC"] = 1] = "BASIC";
@@ -5086,7 +5089,7 @@ function requireATNStateType() {
5086
5089
  ATNStateType2[ATNStateType2["STAR_LOOP_ENTRY"] = 10] = "STAR_LOOP_ENTRY";
5087
5090
  ATNStateType2[ATNStateType2["PLUS_LOOP_BACK"] = 11] = "PLUS_LOOP_BACK";
5088
5091
  ATNStateType2[ATNStateType2["LOOP_END"] = 12] = "LOOP_END";
5089
- })(exports$1.ATNStateType || (exports$1.ATNStateType = {}));
5092
+ })(exports2.ATNStateType || (exports2.ATNStateType = {}));
5090
5093
  })(ATNStateType);
5091
5094
  return ATNStateType;
5092
5095
  }
@@ -5291,13 +5294,13 @@ var hasRequiredMurmurHash;
5291
5294
  function requireMurmurHash() {
5292
5295
  if (hasRequiredMurmurHash) return MurmurHash;
5293
5296
  hasRequiredMurmurHash = 1;
5294
- (function(exports$1) {
5297
+ (function(exports2) {
5295
5298
  /*!
5296
5299
  * Copyright 2016 The ANTLR Project. All rights reserved.
5297
5300
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
5298
5301
  */
5299
- Object.defineProperty(exports$1, "__esModule", { value: true });
5300
- exports$1.MurmurHash = void 0;
5302
+ Object.defineProperty(exports2, "__esModule", { value: true });
5303
+ exports2.MurmurHash = void 0;
5301
5304
  (function(MurmurHash2) {
5302
5305
  const DEFAULT_SEED = 0;
5303
5306
  function initialize(seed = DEFAULT_SEED) {
@@ -5362,7 +5365,7 @@ function requireMurmurHash() {
5362
5365
  }
5363
5366
  return hash;
5364
5367
  }
5365
- })(exports$1.MurmurHash || (exports$1.MurmurHash = {}));
5368
+ })(exports2.MurmurHash || (exports2.MurmurHash = {}));
5366
5369
  })(MurmurHash);
5367
5370
  return MurmurHash;
5368
5371
  }
@@ -5975,7 +5978,7 @@ var hasRequiredSemanticContext;
5975
5978
  function requireSemanticContext() {
5976
5979
  if (hasRequiredSemanticContext) return SemanticContext;
5977
5980
  hasRequiredSemanticContext = 1;
5978
- (function(exports$1) {
5981
+ (function(exports2) {
5979
5982
  /*!
5980
5983
  * Copyright 2016 The ANTLR Project. All rights reserved.
5981
5984
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -5991,8 +5994,8 @@ function requireSemanticContext() {
5991
5994
  decorator(target, key, paramIndex);
5992
5995
  };
5993
5996
  };
5994
- Object.defineProperty(exports$1, "__esModule", { value: true });
5995
- exports$1.SemanticContext = void 0;
5997
+ Object.defineProperty(exports2, "__esModule", { value: true });
5998
+ exports2.SemanticContext = void 0;
5996
5999
  const Array2DHashSet_1 = requireArray2DHashSet();
5997
6000
  const ArrayEqualityComparator_1 = requireArrayEqualityComparator();
5998
6001
  const MurmurHash_1 = requireMurmurHash();
@@ -6089,7 +6092,7 @@ function requireSemanticContext() {
6089
6092
  return result;
6090
6093
  }
6091
6094
  };
6092
- exports$1.SemanticContext = SemanticContext$1;
6095
+ exports2.SemanticContext = SemanticContext$1;
6093
6096
  (function(SemanticContext2) {
6094
6097
  const AND_HASHCODE = 40363613;
6095
6098
  const OR_HASHCODE = 486279973;
@@ -6410,7 +6413,7 @@ function requireSemanticContext() {
6410
6413
  __param(1, Decorators_1.NotNull)
6411
6414
  ], OR);
6412
6415
  SemanticContext2.OR = OR;
6413
- })(SemanticContext$1 = exports$1.SemanticContext || (exports$1.SemanticContext = {}));
6416
+ })(SemanticContext$1 = exports2.SemanticContext || (exports2.SemanticContext = {}));
6414
6417
  })(SemanticContext);
6415
6418
  return SemanticContext;
6416
6419
  }
@@ -6593,13 +6596,13 @@ var hasRequiredArrays;
6593
6596
  function requireArrays() {
6594
6597
  if (hasRequiredArrays) return Arrays;
6595
6598
  hasRequiredArrays = 1;
6596
- (function(exports$1) {
6599
+ (function(exports2) {
6597
6600
  /*!
6598
6601
  * Copyright 2016 The ANTLR Project. All rights reserved.
6599
6602
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
6600
6603
  */
6601
- Object.defineProperty(exports$1, "__esModule", { value: true });
6602
- exports$1.Arrays = void 0;
6604
+ Object.defineProperty(exports2, "__esModule", { value: true });
6605
+ exports2.Arrays = void 0;
6603
6606
  (function(Arrays2) {
6604
6607
  function binarySearch(array, key, fromIndex, toIndex) {
6605
6608
  return binarySearch0(array, fromIndex !== void 0 ? fromIndex : 0, toIndex !== void 0 ? toIndex : array.length, key);
@@ -6642,7 +6645,7 @@ function requireArrays() {
6642
6645
  return result;
6643
6646
  }
6644
6647
  Arrays2.toString = toString;
6645
- })(exports$1.Arrays || (exports$1.Arrays = {}));
6648
+ })(exports2.Arrays || (exports2.Arrays = {}));
6646
6649
  })(Arrays);
6647
6650
  return Arrays;
6648
6651
  }
@@ -7074,13 +7077,13 @@ var hasRequiredToken;
7074
7077
  function requireToken() {
7075
7078
  if (hasRequiredToken) return Token;
7076
7079
  hasRequiredToken = 1;
7077
- (function(exports$1) {
7080
+ (function(exports2) {
7078
7081
  /*!
7079
7082
  * Copyright 2016 The ANTLR Project. All rights reserved.
7080
7083
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
7081
7084
  */
7082
- Object.defineProperty(exports$1, "__esModule", { value: true });
7083
- exports$1.Token = void 0;
7085
+ Object.defineProperty(exports2, "__esModule", { value: true });
7086
+ exports2.Token = void 0;
7084
7087
  const IntStream_1 = requireIntStream();
7085
7088
  (function(Token2) {
7086
7089
  Token2.INVALID_TYPE = 0;
@@ -7090,7 +7093,7 @@ function requireToken() {
7090
7093
  Token2.DEFAULT_CHANNEL = 0;
7091
7094
  Token2.HIDDEN_CHANNEL = 1;
7092
7095
  Token2.MIN_USER_CHANNEL_VALUE = 2;
7093
- })(exports$1.Token || (exports$1.Token = {}));
7096
+ })(exports2.Token || (exports2.Token = {}));
7094
7097
  })(Token);
7095
7098
  return Token;
7096
7099
  }
@@ -7312,7 +7315,7 @@ var hasRequiredCommonTokenFactory;
7312
7315
  function requireCommonTokenFactory() {
7313
7316
  if (hasRequiredCommonTokenFactory) return CommonTokenFactory;
7314
7317
  hasRequiredCommonTokenFactory = 1;
7315
- (function(exports$1) {
7318
+ (function(exports2) {
7316
7319
  /*!
7317
7320
  * Copyright 2016 The ANTLR Project. All rights reserved.
7318
7321
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -7323,8 +7326,8 @@ function requireCommonTokenFactory() {
7323
7326
  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;
7324
7327
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7325
7328
  };
7326
- Object.defineProperty(exports$1, "__esModule", { value: true });
7327
- exports$1.CommonTokenFactory = void 0;
7329
+ Object.defineProperty(exports2, "__esModule", { value: true });
7330
+ exports2.CommonTokenFactory = void 0;
7328
7331
  const CommonToken_1 = requireCommonToken();
7329
7332
  const Interval_1 = requireInterval();
7330
7333
  const Decorators_1 = requireDecorators();
@@ -7360,10 +7363,10 @@ function requireCommonTokenFactory() {
7360
7363
  __decorate([
7361
7364
  Decorators_1.Override
7362
7365
  ], CommonTokenFactory$1.prototype, "createSimple", null);
7363
- exports$1.CommonTokenFactory = CommonTokenFactory$1;
7366
+ exports2.CommonTokenFactory = CommonTokenFactory$1;
7364
7367
  (function(CommonTokenFactory2) {
7365
7368
  CommonTokenFactory2.DEFAULT = new CommonTokenFactory2();
7366
- })(CommonTokenFactory$1 = exports$1.CommonTokenFactory || (exports$1.CommonTokenFactory = {}));
7369
+ })(CommonTokenFactory$1 = exports2.CommonTokenFactory || (exports2.CommonTokenFactory = {}));
7367
7370
  })(CommonTokenFactory);
7368
7371
  return CommonTokenFactory;
7369
7372
  }
@@ -7551,7 +7554,7 @@ var hasRequiredPredictionContextCache;
7551
7554
  function requirePredictionContextCache() {
7552
7555
  if (hasRequiredPredictionContextCache) return PredictionContextCache;
7553
7556
  hasRequiredPredictionContextCache = 1;
7554
- (function(exports$1) {
7557
+ (function(exports2) {
7555
7558
  /*!
7556
7559
  * Copyright 2016 The ANTLR Project. All rights reserved.
7557
7560
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -7562,8 +7565,8 @@ function requirePredictionContextCache() {
7562
7565
  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;
7563
7566
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7564
7567
  };
7565
- Object.defineProperty(exports$1, "__esModule", { value: true });
7566
- exports$1.PredictionContextCache = void 0;
7568
+ Object.defineProperty(exports2, "__esModule", { value: true });
7569
+ exports2.PredictionContextCache = void 0;
7567
7570
  const Array2DHashMap_1 = requireArray2DHashMap();
7568
7571
  const Decorators_1 = requireDecorators();
7569
7572
  const ObjectEqualityComparator_1 = requireObjectEqualityComparator();
@@ -7615,7 +7618,7 @@ function requirePredictionContextCache() {
7615
7618
  return result;
7616
7619
  }
7617
7620
  };
7618
- exports$1.PredictionContextCache = PredictionContextCache$1;
7621
+ exports2.PredictionContextCache = PredictionContextCache$1;
7619
7622
  PredictionContextCache$1.UNCACHED = new PredictionContextCache$1(false);
7620
7623
  (function(PredictionContextCache2) {
7621
7624
  class PredictionContextAndInt {
@@ -7679,7 +7682,7 @@ function requirePredictionContextCache() {
7679
7682
  Decorators_1.Override
7680
7683
  ], IdentityCommutativePredictionContextOperands.prototype, "hashCode", null);
7681
7684
  PredictionContextCache2.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
7682
- })(PredictionContextCache$1 = exports$1.PredictionContextCache || (exports$1.PredictionContextCache = {}));
7685
+ })(PredictionContextCache$1 = exports2.PredictionContextCache || (exports2.PredictionContextCache = {}));
7683
7686
  })(PredictionContextCache);
7684
7687
  return PredictionContextCache;
7685
7688
  }
@@ -7687,7 +7690,7 @@ var hasRequiredPredictionContext;
7687
7690
  function requirePredictionContext() {
7688
7691
  if (hasRequiredPredictionContext) return PredictionContext;
7689
7692
  hasRequiredPredictionContext = 1;
7690
- (function(exports$1) {
7693
+ (function(exports2) {
7691
7694
  /*!
7692
7695
  * Copyright 2016 The ANTLR Project. All rights reserved.
7693
7696
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -7703,8 +7706,8 @@ function requirePredictionContext() {
7703
7706
  decorator(target, key, paramIndex);
7704
7707
  };
7705
7708
  };
7706
- Object.defineProperty(exports$1, "__esModule", { value: true });
7707
- exports$1.SingletonPredictionContext = exports$1.PredictionContext = void 0;
7709
+ Object.defineProperty(exports2, "__esModule", { value: true });
7710
+ exports2.SingletonPredictionContext = exports2.PredictionContext = void 0;
7708
7711
  const Array2DHashMap_1 = requireArray2DHashMap();
7709
7712
  const Array2DHashSet_1 = requireArray2DHashSet();
7710
7713
  const Arrays_1 = requireArrays();
@@ -7966,7 +7969,7 @@ function requirePredictionContext() {
7966
7969
  __param(1, Decorators_1.NotNull),
7967
7970
  __param(2, Decorators_1.NotNull)
7968
7971
  ], PredictionContext$1, "getCachedContext", null);
7969
- exports$1.PredictionContext = PredictionContext$1;
7972
+ exports2.PredictionContext = PredictionContext$1;
7970
7973
  class EmptyPredictionContext extends PredictionContext$1 {
7971
7974
  constructor(fullContext) {
7972
7975
  super(PredictionContext$1.calculateEmptyHashCode());
@@ -8322,7 +8325,7 @@ function requirePredictionContext() {
8322
8325
  SingletonPredictionContext = __decorate([
8323
8326
  __param(0, Decorators_1.NotNull)
8324
8327
  ], SingletonPredictionContext);
8325
- exports$1.SingletonPredictionContext = SingletonPredictionContext;
8328
+ exports2.SingletonPredictionContext = SingletonPredictionContext;
8326
8329
  (function(PredictionContext2) {
8327
8330
  PredictionContext2.EMPTY_LOCAL = new EmptyPredictionContext(false);
8328
8331
  PredictionContext2.EMPTY_FULL = new EmptyPredictionContext(true);
@@ -8352,7 +8355,7 @@ function requirePredictionContext() {
8352
8355
  Decorators_1.Override
8353
8356
  ], IdentityEqualityComparator.prototype, "equals", null);
8354
8357
  PredictionContext2.IdentityEqualityComparator = IdentityEqualityComparator;
8355
- })(PredictionContext$1 = exports$1.PredictionContext || (exports$1.PredictionContext = {}));
8358
+ })(PredictionContext$1 = exports2.PredictionContext || (exports2.PredictionContext = {}));
8356
8359
  })(PredictionContext);
8357
8360
  return PredictionContext;
8358
8361
  }
@@ -9843,7 +9846,7 @@ var hasRequiredDFAState;
9843
9846
  function requireDFAState() {
9844
9847
  if (hasRequiredDFAState) return DFAState;
9845
9848
  hasRequiredDFAState = 1;
9846
- (function(exports$1) {
9849
+ (function(exports2) {
9847
9850
  /*!
9848
9851
  * Copyright 2016 The ANTLR Project. All rights reserved.
9849
9852
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -9859,8 +9862,8 @@ function requireDFAState() {
9859
9862
  decorator(target, key, paramIndex);
9860
9863
  };
9861
9864
  };
9862
- Object.defineProperty(exports$1, "__esModule", { value: true });
9863
- exports$1.DFAState = void 0;
9865
+ Object.defineProperty(exports2, "__esModule", { value: true });
9866
+ exports2.DFAState = void 0;
9864
9867
  const ATN_1 = requireATN();
9865
9868
  const BitSet_1 = requireBitSet();
9866
9869
  const MurmurHash_1 = requireMurmurHash();
@@ -10023,7 +10026,7 @@ function requireDFAState() {
10023
10026
  __decorate([
10024
10027
  Decorators_1.Override
10025
10028
  ], DFAState$1.prototype, "toString", null);
10026
- exports$1.DFAState = DFAState$1;
10029
+ exports2.DFAState = DFAState$1;
10027
10030
  (function(DFAState2) {
10028
10031
  let PredPrediction = class PredPrediction {
10029
10032
  constructor(pred, alt) {
@@ -10044,7 +10047,7 @@ function requireDFAState() {
10044
10047
  __param(0, Decorators_1.NotNull)
10045
10048
  ], PredPrediction);
10046
10049
  DFAState2.PredPrediction = PredPrediction;
10047
- })(DFAState$1 = exports$1.DFAState || (exports$1.DFAState = {}));
10050
+ })(DFAState$1 = exports2.DFAState || (exports2.DFAState = {}));
10048
10051
  })(DFAState);
10049
10052
  return DFAState;
10050
10053
  }
@@ -10052,7 +10055,7 @@ var hasRequiredATNSimulator;
10052
10055
  function requireATNSimulator() {
10053
10056
  if (hasRequiredATNSimulator) return ATNSimulator;
10054
10057
  hasRequiredATNSimulator = 1;
10055
- (function(exports$1) {
10058
+ (function(exports2) {
10056
10059
  /*!
10057
10060
  * Copyright 2016 The ANTLR Project. All rights reserved.
10058
10061
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -10068,8 +10071,8 @@ function requireATNSimulator() {
10068
10071
  decorator(target, key, paramIndex);
10069
10072
  };
10070
10073
  };
10071
- Object.defineProperty(exports$1, "__esModule", { value: true });
10072
- exports$1.ATNSimulator = void 0;
10074
+ Object.defineProperty(exports2, "__esModule", { value: true });
10075
+ exports2.ATNSimulator = void 0;
10073
10076
  const ATNConfigSet_1 = requireATNConfigSet();
10074
10077
  const DFAState_1 = requireDFAState();
10075
10078
  const Decorators_1 = requireDecorators();
@@ -10109,10 +10112,10 @@ function requireATNSimulator() {
10109
10112
  ATNSimulator$1 = __decorate([
10110
10113
  __param(0, Decorators_1.NotNull)
10111
10114
  ], ATNSimulator$1);
10112
- exports$1.ATNSimulator = ATNSimulator$1;
10115
+ exports2.ATNSimulator = ATNSimulator$1;
10113
10116
  /* @__PURE__ */ (function(ATNSimulator2) {
10114
- })(ATNSimulator$1 = exports$1.ATNSimulator || (exports$1.ATNSimulator = {}));
10115
- exports$1.ATNSimulator = ATNSimulator$1;
10117
+ })(ATNSimulator$1 = exports2.ATNSimulator || (exports2.ATNSimulator = {}));
10118
+ exports2.ATNSimulator = ATNSimulator$1;
10116
10119
  })(ATNSimulator);
10117
10120
  return ATNSimulator;
10118
10121
  }
@@ -11456,7 +11459,7 @@ var hasRequiredATN;
11456
11459
  function requireATN() {
11457
11460
  if (hasRequiredATN) return ATN;
11458
11461
  hasRequiredATN = 1;
11459
- (function(exports$1) {
11462
+ (function(exports2) {
11460
11463
  /*!
11461
11464
  * Copyright 2016 The ANTLR Project. All rights reserved.
11462
11465
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -11472,8 +11475,8 @@ function requireATN() {
11472
11475
  decorator(target, key, paramIndex);
11473
11476
  };
11474
11477
  };
11475
- Object.defineProperty(exports$1, "__esModule", { value: true });
11476
- exports$1.ATN = void 0;
11478
+ Object.defineProperty(exports2, "__esModule", { value: true });
11479
+ exports2.ATN = void 0;
11477
11480
  const Array2DHashMap_1 = requireArray2DHashMap();
11478
11481
  const DFA_1 = requireDFA();
11479
11482
  const IntervalSet_1 = requireIntervalSet();
@@ -11666,11 +11669,11 @@ function requireATN() {
11666
11669
  ATN$1 = __decorate([
11667
11670
  __param(0, Decorators_1.NotNull)
11668
11671
  ], ATN$1);
11669
- exports$1.ATN = ATN$1;
11672
+ exports2.ATN = ATN$1;
11670
11673
  (function(ATN2) {
11671
11674
  ATN2.INVALID_ALT_NUMBER = 0;
11672
- })(ATN$1 = exports$1.ATN || (exports$1.ATN = {}));
11673
- exports$1.ATN = ATN$1;
11675
+ })(ATN$1 = exports2.ATN || (exports2.ATN = {}));
11676
+ exports2.ATN = ATN$1;
11674
11677
  })(ATN);
11675
11678
  return ATN;
11676
11679
  }
@@ -12109,7 +12112,7 @@ var hasRequiredLexerATNSimulator;
12109
12112
  function requireLexerATNSimulator() {
12110
12113
  if (hasRequiredLexerATNSimulator) return LexerATNSimulator;
12111
12114
  hasRequiredLexerATNSimulator = 1;
12112
- (function(exports$1) {
12115
+ (function(exports2) {
12113
12116
  /*!
12114
12117
  * Copyright 2016 The ANTLR Project. All rights reserved.
12115
12118
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -12125,8 +12128,8 @@ function requireLexerATNSimulator() {
12125
12128
  decorator(target, key, paramIndex);
12126
12129
  };
12127
12130
  };
12128
- Object.defineProperty(exports$1, "__esModule", { value: true });
12129
- exports$1.LexerATNSimulator = void 0;
12131
+ Object.defineProperty(exports2, "__esModule", { value: true });
12132
+ exports2.LexerATNSimulator = void 0;
12130
12133
  const AcceptStateInfo_1 = requireAcceptStateInfo();
12131
12134
  const ATN_1 = requireATN();
12132
12135
  const ATNConfig_1 = requireATNConfig();
@@ -12687,7 +12690,7 @@ function requireLexerATNSimulator() {
12687
12690
  LexerATNSimulator$1 = __decorate([
12688
12691
  __param(0, Decorators_1.NotNull)
12689
12692
  ], LexerATNSimulator$1);
12690
- exports$1.LexerATNSimulator = LexerATNSimulator$1;
12693
+ exports2.LexerATNSimulator = LexerATNSimulator$1;
12691
12694
  (function(LexerATNSimulator2) {
12692
12695
  LexerATNSimulator2.debug = false;
12693
12696
  LexerATNSimulator2.dfa_debug = false;
@@ -12705,8 +12708,8 @@ function requireLexerATNSimulator() {
12705
12708
  }
12706
12709
  }
12707
12710
  LexerATNSimulator2.SimState = SimState;
12708
- })(LexerATNSimulator$1 = exports$1.LexerATNSimulator || (exports$1.LexerATNSimulator = {}));
12709
- exports$1.LexerATNSimulator = LexerATNSimulator$1;
12711
+ })(LexerATNSimulator$1 = exports2.LexerATNSimulator || (exports2.LexerATNSimulator = {}));
12712
+ exports2.LexerATNSimulator = LexerATNSimulator$1;
12710
12713
  })(LexerATNSimulator);
12711
12714
  return LexerATNSimulator;
12712
12715
  }
@@ -14272,7 +14275,7 @@ var hasRequiredLexerMoreAction;
14272
14275
  function requireLexerMoreAction() {
14273
14276
  if (hasRequiredLexerMoreAction) return LexerMoreAction;
14274
14277
  hasRequiredLexerMoreAction = 1;
14275
- (function(exports$1) {
14278
+ (function(exports2) {
14276
14279
  /*!
14277
14280
  * Copyright 2016 The ANTLR Project. All rights reserved.
14278
14281
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -14288,8 +14291,8 @@ function requireLexerMoreAction() {
14288
14291
  decorator(target, key, paramIndex);
14289
14292
  };
14290
14293
  };
14291
- Object.defineProperty(exports$1, "__esModule", { value: true });
14292
- exports$1.LexerMoreAction = void 0;
14294
+ Object.defineProperty(exports2, "__esModule", { value: true });
14295
+ exports2.LexerMoreAction = void 0;
14293
14296
  const MurmurHash_1 = requireMurmurHash();
14294
14297
  const Decorators_1 = requireDecorators();
14295
14298
  let LexerMoreAction$1 = class LexerMoreAction {
@@ -14351,10 +14354,10 @@ function requireLexerMoreAction() {
14351
14354
  __decorate([
14352
14355
  Decorators_1.Override
14353
14356
  ], LexerMoreAction$1.prototype, "toString", null);
14354
- exports$1.LexerMoreAction = LexerMoreAction$1;
14357
+ exports2.LexerMoreAction = LexerMoreAction$1;
14355
14358
  (function(LexerMoreAction2) {
14356
14359
  LexerMoreAction2.INSTANCE = new LexerMoreAction2();
14357
- })(LexerMoreAction$1 = exports$1.LexerMoreAction || (exports$1.LexerMoreAction = {}));
14360
+ })(LexerMoreAction$1 = exports2.LexerMoreAction || (exports2.LexerMoreAction = {}));
14358
14361
  })(LexerMoreAction);
14359
14362
  return LexerMoreAction;
14360
14363
  }
@@ -14363,7 +14366,7 @@ var hasRequiredLexerPopModeAction;
14363
14366
  function requireLexerPopModeAction() {
14364
14367
  if (hasRequiredLexerPopModeAction) return LexerPopModeAction;
14365
14368
  hasRequiredLexerPopModeAction = 1;
14366
- (function(exports$1) {
14369
+ (function(exports2) {
14367
14370
  /*!
14368
14371
  * Copyright 2016 The ANTLR Project. All rights reserved.
14369
14372
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -14379,8 +14382,8 @@ function requireLexerPopModeAction() {
14379
14382
  decorator(target, key, paramIndex);
14380
14383
  };
14381
14384
  };
14382
- Object.defineProperty(exports$1, "__esModule", { value: true });
14383
- exports$1.LexerPopModeAction = void 0;
14385
+ Object.defineProperty(exports2, "__esModule", { value: true });
14386
+ exports2.LexerPopModeAction = void 0;
14384
14387
  const MurmurHash_1 = requireMurmurHash();
14385
14388
  const Decorators_1 = requireDecorators();
14386
14389
  let LexerPopModeAction$1 = class LexerPopModeAction {
@@ -14442,10 +14445,10 @@ function requireLexerPopModeAction() {
14442
14445
  __decorate([
14443
14446
  Decorators_1.Override
14444
14447
  ], LexerPopModeAction$1.prototype, "toString", null);
14445
- exports$1.LexerPopModeAction = LexerPopModeAction$1;
14448
+ exports2.LexerPopModeAction = LexerPopModeAction$1;
14446
14449
  (function(LexerPopModeAction2) {
14447
14450
  LexerPopModeAction2.INSTANCE = new LexerPopModeAction2();
14448
- })(LexerPopModeAction$1 = exports$1.LexerPopModeAction || (exports$1.LexerPopModeAction = {}));
14451
+ })(LexerPopModeAction$1 = exports2.LexerPopModeAction || (exports2.LexerPopModeAction = {}));
14449
14452
  })(LexerPopModeAction);
14450
14453
  return LexerPopModeAction;
14451
14454
  }
@@ -14557,7 +14560,7 @@ var hasRequiredLexerSkipAction;
14557
14560
  function requireLexerSkipAction() {
14558
14561
  if (hasRequiredLexerSkipAction) return LexerSkipAction;
14559
14562
  hasRequiredLexerSkipAction = 1;
14560
- (function(exports$1) {
14563
+ (function(exports2) {
14561
14564
  /*!
14562
14565
  * Copyright 2016 The ANTLR Project. All rights reserved.
14563
14566
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -14573,8 +14576,8 @@ function requireLexerSkipAction() {
14573
14576
  decorator(target, key, paramIndex);
14574
14577
  };
14575
14578
  };
14576
- Object.defineProperty(exports$1, "__esModule", { value: true });
14577
- exports$1.LexerSkipAction = void 0;
14579
+ Object.defineProperty(exports2, "__esModule", { value: true });
14580
+ exports2.LexerSkipAction = void 0;
14578
14581
  const MurmurHash_1 = requireMurmurHash();
14579
14582
  const Decorators_1 = requireDecorators();
14580
14583
  let LexerSkipAction$1 = class LexerSkipAction {
@@ -14636,10 +14639,10 @@ function requireLexerSkipAction() {
14636
14639
  __decorate([
14637
14640
  Decorators_1.Override
14638
14641
  ], LexerSkipAction$1.prototype, "toString", null);
14639
- exports$1.LexerSkipAction = LexerSkipAction$1;
14642
+ exports2.LexerSkipAction = LexerSkipAction$1;
14640
14643
  (function(LexerSkipAction2) {
14641
14644
  LexerSkipAction2.INSTANCE = new LexerSkipAction2();
14642
- })(LexerSkipAction$1 = exports$1.LexerSkipAction || (exports$1.LexerSkipAction = {}));
14645
+ })(LexerSkipAction$1 = exports2.LexerSkipAction || (exports2.LexerSkipAction = {}));
14643
14646
  })(LexerSkipAction);
14644
14647
  return LexerSkipAction;
14645
14648
  }
@@ -15677,7 +15680,7 @@ var hasRequiredPredictionMode;
15677
15680
  function requirePredictionMode() {
15678
15681
  if (hasRequiredPredictionMode) return PredictionMode;
15679
15682
  hasRequiredPredictionMode = 1;
15680
- (function(exports$1) {
15683
+ (function(exports2) {
15681
15684
  /*!
15682
15685
  * Copyright 2016 The ANTLR Project. All rights reserved.
15683
15686
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -15688,8 +15691,8 @@ function requirePredictionMode() {
15688
15691
  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;
15689
15692
  return c > 3 && r && Object.defineProperty(target, key, r), r;
15690
15693
  };
15691
- Object.defineProperty(exports$1, "__esModule", { value: true });
15692
- exports$1.PredictionMode = void 0;
15694
+ Object.defineProperty(exports2, "__esModule", { value: true });
15695
+ exports2.PredictionMode = void 0;
15693
15696
  const Array2DHashMap_1 = requireArray2DHashMap();
15694
15697
  const MurmurHash_1 = requireMurmurHash();
15695
15698
  const Decorators_1 = requireDecorators();
@@ -15698,7 +15701,7 @@ function requirePredictionMode() {
15698
15701
  PredictionMode2[PredictionMode2["SLL"] = 0] = "SLL";
15699
15702
  PredictionMode2[PredictionMode2["LL"] = 1] = "LL";
15700
15703
  PredictionMode2[PredictionMode2["LL_EXACT_AMBIG_DETECTION"] = 2] = "LL_EXACT_AMBIG_DETECTION";
15701
- })(exports$1.PredictionMode || (exports$1.PredictionMode = {}));
15704
+ })(exports2.PredictionMode || (exports2.PredictionMode = {}));
15702
15705
  (function(PredictionMode2) {
15703
15706
  class AltAndContextMap extends Array2DHashMap_1.Array2DHashMap {
15704
15707
  constructor() {
@@ -15754,7 +15757,7 @@ function requirePredictionMode() {
15754
15757
  return true;
15755
15758
  }
15756
15759
  PredictionMode2.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
15757
- })(exports$1.PredictionMode || (exports$1.PredictionMode = {}));
15760
+ })(exports2.PredictionMode || (exports2.PredictionMode = {}));
15758
15761
  })(PredictionMode);
15759
15762
  return PredictionMode;
15760
15763
  }
@@ -19203,13 +19206,13 @@ var hasRequiredCodePointBuffer;
19203
19206
  function requireCodePointBuffer() {
19204
19207
  if (hasRequiredCodePointBuffer) return CodePointBuffer;
19205
19208
  hasRequiredCodePointBuffer = 1;
19206
- (function(exports$1) {
19209
+ (function(exports2) {
19207
19210
  /*!
19208
19211
  * Copyright 2016 The ANTLR Project. All rights reserved.
19209
19212
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
19210
19213
  */
19211
- Object.defineProperty(exports$1, "__esModule", { value: true });
19212
- exports$1.CodePointBuffer = void 0;
19214
+ Object.defineProperty(exports2, "__esModule", { value: true });
19215
+ exports2.CodePointBuffer = void 0;
19213
19216
  const assert2 = requireAssert();
19214
19217
  const Character2 = requireCharacter();
19215
19218
  class CodePointBuffer2 {
@@ -19243,7 +19246,7 @@ function requireCodePointBuffer() {
19243
19246
  return new CodePointBuffer2.Builder(initialBufferSize);
19244
19247
  }
19245
19248
  }
19246
- exports$1.CodePointBuffer = CodePointBuffer2;
19249
+ exports2.CodePointBuffer = CodePointBuffer2;
19247
19250
  (function(CodePointBuffer3) {
19248
19251
  let Type;
19249
19252
  (function(Type2) {
@@ -19420,7 +19423,7 @@ function requireCodePointBuffer() {
19420
19423
  }
19421
19424
  }
19422
19425
  CodePointBuffer3.Builder = Builder;
19423
- })(CodePointBuffer2 = exports$1.CodePointBuffer || (exports$1.CodePointBuffer = {}));
19426
+ })(CodePointBuffer2 = exports2.CodePointBuffer || (exports2.CodePointBuffer = {}));
19424
19427
  })(CodePointBuffer);
19425
19428
  return CodePointBuffer;
19426
19429
  }
@@ -19560,13 +19563,13 @@ var hasRequiredCharStreams;
19560
19563
  function requireCharStreams() {
19561
19564
  if (hasRequiredCharStreams) return CharStreams;
19562
19565
  hasRequiredCharStreams = 1;
19563
- (function(exports$1) {
19566
+ (function(exports2) {
19564
19567
  /*!
19565
19568
  * Copyright 2016 The ANTLR Project. All rights reserved.
19566
19569
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
19567
19570
  */
19568
- Object.defineProperty(exports$1, "__esModule", { value: true });
19569
- exports$1.CharStreams = void 0;
19571
+ Object.defineProperty(exports2, "__esModule", { value: true });
19572
+ exports2.CharStreams = void 0;
19570
19573
  const CodePointBuffer_1 = requireCodePointBuffer();
19571
19574
  const CodePointCharStream_1 = requireCodePointCharStream();
19572
19575
  const IntStream_1 = requireIntStream();
@@ -19584,7 +19587,7 @@ function requireCharStreams() {
19584
19587
  return CodePointCharStream_1.CodePointCharStream.fromBuffer(codePointBufferBuilder.build(), sourceName);
19585
19588
  }
19586
19589
  CharStreams2.fromString = fromString;
19587
- })(exports$1.CharStreams || (exports$1.CharStreams = {}));
19590
+ })(exports2.CharStreams || (exports2.CharStreams = {}));
19588
19591
  })(CharStreams);
19589
19592
  return CharStreams;
19590
19593
  }
@@ -22176,7 +22179,7 @@ var hasRequiredParseTreePatternMatcher;
22176
22179
  function requireParseTreePatternMatcher() {
22177
22180
  if (hasRequiredParseTreePatternMatcher) return ParseTreePatternMatcher;
22178
22181
  hasRequiredParseTreePatternMatcher = 1;
22179
- (function(exports$1) {
22182
+ (function(exports2) {
22180
22183
  /*!
22181
22184
  * Copyright 2016 The ANTLR Project. All rights reserved.
22182
22185
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -22192,8 +22195,8 @@ function requireParseTreePatternMatcher() {
22192
22195
  decorator(target, key, paramIndex);
22193
22196
  };
22194
22197
  };
22195
- Object.defineProperty(exports$1, "__esModule", { value: true });
22196
- exports$1.ParseTreePatternMatcher = void 0;
22198
+ Object.defineProperty(exports2, "__esModule", { value: true });
22199
+ exports2.ParseTreePatternMatcher = void 0;
22197
22200
  const BailErrorStrategy_1 = requireBailErrorStrategy();
22198
22201
  const CharStreams_1 = requireCharStreams();
22199
22202
  const CommonTokenStream_1 = requireCommonTokenStream();
@@ -22529,7 +22532,7 @@ function requireParseTreePatternMatcher() {
22529
22532
  __param(1, Decorators_1.NotNull),
22530
22533
  __param(2, Decorators_1.NotNull)
22531
22534
  ], ParseTreePatternMatcher$1.prototype, "matchImpl", null);
22532
- exports$1.ParseTreePatternMatcher = ParseTreePatternMatcher$1;
22535
+ exports2.ParseTreePatternMatcher = ParseTreePatternMatcher$1;
22533
22536
  (function(ParseTreePatternMatcher2) {
22534
22537
  class CannotInvokeStartRule extends Error {
22535
22538
  constructor(error) {
@@ -22544,7 +22547,7 @@ function requireParseTreePatternMatcher() {
22544
22547
  }
22545
22548
  }
22546
22549
  ParseTreePatternMatcher2.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
22547
- })(ParseTreePatternMatcher$1 = exports$1.ParseTreePatternMatcher || (exports$1.ParseTreePatternMatcher = {}));
22550
+ })(ParseTreePatternMatcher$1 = exports2.ParseTreePatternMatcher || (exports2.ParseTreePatternMatcher = {}));
22548
22551
  })(ParseTreePatternMatcher);
22549
22552
  return ParseTreePatternMatcher;
22550
22553
  }
@@ -24828,13 +24831,13 @@ var hasRequiredDependents;
24828
24831
  function requireDependents() {
24829
24832
  if (hasRequiredDependents) return Dependents;
24830
24833
  hasRequiredDependents = 1;
24831
- (function(exports$1) {
24834
+ (function(exports2) {
24832
24835
  /*!
24833
24836
  * Copyright 2016 The ANTLR Project. All rights reserved.
24834
24837
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
24835
24838
  */
24836
- Object.defineProperty(exports$1, "__esModule", { value: true });
24837
- exports$1.Dependents = void 0;
24839
+ Object.defineProperty(exports2, "__esModule", { value: true });
24840
+ exports2.Dependents = void 0;
24838
24841
  (function(Dependents2) {
24839
24842
  Dependents2[Dependents2["SELF"] = 0] = "SELF";
24840
24843
  Dependents2[Dependents2["PARENTS"] = 1] = "PARENTS";
@@ -24846,7 +24849,7 @@ function requireDependents() {
24846
24849
  Dependents2[Dependents2["FOLLOWING_SIBLINGS"] = 7] = "FOLLOWING_SIBLINGS";
24847
24850
  Dependents2[Dependents2["PRECEEDING"] = 8] = "PRECEEDING";
24848
24851
  Dependents2[Dependents2["FOLLOWING"] = 9] = "FOLLOWING";
24849
- })(exports$1.Dependents || (exports$1.Dependents = {}));
24852
+ })(exports2.Dependents || (exports2.Dependents = {}));
24850
24853
  })(Dependents);
24851
24854
  return Dependents;
24852
24855
  }
@@ -25609,7 +25612,7 @@ var hasRequiredAntlr4ts;
25609
25612
  function requireAntlr4ts() {
25610
25613
  if (hasRequiredAntlr4ts) return antlr4ts;
25611
25614
  hasRequiredAntlr4ts = 1;
25612
- (function(exports$1) {
25615
+ (function(exports2) {
25613
25616
  /*!
25614
25617
  * Copyright 2016 The ANTLR Project. All rights reserved.
25615
25618
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
@@ -25623,55 +25626,55 @@ function requireAntlr4ts() {
25623
25626
  if (k2 === void 0) k2 = k;
25624
25627
  o[k2] = m[k];
25625
25628
  }));
25626
- var __exportStar = antlr4ts && antlr4ts.__exportStar || function(m, exports$12) {
25627
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$12, p)) __createBinding(exports$12, m, p);
25629
+ var __exportStar = antlr4ts && antlr4ts.__exportStar || function(m, exports3) {
25630
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
25628
25631
  };
25629
- Object.defineProperty(exports$1, "__esModule", { value: true });
25630
- __exportStar(requireANTLRErrorListener(), exports$1);
25631
- __exportStar(requireANTLRErrorStrategy(), exports$1);
25632
- __exportStar(requireANTLRInputStream(), exports$1);
25633
- __exportStar(requireBailErrorStrategy(), exports$1);
25634
- __exportStar(requireBufferedTokenStream(), exports$1);
25635
- __exportStar(requireCharStream(), exports$1);
25636
- __exportStar(requireCharStreams(), exports$1);
25637
- __exportStar(requireCodePointBuffer(), exports$1);
25638
- __exportStar(requireCodePointCharStream(), exports$1);
25639
- __exportStar(requireCommonToken(), exports$1);
25640
- __exportStar(requireCommonTokenFactory(), exports$1);
25641
- __exportStar(requireCommonTokenStream(), exports$1);
25642
- __exportStar(requireConsoleErrorListener(), exports$1);
25643
- __exportStar(requireDefaultErrorStrategy(), exports$1);
25644
- __exportStar(requireDependents(), exports$1);
25645
- __exportStar(requireDiagnosticErrorListener(), exports$1);
25646
- __exportStar(requireFailedPredicateException(), exports$1);
25647
- __exportStar(requireInputMismatchException(), exports$1);
25648
- __exportStar(requireInterpreterRuleContext(), exports$1);
25649
- __exportStar(requireIntStream(), exports$1);
25650
- __exportStar(requireLexer(), exports$1);
25651
- __exportStar(requireLexerInterpreter(), exports$1);
25652
- __exportStar(requireLexerNoViableAltException(), exports$1);
25653
- __exportStar(requireListTokenSource(), exports$1);
25654
- __exportStar(requireNoViableAltException(), exports$1);
25655
- __exportStar(requireParser(), exports$1);
25656
- __exportStar(requireParserErrorListener(), exports$1);
25657
- __exportStar(requireParserInterpreter(), exports$1);
25658
- __exportStar(requireParserRuleContext(), exports$1);
25659
- __exportStar(requireProxyErrorListener(), exports$1);
25660
- __exportStar(requireProxyParserErrorListener(), exports$1);
25661
- __exportStar(requireRecognitionException(), exports$1);
25662
- __exportStar(requireRecognizer(), exports$1);
25663
- __exportStar(requireRuleContext(), exports$1);
25664
- __exportStar(requireRuleContextWithAltNum(), exports$1);
25665
- __exportStar(requireRuleDependency(), exports$1);
25666
- __exportStar(requireRuleVersion(), exports$1);
25667
- __exportStar(requireToken(), exports$1);
25668
- __exportStar(requireTokenFactory(), exports$1);
25669
- __exportStar(requireTokenSource(), exports$1);
25670
- __exportStar(requireTokenStream(), exports$1);
25671
- __exportStar(requireTokenStreamRewriter(), exports$1);
25672
- __exportStar(requireVocabulary(), exports$1);
25673
- __exportStar(requireVocabularyImpl(), exports$1);
25674
- __exportStar(requireWritableToken(), exports$1);
25632
+ Object.defineProperty(exports2, "__esModule", { value: true });
25633
+ __exportStar(requireANTLRErrorListener(), exports2);
25634
+ __exportStar(requireANTLRErrorStrategy(), exports2);
25635
+ __exportStar(requireANTLRInputStream(), exports2);
25636
+ __exportStar(requireBailErrorStrategy(), exports2);
25637
+ __exportStar(requireBufferedTokenStream(), exports2);
25638
+ __exportStar(requireCharStream(), exports2);
25639
+ __exportStar(requireCharStreams(), exports2);
25640
+ __exportStar(requireCodePointBuffer(), exports2);
25641
+ __exportStar(requireCodePointCharStream(), exports2);
25642
+ __exportStar(requireCommonToken(), exports2);
25643
+ __exportStar(requireCommonTokenFactory(), exports2);
25644
+ __exportStar(requireCommonTokenStream(), exports2);
25645
+ __exportStar(requireConsoleErrorListener(), exports2);
25646
+ __exportStar(requireDefaultErrorStrategy(), exports2);
25647
+ __exportStar(requireDependents(), exports2);
25648
+ __exportStar(requireDiagnosticErrorListener(), exports2);
25649
+ __exportStar(requireFailedPredicateException(), exports2);
25650
+ __exportStar(requireInputMismatchException(), exports2);
25651
+ __exportStar(requireInterpreterRuleContext(), exports2);
25652
+ __exportStar(requireIntStream(), exports2);
25653
+ __exportStar(requireLexer(), exports2);
25654
+ __exportStar(requireLexerInterpreter(), exports2);
25655
+ __exportStar(requireLexerNoViableAltException(), exports2);
25656
+ __exportStar(requireListTokenSource(), exports2);
25657
+ __exportStar(requireNoViableAltException(), exports2);
25658
+ __exportStar(requireParser(), exports2);
25659
+ __exportStar(requireParserErrorListener(), exports2);
25660
+ __exportStar(requireParserInterpreter(), exports2);
25661
+ __exportStar(requireParserRuleContext(), exports2);
25662
+ __exportStar(requireProxyErrorListener(), exports2);
25663
+ __exportStar(requireProxyParserErrorListener(), exports2);
25664
+ __exportStar(requireRecognitionException(), exports2);
25665
+ __exportStar(requireRecognizer(), exports2);
25666
+ __exportStar(requireRuleContext(), exports2);
25667
+ __exportStar(requireRuleContextWithAltNum(), exports2);
25668
+ __exportStar(requireRuleDependency(), exports2);
25669
+ __exportStar(requireRuleVersion(), exports2);
25670
+ __exportStar(requireToken(), exports2);
25671
+ __exportStar(requireTokenFactory(), exports2);
25672
+ __exportStar(requireTokenSource(), exports2);
25673
+ __exportStar(requireTokenStream(), exports2);
25674
+ __exportStar(requireTokenStreamRewriter(), exports2);
25675
+ __exportStar(requireVocabulary(), exports2);
25676
+ __exportStar(requireVocabularyImpl(), exports2);
25677
+ __exportStar(requireWritableToken(), exports2);
25675
25678
  })(antlr4ts);
25676
25679
  return antlr4ts;
25677
25680
  }
@@ -54231,12 +54234,10 @@ function normaliseDottedExpression(node, src) {
54231
54234
  return {
54232
54235
  ...node,
54233
54236
  source: normaliseSubExpression(node.source, src),
54234
- attributes: node.attributes.map(
54235
- (a) => ({
54236
- ...a,
54237
- attributeName: normaliseSubExpression(a.attributeName, src)
54238
- })
54239
- )
54237
+ attributes: node.attributes.map((a) => ({
54238
+ ...a,
54239
+ attributeName: normaliseSubExpression(a.attributeName, src)
54240
+ }))
54240
54241
  };
54241
54242
  }
54242
54243
  function stripTerm(node) {
@@ -54455,7 +54456,12 @@ function formatExpressionBody(text, options, ast) {
54455
54456
  const nonDelimiterComments = comments.filter((c) => c.content.trim() !== "/* ECL-END */");
54456
54457
  let formatted = normalizeFilterBlocks(textWithoutComments);
54457
54458
  formatted = formatted.replace(
54458
- // eslint-disable-next-line sonarjs/slow-regex -- bounded ECL expression text; no ReDoS risk
54459
+ // Bounded ECL expression text; no ReDoS risk.
54460
+ // Measured quadratic in the length of a contiguous whitespace run, not exponential.
54461
+ // Realistic ECL has no such runs: 500 expressions (43 KB) format in ~47 ms, while only a
54462
+ // synthetic 32 K-char whitespace run reaches ~2.6 s. The input is the document the user
54463
+ // opened, not untrusted network data.
54464
+ // eslint-disable-next-line sonarjs/super-linear-regex -- see note above
54459
54465
  new RegExp("(\\S?)(?<![A-Za-z])\\s*(AND|OR|MINUS)\\s*(?![A-Za-z])(\\S?)", "g"),
54460
54466
  (_match, before, op, after) => {
54461
54467
  const formattedOp = ` ${op} `;
@@ -56485,14 +56491,12 @@ async function getFhirFilterCompletions(keyword, terminologyService) {
56485
56491
  }
56486
56492
  try {
56487
56493
  const response = await terminologyService.evaluateEcl(ecl, EXPANSION_LIMIT);
56488
- const items = response.concepts.map(
56489
- (concept, index) => ({
56490
- label: `${concept.code} |${concept.display}|`,
56491
- kind: "value",
56492
- detail: concept.display,
56493
- sortText: `e-${(20 + index).toString().padStart(3, "0")}`
56494
- })
56495
- );
56494
+ const items = response.concepts.map((concept, index) => ({
56495
+ label: `${concept.code} |${concept.display}|`,
56496
+ kind: "value",
56497
+ detail: concept.display,
56498
+ sortText: `e-${(20 + index).toString().padStart(3, "0")}`
56499
+ }));
56496
56500
  cache.set(key, { items, timestamp: Date.now() });
56497
56501
  return items;
56498
56502
  } catch {