doc-render-sdk 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,8 +1,6 @@
1
1
  import React, { useEffect, useMemo, useRef, useState } from "react";
2
2
  import ReactDOM from "react-dom";
3
- import EventTarget from "mini-event/EventTarget";
4
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import { cloneDeep, get, merge, set } from "lodash-es";
6
4
 
7
5
  //#region src/components/Navigation.tsx
8
6
  const Navigation = ({ config, theme, currentRoute, componentRegistry, onNavigate, compact = false }) => {
@@ -1231,8 +1229,8 @@ var ComponentRegistry = class {
1231
1229
  try {
1232
1230
  const demoPath = `../components/${componentId}/demo/${demo.source}`;
1233
1231
  console.log({ demoPath });
1234
- const module = await import(demoPath);
1235
- return module.default || module;
1232
+ const module$1 = await import(demoPath);
1233
+ return module$1.default || module$1;
1236
1234
  } catch (error) {
1237
1235
  const globalDemo = window.__DOC_SDK_DEMOS__?.[componentId]?.[demo.source];
1238
1236
  if (globalDemo) return globalDemo;
@@ -1285,8 +1283,8 @@ var ComponentRegistry = class {
1285
1283
  console.log(globalApiData, "globalApiData");
1286
1284
  if (globalApiData) return globalApiData;
1287
1285
  const apiPath = `../components/${componentId}/api`;
1288
- const module = await import(apiPath);
1289
- const apiData = module.default || module;
1286
+ const module$1 = await import(apiPath);
1287
+ const apiData = module$1.default || module$1;
1290
1288
  return apiData[api.apiKey] || [];
1291
1289
  } catch (error) {
1292
1290
  console.error(`Failed to load API data: ${componentId}/${api.apiKey}`, error);
@@ -1364,7 +1362,7 @@ var ComponentRegistry = class {
1364
1362
 
1365
1363
  //#endregion
1366
1364
  //#region src/core/DocRenderer.ts
1367
- var DocRenderer = class extends EventTarget {
1365
+ var DocRenderer = class {
1368
1366
  configManager;
1369
1367
  themeManager;
1370
1368
  pluginManager;
@@ -1373,7 +1371,6 @@ var DocRenderer = class extends EventTarget {
1373
1371
  targetElement;
1374
1372
  isRendered;
1375
1373
  constructor({ configManager, themeManager, pluginManager }) {
1376
- super();
1377
1374
  this.configManager = configManager;
1378
1375
  this.themeManager = themeManager;
1379
1376
  this.pluginManager = pluginManager;
@@ -1478,6 +1475,3057 @@ var DocRenderer = class extends EventTarget {
1478
1475
  }
1479
1476
  };
1480
1477
 
1478
+ //#endregion
1479
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js
1480
+ /** Detect free variable `global` from Node.js. */
1481
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
1482
+ var _freeGlobal_default = freeGlobal;
1483
+
1484
+ //#endregion
1485
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js
1486
+ /** Detect free variable `self`. */
1487
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
1488
+ /** Used as a reference to the global object. */
1489
+ var root = _freeGlobal_default || freeSelf || Function("return this")();
1490
+ var _root_default = root;
1491
+
1492
+ //#endregion
1493
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js
1494
+ /** Built-in value references. */
1495
+ var Symbol = _root_default.Symbol;
1496
+ var _Symbol_default = Symbol;
1497
+
1498
+ //#endregion
1499
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js
1500
+ /** Used for built-in method references. */
1501
+ var objectProto$13 = Object.prototype;
1502
+ /** Used to check objects for own properties. */
1503
+ var hasOwnProperty$10 = objectProto$13.hasOwnProperty;
1504
+ /**
1505
+ * Used to resolve the
1506
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1507
+ * of values.
1508
+ */
1509
+ var nativeObjectToString$1 = objectProto$13.toString;
1510
+ /** Built-in value references. */
1511
+ var symToStringTag$1 = _Symbol_default ? _Symbol_default.toStringTag : void 0;
1512
+ /**
1513
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
1514
+ *
1515
+ * @private
1516
+ * @param {*} value The value to query.
1517
+ * @returns {string} Returns the raw `toStringTag`.
1518
+ */
1519
+ function getRawTag(value) {
1520
+ var isOwn = hasOwnProperty$10.call(value, symToStringTag$1), tag = value[symToStringTag$1];
1521
+ try {
1522
+ value[symToStringTag$1] = void 0;
1523
+ var unmasked = true;
1524
+ } catch (e) {}
1525
+ var result = nativeObjectToString$1.call(value);
1526
+ if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
1527
+ else delete value[symToStringTag$1];
1528
+ return result;
1529
+ }
1530
+ var _getRawTag_default = getRawTag;
1531
+
1532
+ //#endregion
1533
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js
1534
+ /** Used for built-in method references. */
1535
+ var objectProto$12 = Object.prototype;
1536
+ /**
1537
+ * Used to resolve the
1538
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1539
+ * of values.
1540
+ */
1541
+ var nativeObjectToString = objectProto$12.toString;
1542
+ /**
1543
+ * Converts `value` to a string using `Object.prototype.toString`.
1544
+ *
1545
+ * @private
1546
+ * @param {*} value The value to convert.
1547
+ * @returns {string} Returns the converted string.
1548
+ */
1549
+ function objectToString(value) {
1550
+ return nativeObjectToString.call(value);
1551
+ }
1552
+ var _objectToString_default = objectToString;
1553
+
1554
+ //#endregion
1555
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js
1556
+ /** `Object#toString` result references. */
1557
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
1558
+ /** Built-in value references. */
1559
+ var symToStringTag = _Symbol_default ? _Symbol_default.toStringTag : void 0;
1560
+ /**
1561
+ * The base implementation of `getTag` without fallbacks for buggy environments.
1562
+ *
1563
+ * @private
1564
+ * @param {*} value The value to query.
1565
+ * @returns {string} Returns the `toStringTag`.
1566
+ */
1567
+ function baseGetTag(value) {
1568
+ if (value == null) return value === void 0 ? undefinedTag : nullTag;
1569
+ return symToStringTag && symToStringTag in Object(value) ? _getRawTag_default(value) : _objectToString_default(value);
1570
+ }
1571
+ var _baseGetTag_default = baseGetTag;
1572
+
1573
+ //#endregion
1574
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js
1575
+ /**
1576
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1577
+ * and has a `typeof` result of "object".
1578
+ *
1579
+ * @static
1580
+ * @memberOf _
1581
+ * @since 4.0.0
1582
+ * @category Lang
1583
+ * @param {*} value The value to check.
1584
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1585
+ * @example
1586
+ *
1587
+ * _.isObjectLike({});
1588
+ * // => true
1589
+ *
1590
+ * _.isObjectLike([1, 2, 3]);
1591
+ * // => true
1592
+ *
1593
+ * _.isObjectLike(_.noop);
1594
+ * // => false
1595
+ *
1596
+ * _.isObjectLike(null);
1597
+ * // => false
1598
+ */
1599
+ function isObjectLike(value) {
1600
+ return value != null && typeof value == "object";
1601
+ }
1602
+ var isObjectLike_default = isObjectLike;
1603
+
1604
+ //#endregion
1605
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js
1606
+ /** `Object#toString` result references. */
1607
+ var symbolTag$2 = "[object Symbol]";
1608
+ /**
1609
+ * Checks if `value` is classified as a `Symbol` primitive or object.
1610
+ *
1611
+ * @static
1612
+ * @memberOf _
1613
+ * @since 4.0.0
1614
+ * @category Lang
1615
+ * @param {*} value The value to check.
1616
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
1617
+ * @example
1618
+ *
1619
+ * _.isSymbol(Symbol.iterator);
1620
+ * // => true
1621
+ *
1622
+ * _.isSymbol('abc');
1623
+ * // => false
1624
+ */
1625
+ function isSymbol(value) {
1626
+ return typeof value == "symbol" || isObjectLike_default(value) && _baseGetTag_default(value) == symbolTag$2;
1627
+ }
1628
+ var isSymbol_default = isSymbol;
1629
+
1630
+ //#endregion
1631
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.js
1632
+ /**
1633
+ * A specialized version of `_.map` for arrays without support for iteratee
1634
+ * shorthands.
1635
+ *
1636
+ * @private
1637
+ * @param {Array} [array] The array to iterate over.
1638
+ * @param {Function} iteratee The function invoked per iteration.
1639
+ * @returns {Array} Returns the new mapped array.
1640
+ */
1641
+ function arrayMap(array, iteratee) {
1642
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
1643
+ while (++index < length) result[index] = iteratee(array[index], index, array);
1644
+ return result;
1645
+ }
1646
+ var _arrayMap_default = arrayMap;
1647
+
1648
+ //#endregion
1649
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js
1650
+ /**
1651
+ * Checks if `value` is classified as an `Array` object.
1652
+ *
1653
+ * @static
1654
+ * @memberOf _
1655
+ * @since 0.1.0
1656
+ * @category Lang
1657
+ * @param {*} value The value to check.
1658
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1659
+ * @example
1660
+ *
1661
+ * _.isArray([1, 2, 3]);
1662
+ * // => true
1663
+ *
1664
+ * _.isArray(document.body.children);
1665
+ * // => false
1666
+ *
1667
+ * _.isArray('abc');
1668
+ * // => false
1669
+ *
1670
+ * _.isArray(_.noop);
1671
+ * // => false
1672
+ */
1673
+ var isArray = Array.isArray;
1674
+ var isArray_default = isArray;
1675
+
1676
+ //#endregion
1677
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.js
1678
+ /** Used as references for various `Number` constants. */
1679
+ var INFINITY$1 = Infinity;
1680
+ /** Used to convert symbols to primitives and strings. */
1681
+ var symbolProto$1 = _Symbol_default ? _Symbol_default.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
1682
+ /**
1683
+ * The base implementation of `_.toString` which doesn't convert nullish
1684
+ * values to empty strings.
1685
+ *
1686
+ * @private
1687
+ * @param {*} value The value to process.
1688
+ * @returns {string} Returns the string.
1689
+ */
1690
+ function baseToString(value) {
1691
+ if (typeof value == "string") return value;
1692
+ if (isArray_default(value)) return _arrayMap_default(value, baseToString) + "";
1693
+ if (isSymbol_default(value)) return symbolToString ? symbolToString.call(value) : "";
1694
+ var result = value + "";
1695
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
1696
+ }
1697
+ var _baseToString_default = baseToString;
1698
+
1699
+ //#endregion
1700
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js
1701
+ /**
1702
+ * Checks if `value` is the
1703
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1704
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1705
+ *
1706
+ * @static
1707
+ * @memberOf _
1708
+ * @since 0.1.0
1709
+ * @category Lang
1710
+ * @param {*} value The value to check.
1711
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1712
+ * @example
1713
+ *
1714
+ * _.isObject({});
1715
+ * // => true
1716
+ *
1717
+ * _.isObject([1, 2, 3]);
1718
+ * // => true
1719
+ *
1720
+ * _.isObject(_.noop);
1721
+ * // => true
1722
+ *
1723
+ * _.isObject(null);
1724
+ * // => false
1725
+ */
1726
+ function isObject(value) {
1727
+ var type = typeof value;
1728
+ return value != null && (type == "object" || type == "function");
1729
+ }
1730
+ var isObject_default = isObject;
1731
+
1732
+ //#endregion
1733
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js
1734
+ /**
1735
+ * This method returns the first argument it receives.
1736
+ *
1737
+ * @static
1738
+ * @since 0.1.0
1739
+ * @memberOf _
1740
+ * @category Util
1741
+ * @param {*} value Any value.
1742
+ * @returns {*} Returns `value`.
1743
+ * @example
1744
+ *
1745
+ * var object = { 'a': 1 };
1746
+ *
1747
+ * console.log(_.identity(object) === object);
1748
+ * // => true
1749
+ */
1750
+ function identity(value) {
1751
+ return value;
1752
+ }
1753
+ var identity_default = identity;
1754
+
1755
+ //#endregion
1756
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js
1757
+ /** `Object#toString` result references. */
1758
+ var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
1759
+ /**
1760
+ * Checks if `value` is classified as a `Function` object.
1761
+ *
1762
+ * @static
1763
+ * @memberOf _
1764
+ * @since 0.1.0
1765
+ * @category Lang
1766
+ * @param {*} value The value to check.
1767
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1768
+ * @example
1769
+ *
1770
+ * _.isFunction(_);
1771
+ * // => true
1772
+ *
1773
+ * _.isFunction(/abc/);
1774
+ * // => false
1775
+ */
1776
+ function isFunction(value) {
1777
+ if (!isObject_default(value)) return false;
1778
+ var tag = _baseGetTag_default(value);
1779
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
1780
+ }
1781
+ var isFunction_default = isFunction;
1782
+
1783
+ //#endregion
1784
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js
1785
+ /** Used to detect overreaching core-js shims. */
1786
+ var coreJsData = _root_default["__core-js_shared__"];
1787
+ var _coreJsData_default = coreJsData;
1788
+
1789
+ //#endregion
1790
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js
1791
+ /** Used to detect methods masquerading as native. */
1792
+ var maskSrcKey = function() {
1793
+ var uid = /[^.]+$/.exec(_coreJsData_default && _coreJsData_default.keys && _coreJsData_default.keys.IE_PROTO || "");
1794
+ return uid ? "Symbol(src)_1." + uid : "";
1795
+ }();
1796
+ /**
1797
+ * Checks if `func` has its source masked.
1798
+ *
1799
+ * @private
1800
+ * @param {Function} func The function to check.
1801
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1802
+ */
1803
+ function isMasked(func) {
1804
+ return !!maskSrcKey && maskSrcKey in func;
1805
+ }
1806
+ var _isMasked_default = isMasked;
1807
+
1808
+ //#endregion
1809
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js
1810
+ /** Used for built-in method references. */
1811
+ var funcProto$2 = Function.prototype;
1812
+ /** Used to resolve the decompiled source of functions. */
1813
+ var funcToString$2 = funcProto$2.toString;
1814
+ /**
1815
+ * Converts `func` to its source code.
1816
+ *
1817
+ * @private
1818
+ * @param {Function} func The function to convert.
1819
+ * @returns {string} Returns the source code.
1820
+ */
1821
+ function toSource(func) {
1822
+ if (func != null) {
1823
+ try {
1824
+ return funcToString$2.call(func);
1825
+ } catch (e) {}
1826
+ try {
1827
+ return func + "";
1828
+ } catch (e) {}
1829
+ }
1830
+ return "";
1831
+ }
1832
+ var _toSource_default = toSource;
1833
+
1834
+ //#endregion
1835
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js
1836
+ /**
1837
+ * Used to match `RegExp`
1838
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
1839
+ */
1840
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
1841
+ /** Used to detect host constructors (Safari). */
1842
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
1843
+ /** Used for built-in method references. */
1844
+ var funcProto$1 = Function.prototype, objectProto$11 = Object.prototype;
1845
+ /** Used to resolve the decompiled source of functions. */
1846
+ var funcToString$1 = funcProto$1.toString;
1847
+ /** Used to check objects for own properties. */
1848
+ var hasOwnProperty$9 = objectProto$11.hasOwnProperty;
1849
+ /** Used to detect if a method is native. */
1850
+ var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
1851
+ /**
1852
+ * The base implementation of `_.isNative` without bad shim checks.
1853
+ *
1854
+ * @private
1855
+ * @param {*} value The value to check.
1856
+ * @returns {boolean} Returns `true` if `value` is a native function,
1857
+ * else `false`.
1858
+ */
1859
+ function baseIsNative(value) {
1860
+ if (!isObject_default(value) || _isMasked_default(value)) return false;
1861
+ var pattern = isFunction_default(value) ? reIsNative : reIsHostCtor;
1862
+ return pattern.test(_toSource_default(value));
1863
+ }
1864
+ var _baseIsNative_default = baseIsNative;
1865
+
1866
+ //#endregion
1867
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js
1868
+ /**
1869
+ * Gets the value at `key` of `object`.
1870
+ *
1871
+ * @private
1872
+ * @param {Object} [object] The object to query.
1873
+ * @param {string} key The key of the property to get.
1874
+ * @returns {*} Returns the property value.
1875
+ */
1876
+ function getValue(object, key) {
1877
+ return object == null ? void 0 : object[key];
1878
+ }
1879
+ var _getValue_default = getValue;
1880
+
1881
+ //#endregion
1882
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js
1883
+ /**
1884
+ * Gets the native function at `key` of `object`.
1885
+ *
1886
+ * @private
1887
+ * @param {Object} object The object to query.
1888
+ * @param {string} key The key of the method to get.
1889
+ * @returns {*} Returns the function if it's native, else `undefined`.
1890
+ */
1891
+ function getNative(object, key) {
1892
+ var value = _getValue_default(object, key);
1893
+ return _baseIsNative_default(value) ? value : void 0;
1894
+ }
1895
+ var _getNative_default = getNative;
1896
+
1897
+ //#endregion
1898
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js
1899
+ var WeakMap = _getNative_default(_root_default, "WeakMap");
1900
+ var _WeakMap_default = WeakMap;
1901
+
1902
+ //#endregion
1903
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js
1904
+ /** Built-in value references. */
1905
+ var objectCreate = Object.create;
1906
+ /**
1907
+ * The base implementation of `_.create` without support for assigning
1908
+ * properties to the created object.
1909
+ *
1910
+ * @private
1911
+ * @param {Object} proto The object to inherit from.
1912
+ * @returns {Object} Returns the new object.
1913
+ */
1914
+ var baseCreate = function() {
1915
+ function object() {}
1916
+ return function(proto) {
1917
+ if (!isObject_default(proto)) return {};
1918
+ if (objectCreate) return objectCreate(proto);
1919
+ object.prototype = proto;
1920
+ var result = new object();
1921
+ object.prototype = void 0;
1922
+ return result;
1923
+ };
1924
+ }();
1925
+ var _baseCreate_default = baseCreate;
1926
+
1927
+ //#endregion
1928
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.js
1929
+ /**
1930
+ * A faster alternative to `Function#apply`, this function invokes `func`
1931
+ * with the `this` binding of `thisArg` and the arguments of `args`.
1932
+ *
1933
+ * @private
1934
+ * @param {Function} func The function to invoke.
1935
+ * @param {*} thisArg The `this` binding of `func`.
1936
+ * @param {Array} args The arguments to invoke `func` with.
1937
+ * @returns {*} Returns the result of `func`.
1938
+ */
1939
+ function apply(func, thisArg, args) {
1940
+ switch (args.length) {
1941
+ case 0: return func.call(thisArg);
1942
+ case 1: return func.call(thisArg, args[0]);
1943
+ case 2: return func.call(thisArg, args[0], args[1]);
1944
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
1945
+ }
1946
+ return func.apply(thisArg, args);
1947
+ }
1948
+ var _apply_default = apply;
1949
+
1950
+ //#endregion
1951
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js
1952
+ /**
1953
+ * Copies the values of `source` to `array`.
1954
+ *
1955
+ * @private
1956
+ * @param {Array} source The array to copy values from.
1957
+ * @param {Array} [array=[]] The array to copy values to.
1958
+ * @returns {Array} Returns `array`.
1959
+ */
1960
+ function copyArray(source, array) {
1961
+ var index = -1, length = source.length;
1962
+ array || (array = Array(length));
1963
+ while (++index < length) array[index] = source[index];
1964
+ return array;
1965
+ }
1966
+ var _copyArray_default = copyArray;
1967
+
1968
+ //#endregion
1969
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.js
1970
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
1971
+ var HOT_COUNT = 800, HOT_SPAN = 16;
1972
+ var nativeNow = Date.now;
1973
+ /**
1974
+ * Creates a function that'll short out and invoke `identity` instead
1975
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
1976
+ * milliseconds.
1977
+ *
1978
+ * @private
1979
+ * @param {Function} func The function to restrict.
1980
+ * @returns {Function} Returns the new shortable function.
1981
+ */
1982
+ function shortOut(func) {
1983
+ var count = 0, lastCalled = 0;
1984
+ return function() {
1985
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
1986
+ lastCalled = stamp;
1987
+ if (remaining > 0) {
1988
+ if (++count >= HOT_COUNT) return arguments[0];
1989
+ } else count = 0;
1990
+ return func.apply(void 0, arguments);
1991
+ };
1992
+ }
1993
+ var _shortOut_default = shortOut;
1994
+
1995
+ //#endregion
1996
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.js
1997
+ /**
1998
+ * Creates a function that returns `value`.
1999
+ *
2000
+ * @static
2001
+ * @memberOf _
2002
+ * @since 2.4.0
2003
+ * @category Util
2004
+ * @param {*} value The value to return from the new function.
2005
+ * @returns {Function} Returns the new constant function.
2006
+ * @example
2007
+ *
2008
+ * var objects = _.times(2, _.constant({ 'a': 1 }));
2009
+ *
2010
+ * console.log(objects);
2011
+ * // => [{ 'a': 1 }, { 'a': 1 }]
2012
+ *
2013
+ * console.log(objects[0] === objects[1]);
2014
+ * // => true
2015
+ */
2016
+ function constant(value) {
2017
+ return function() {
2018
+ return value;
2019
+ };
2020
+ }
2021
+ var constant_default = constant;
2022
+
2023
+ //#endregion
2024
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js
2025
+ var defineProperty = function() {
2026
+ try {
2027
+ var func = _getNative_default(Object, "defineProperty");
2028
+ func({}, "", {});
2029
+ return func;
2030
+ } catch (e) {}
2031
+ }();
2032
+ var _defineProperty_default = defineProperty;
2033
+
2034
+ //#endregion
2035
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.js
2036
+ /**
2037
+ * The base implementation of `setToString` without support for hot loop shorting.
2038
+ *
2039
+ * @private
2040
+ * @param {Function} func The function to modify.
2041
+ * @param {Function} string The `toString` result.
2042
+ * @returns {Function} Returns `func`.
2043
+ */
2044
+ var baseSetToString = !_defineProperty_default ? identity_default : function(func, string) {
2045
+ return _defineProperty_default(func, "toString", {
2046
+ "configurable": true,
2047
+ "enumerable": false,
2048
+ "value": constant_default(string),
2049
+ "writable": true
2050
+ });
2051
+ };
2052
+ var _baseSetToString_default = baseSetToString;
2053
+
2054
+ //#endregion
2055
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.js
2056
+ /**
2057
+ * Sets the `toString` method of `func` to return `string`.
2058
+ *
2059
+ * @private
2060
+ * @param {Function} func The function to modify.
2061
+ * @param {Function} string The `toString` result.
2062
+ * @returns {Function} Returns `func`.
2063
+ */
2064
+ var setToString = _shortOut_default(_baseSetToString_default);
2065
+ var _setToString_default = setToString;
2066
+
2067
+ //#endregion
2068
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.js
2069
+ /**
2070
+ * A specialized version of `_.forEach` for arrays without support for
2071
+ * iteratee shorthands.
2072
+ *
2073
+ * @private
2074
+ * @param {Array} [array] The array to iterate over.
2075
+ * @param {Function} iteratee The function invoked per iteration.
2076
+ * @returns {Array} Returns `array`.
2077
+ */
2078
+ function arrayEach(array, iteratee) {
2079
+ var index = -1, length = array == null ? 0 : array.length;
2080
+ while (++index < length) if (iteratee(array[index], index, array) === false) break;
2081
+ return array;
2082
+ }
2083
+ var _arrayEach_default = arrayEach;
2084
+
2085
+ //#endregion
2086
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js
2087
+ /** Used as references for various `Number` constants. */
2088
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
2089
+ /** Used to detect unsigned integer values. */
2090
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
2091
+ /**
2092
+ * Checks if `value` is a valid array-like index.
2093
+ *
2094
+ * @private
2095
+ * @param {*} value The value to check.
2096
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
2097
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
2098
+ */
2099
+ function isIndex(value, length) {
2100
+ var type = typeof value;
2101
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
2102
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
2103
+ }
2104
+ var _isIndex_default = isIndex;
2105
+
2106
+ //#endregion
2107
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js
2108
+ /**
2109
+ * The base implementation of `assignValue` and `assignMergeValue` without
2110
+ * value checks.
2111
+ *
2112
+ * @private
2113
+ * @param {Object} object The object to modify.
2114
+ * @param {string} key The key of the property to assign.
2115
+ * @param {*} value The value to assign.
2116
+ */
2117
+ function baseAssignValue(object, key, value) {
2118
+ if (key == "__proto__" && _defineProperty_default) _defineProperty_default(object, key, {
2119
+ "configurable": true,
2120
+ "enumerable": true,
2121
+ "value": value,
2122
+ "writable": true
2123
+ });
2124
+ else object[key] = value;
2125
+ }
2126
+ var _baseAssignValue_default = baseAssignValue;
2127
+
2128
+ //#endregion
2129
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js
2130
+ /**
2131
+ * Performs a
2132
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
2133
+ * comparison between two values to determine if they are equivalent.
2134
+ *
2135
+ * @static
2136
+ * @memberOf _
2137
+ * @since 4.0.0
2138
+ * @category Lang
2139
+ * @param {*} value The value to compare.
2140
+ * @param {*} other The other value to compare.
2141
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2142
+ * @example
2143
+ *
2144
+ * var object = { 'a': 1 };
2145
+ * var other = { 'a': 1 };
2146
+ *
2147
+ * _.eq(object, object);
2148
+ * // => true
2149
+ *
2150
+ * _.eq(object, other);
2151
+ * // => false
2152
+ *
2153
+ * _.eq('a', 'a');
2154
+ * // => true
2155
+ *
2156
+ * _.eq('a', Object('a'));
2157
+ * // => false
2158
+ *
2159
+ * _.eq(NaN, NaN);
2160
+ * // => true
2161
+ */
2162
+ function eq(value, other) {
2163
+ return value === other || value !== value && other !== other;
2164
+ }
2165
+ var eq_default = eq;
2166
+
2167
+ //#endregion
2168
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js
2169
+ /** Used for built-in method references. */
2170
+ var objectProto$10 = Object.prototype;
2171
+ /** Used to check objects for own properties. */
2172
+ var hasOwnProperty$8 = objectProto$10.hasOwnProperty;
2173
+ /**
2174
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
2175
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
2176
+ * for equality comparisons.
2177
+ *
2178
+ * @private
2179
+ * @param {Object} object The object to modify.
2180
+ * @param {string} key The key of the property to assign.
2181
+ * @param {*} value The value to assign.
2182
+ */
2183
+ function assignValue(object, key, value) {
2184
+ var objValue = object[key];
2185
+ if (!(hasOwnProperty$8.call(object, key) && eq_default(objValue, value)) || value === void 0 && !(key in object)) _baseAssignValue_default(object, key, value);
2186
+ }
2187
+ var _assignValue_default = assignValue;
2188
+
2189
+ //#endregion
2190
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js
2191
+ /**
2192
+ * Copies properties of `source` to `object`.
2193
+ *
2194
+ * @private
2195
+ * @param {Object} source The object to copy properties from.
2196
+ * @param {Array} props The property identifiers to copy.
2197
+ * @param {Object} [object={}] The object to copy properties to.
2198
+ * @param {Function} [customizer] The function to customize copied values.
2199
+ * @returns {Object} Returns `object`.
2200
+ */
2201
+ function copyObject(source, props, object, customizer) {
2202
+ var isNew = !object;
2203
+ object || (object = {});
2204
+ var index = -1, length = props.length;
2205
+ while (++index < length) {
2206
+ var key = props[index];
2207
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
2208
+ if (newValue === void 0) newValue = source[key];
2209
+ if (isNew) _baseAssignValue_default(object, key, newValue);
2210
+ else _assignValue_default(object, key, newValue);
2211
+ }
2212
+ return object;
2213
+ }
2214
+ var _copyObject_default = copyObject;
2215
+
2216
+ //#endregion
2217
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.js
2218
+ var nativeMax = Math.max;
2219
+ /**
2220
+ * A specialized version of `baseRest` which transforms the rest array.
2221
+ *
2222
+ * @private
2223
+ * @param {Function} func The function to apply a rest parameter to.
2224
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
2225
+ * @param {Function} transform The rest array transform.
2226
+ * @returns {Function} Returns the new function.
2227
+ */
2228
+ function overRest(func, start, transform) {
2229
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
2230
+ return function() {
2231
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
2232
+ while (++index < length) array[index] = args[start + index];
2233
+ index = -1;
2234
+ var otherArgs = Array(start + 1);
2235
+ while (++index < start) otherArgs[index] = args[index];
2236
+ otherArgs[start] = transform(array);
2237
+ return _apply_default(func, this, otherArgs);
2238
+ };
2239
+ }
2240
+ var _overRest_default = overRest;
2241
+
2242
+ //#endregion
2243
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.js
2244
+ /**
2245
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
2246
+ *
2247
+ * @private
2248
+ * @param {Function} func The function to apply a rest parameter to.
2249
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
2250
+ * @returns {Function} Returns the new function.
2251
+ */
2252
+ function baseRest(func, start) {
2253
+ return _setToString_default(_overRest_default(func, start, identity_default), func + "");
2254
+ }
2255
+ var _baseRest_default = baseRest;
2256
+
2257
+ //#endregion
2258
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js
2259
+ /** Used as references for various `Number` constants. */
2260
+ var MAX_SAFE_INTEGER = 9007199254740991;
2261
+ /**
2262
+ * Checks if `value` is a valid array-like length.
2263
+ *
2264
+ * **Note:** This method is loosely based on
2265
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
2266
+ *
2267
+ * @static
2268
+ * @memberOf _
2269
+ * @since 4.0.0
2270
+ * @category Lang
2271
+ * @param {*} value The value to check.
2272
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
2273
+ * @example
2274
+ *
2275
+ * _.isLength(3);
2276
+ * // => true
2277
+ *
2278
+ * _.isLength(Number.MIN_VALUE);
2279
+ * // => false
2280
+ *
2281
+ * _.isLength(Infinity);
2282
+ * // => false
2283
+ *
2284
+ * _.isLength('3');
2285
+ * // => false
2286
+ */
2287
+ function isLength(value) {
2288
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2289
+ }
2290
+ var isLength_default = isLength;
2291
+
2292
+ //#endregion
2293
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js
2294
+ /**
2295
+ * Checks if `value` is array-like. A value is considered array-like if it's
2296
+ * not a function and has a `value.length` that's an integer greater than or
2297
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
2298
+ *
2299
+ * @static
2300
+ * @memberOf _
2301
+ * @since 4.0.0
2302
+ * @category Lang
2303
+ * @param {*} value The value to check.
2304
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
2305
+ * @example
2306
+ *
2307
+ * _.isArrayLike([1, 2, 3]);
2308
+ * // => true
2309
+ *
2310
+ * _.isArrayLike(document.body.children);
2311
+ * // => true
2312
+ *
2313
+ * _.isArrayLike('abc');
2314
+ * // => true
2315
+ *
2316
+ * _.isArrayLike(_.noop);
2317
+ * // => false
2318
+ */
2319
+ function isArrayLike(value) {
2320
+ return value != null && isLength_default(value.length) && !isFunction_default(value);
2321
+ }
2322
+ var isArrayLike_default = isArrayLike;
2323
+
2324
+ //#endregion
2325
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.js
2326
+ /**
2327
+ * Checks if the given arguments are from an iteratee call.
2328
+ *
2329
+ * @private
2330
+ * @param {*} value The potential iteratee value argument.
2331
+ * @param {*} index The potential iteratee index or key argument.
2332
+ * @param {*} object The potential iteratee object argument.
2333
+ * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
2334
+ * else `false`.
2335
+ */
2336
+ function isIterateeCall(value, index, object) {
2337
+ if (!isObject_default(object)) return false;
2338
+ var type = typeof index;
2339
+ if (type == "number" ? isArrayLike_default(object) && _isIndex_default(index, object.length) : type == "string" && index in object) return eq_default(object[index], value);
2340
+ return false;
2341
+ }
2342
+ var _isIterateeCall_default = isIterateeCall;
2343
+
2344
+ //#endregion
2345
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.js
2346
+ /**
2347
+ * Creates a function like `_.assign`.
2348
+ *
2349
+ * @private
2350
+ * @param {Function} assigner The function to assign values.
2351
+ * @returns {Function} Returns the new assigner function.
2352
+ */
2353
+ function createAssigner(assigner) {
2354
+ return _baseRest_default(function(object, sources) {
2355
+ var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
2356
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
2357
+ if (guard && _isIterateeCall_default(sources[0], sources[1], guard)) {
2358
+ customizer = length < 3 ? void 0 : customizer;
2359
+ length = 1;
2360
+ }
2361
+ object = Object(object);
2362
+ while (++index < length) {
2363
+ var source = sources[index];
2364
+ if (source) assigner(object, source, index, customizer);
2365
+ }
2366
+ return object;
2367
+ });
2368
+ }
2369
+ var _createAssigner_default = createAssigner;
2370
+
2371
+ //#endregion
2372
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js
2373
+ /** Used for built-in method references. */
2374
+ var objectProto$9 = Object.prototype;
2375
+ /**
2376
+ * Checks if `value` is likely a prototype object.
2377
+ *
2378
+ * @private
2379
+ * @param {*} value The value to check.
2380
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
2381
+ */
2382
+ function isPrototype(value) {
2383
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$9;
2384
+ return value === proto;
2385
+ }
2386
+ var _isPrototype_default = isPrototype;
2387
+
2388
+ //#endregion
2389
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js
2390
+ /**
2391
+ * The base implementation of `_.times` without support for iteratee shorthands
2392
+ * or max array length checks.
2393
+ *
2394
+ * @private
2395
+ * @param {number} n The number of times to invoke `iteratee`.
2396
+ * @param {Function} iteratee The function invoked per iteration.
2397
+ * @returns {Array} Returns the array of results.
2398
+ */
2399
+ function baseTimes(n, iteratee) {
2400
+ var index = -1, result = Array(n);
2401
+ while (++index < n) result[index] = iteratee(index);
2402
+ return result;
2403
+ }
2404
+ var _baseTimes_default = baseTimes;
2405
+
2406
+ //#endregion
2407
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js
2408
+ /** `Object#toString` result references. */
2409
+ var argsTag$2 = "[object Arguments]";
2410
+ /**
2411
+ * The base implementation of `_.isArguments`.
2412
+ *
2413
+ * @private
2414
+ * @param {*} value The value to check.
2415
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
2416
+ */
2417
+ function baseIsArguments(value) {
2418
+ return isObjectLike_default(value) && _baseGetTag_default(value) == argsTag$2;
2419
+ }
2420
+ var _baseIsArguments_default = baseIsArguments;
2421
+
2422
+ //#endregion
2423
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js
2424
+ /** Used for built-in method references. */
2425
+ var objectProto$8 = Object.prototype;
2426
+ /** Used to check objects for own properties. */
2427
+ var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
2428
+ /** Built-in value references. */
2429
+ var propertyIsEnumerable$1 = objectProto$8.propertyIsEnumerable;
2430
+ /**
2431
+ * Checks if `value` is likely an `arguments` object.
2432
+ *
2433
+ * @static
2434
+ * @memberOf _
2435
+ * @since 0.1.0
2436
+ * @category Lang
2437
+ * @param {*} value The value to check.
2438
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
2439
+ * else `false`.
2440
+ * @example
2441
+ *
2442
+ * _.isArguments(function() { return arguments; }());
2443
+ * // => true
2444
+ *
2445
+ * _.isArguments([1, 2, 3]);
2446
+ * // => false
2447
+ */
2448
+ var isArguments = _baseIsArguments_default(function() {
2449
+ return arguments;
2450
+ }()) ? _baseIsArguments_default : function(value) {
2451
+ return isObjectLike_default(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
2452
+ };
2453
+ var isArguments_default = isArguments;
2454
+
2455
+ //#endregion
2456
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js
2457
+ /**
2458
+ * This method returns `false`.
2459
+ *
2460
+ * @static
2461
+ * @memberOf _
2462
+ * @since 4.13.0
2463
+ * @category Util
2464
+ * @returns {boolean} Returns `false`.
2465
+ * @example
2466
+ *
2467
+ * _.times(2, _.stubFalse);
2468
+ * // => [false, false]
2469
+ */
2470
+ function stubFalse() {
2471
+ return false;
2472
+ }
2473
+ var stubFalse_default = stubFalse;
2474
+
2475
+ //#endregion
2476
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js
2477
+ /** Detect free variable `exports`. */
2478
+ var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
2479
+ /** Detect free variable `module`. */
2480
+ var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
2481
+ /** Detect the popular CommonJS extension `module.exports`. */
2482
+ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
2483
+ /** Built-in value references. */
2484
+ var Buffer$1 = moduleExports$2 ? _root_default.Buffer : void 0;
2485
+ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
2486
+ /**
2487
+ * Checks if `value` is a buffer.
2488
+ *
2489
+ * @static
2490
+ * @memberOf _
2491
+ * @since 4.3.0
2492
+ * @category Lang
2493
+ * @param {*} value The value to check.
2494
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
2495
+ * @example
2496
+ *
2497
+ * _.isBuffer(new Buffer(2));
2498
+ * // => true
2499
+ *
2500
+ * _.isBuffer(new Uint8Array(2));
2501
+ * // => false
2502
+ */
2503
+ var isBuffer = nativeIsBuffer || stubFalse_default;
2504
+ var isBuffer_default = isBuffer;
2505
+
2506
+ //#endregion
2507
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js
2508
+ /** `Object#toString` result references. */
2509
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$4 = "[object Map]", numberTag$2 = "[object Number]", objectTag$3 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$4 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
2510
+ var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$3 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
2511
+ /** Used to identify `toStringTag` values of typed arrays. */
2512
+ var typedArrayTags = {};
2513
+ typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
2514
+ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] = typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] = typedArrayTags[objectTag$3] = typedArrayTags[regexpTag$2] = typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] = typedArrayTags[weakMapTag$2] = false;
2515
+ /**
2516
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
2517
+ *
2518
+ * @private
2519
+ * @param {*} value The value to check.
2520
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2521
+ */
2522
+ function baseIsTypedArray(value) {
2523
+ return isObjectLike_default(value) && isLength_default(value.length) && !!typedArrayTags[_baseGetTag_default(value)];
2524
+ }
2525
+ var _baseIsTypedArray_default = baseIsTypedArray;
2526
+
2527
+ //#endregion
2528
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js
2529
+ /**
2530
+ * The base implementation of `_.unary` without support for storing metadata.
2531
+ *
2532
+ * @private
2533
+ * @param {Function} func The function to cap arguments for.
2534
+ * @returns {Function} Returns the new capped function.
2535
+ */
2536
+ function baseUnary(func) {
2537
+ return function(value) {
2538
+ return func(value);
2539
+ };
2540
+ }
2541
+ var _baseUnary_default = baseUnary;
2542
+
2543
+ //#endregion
2544
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js
2545
+ /** Detect free variable `exports`. */
2546
+ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
2547
+ /** Detect free variable `module`. */
2548
+ var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
2549
+ /** Detect the popular CommonJS extension `module.exports`. */
2550
+ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
2551
+ /** Detect free variable `process` from Node.js. */
2552
+ var freeProcess = moduleExports$1 && _freeGlobal_default.process;
2553
+ /** Used to access faster Node.js helpers. */
2554
+ var nodeUtil = function() {
2555
+ try {
2556
+ var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
2557
+ if (types) return types;
2558
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
2559
+ } catch (e) {}
2560
+ }();
2561
+ var _nodeUtil_default = nodeUtil;
2562
+
2563
+ //#endregion
2564
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js
2565
+ var nodeIsTypedArray = _nodeUtil_default && _nodeUtil_default.isTypedArray;
2566
+ /**
2567
+ * Checks if `value` is classified as a typed array.
2568
+ *
2569
+ * @static
2570
+ * @memberOf _
2571
+ * @since 3.0.0
2572
+ * @category Lang
2573
+ * @param {*} value The value to check.
2574
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2575
+ * @example
2576
+ *
2577
+ * _.isTypedArray(new Uint8Array);
2578
+ * // => true
2579
+ *
2580
+ * _.isTypedArray([]);
2581
+ * // => false
2582
+ */
2583
+ var isTypedArray = nodeIsTypedArray ? _baseUnary_default(nodeIsTypedArray) : _baseIsTypedArray_default;
2584
+ var isTypedArray_default = isTypedArray;
2585
+
2586
+ //#endregion
2587
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js
2588
+ /** Used for built-in method references. */
2589
+ var objectProto$7 = Object.prototype;
2590
+ /** Used to check objects for own properties. */
2591
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
2592
+ /**
2593
+ * Creates an array of the enumerable property names of the array-like `value`.
2594
+ *
2595
+ * @private
2596
+ * @param {*} value The value to query.
2597
+ * @param {boolean} inherited Specify returning inherited property names.
2598
+ * @returns {Array} Returns the array of property names.
2599
+ */
2600
+ function arrayLikeKeys(value, inherited) {
2601
+ var isArr = isArray_default(value), isArg = !isArr && isArguments_default(value), isBuff = !isArr && !isArg && isBuffer_default(value), isType = !isArr && !isArg && !isBuff && isTypedArray_default(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? _baseTimes_default(value.length, String) : [], length = result.length;
2602
+ for (var key in value) if ((inherited || hasOwnProperty$6.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || _isIndex_default(key, length)))) result.push(key);
2603
+ return result;
2604
+ }
2605
+ var _arrayLikeKeys_default = arrayLikeKeys;
2606
+
2607
+ //#endregion
2608
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js
2609
+ /**
2610
+ * Creates a unary function that invokes `func` with its argument transformed.
2611
+ *
2612
+ * @private
2613
+ * @param {Function} func The function to wrap.
2614
+ * @param {Function} transform The argument transform.
2615
+ * @returns {Function} Returns the new function.
2616
+ */
2617
+ function overArg(func, transform) {
2618
+ return function(arg) {
2619
+ return func(transform(arg));
2620
+ };
2621
+ }
2622
+ var _overArg_default = overArg;
2623
+
2624
+ //#endregion
2625
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js
2626
+ var nativeKeys = _overArg_default(Object.keys, Object);
2627
+ var _nativeKeys_default = nativeKeys;
2628
+
2629
+ //#endregion
2630
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js
2631
+ /** Used for built-in method references. */
2632
+ var objectProto$6 = Object.prototype;
2633
+ /** Used to check objects for own properties. */
2634
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
2635
+ /**
2636
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
2637
+ *
2638
+ * @private
2639
+ * @param {Object} object The object to query.
2640
+ * @returns {Array} Returns the array of property names.
2641
+ */
2642
+ function baseKeys(object) {
2643
+ if (!_isPrototype_default(object)) return _nativeKeys_default(object);
2644
+ var result = [];
2645
+ for (var key in Object(object)) if (hasOwnProperty$5.call(object, key) && key != "constructor") result.push(key);
2646
+ return result;
2647
+ }
2648
+ var _baseKeys_default = baseKeys;
2649
+
2650
+ //#endregion
2651
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js
2652
+ /**
2653
+ * Creates an array of the own enumerable property names of `object`.
2654
+ *
2655
+ * **Note:** Non-object values are coerced to objects. See the
2656
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
2657
+ * for more details.
2658
+ *
2659
+ * @static
2660
+ * @since 0.1.0
2661
+ * @memberOf _
2662
+ * @category Object
2663
+ * @param {Object} object The object to query.
2664
+ * @returns {Array} Returns the array of property names.
2665
+ * @example
2666
+ *
2667
+ * function Foo() {
2668
+ * this.a = 1;
2669
+ * this.b = 2;
2670
+ * }
2671
+ *
2672
+ * Foo.prototype.c = 3;
2673
+ *
2674
+ * _.keys(new Foo);
2675
+ * // => ['a', 'b'] (iteration order is not guaranteed)
2676
+ *
2677
+ * _.keys('hi');
2678
+ * // => ['0', '1']
2679
+ */
2680
+ function keys(object) {
2681
+ return isArrayLike_default(object) ? _arrayLikeKeys_default(object) : _baseKeys_default(object);
2682
+ }
2683
+ var keys_default = keys;
2684
+
2685
+ //#endregion
2686
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js
2687
+ /**
2688
+ * This function is like
2689
+ * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
2690
+ * except that it includes inherited enumerable properties.
2691
+ *
2692
+ * @private
2693
+ * @param {Object} object The object to query.
2694
+ * @returns {Array} Returns the array of property names.
2695
+ */
2696
+ function nativeKeysIn(object) {
2697
+ var result = [];
2698
+ if (object != null) for (var key in Object(object)) result.push(key);
2699
+ return result;
2700
+ }
2701
+ var _nativeKeysIn_default = nativeKeysIn;
2702
+
2703
+ //#endregion
2704
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js
2705
+ /** Used for built-in method references. */
2706
+ var objectProto$5 = Object.prototype;
2707
+ /** Used to check objects for own properties. */
2708
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
2709
+ /**
2710
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
2711
+ *
2712
+ * @private
2713
+ * @param {Object} object The object to query.
2714
+ * @returns {Array} Returns the array of property names.
2715
+ */
2716
+ function baseKeysIn(object) {
2717
+ if (!isObject_default(object)) return _nativeKeysIn_default(object);
2718
+ var isProto = _isPrototype_default(object), result = [];
2719
+ for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$4.call(object, key)))) result.push(key);
2720
+ return result;
2721
+ }
2722
+ var _baseKeysIn_default = baseKeysIn;
2723
+
2724
+ //#endregion
2725
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js
2726
+ /**
2727
+ * Creates an array of the own and inherited enumerable property names of `object`.
2728
+ *
2729
+ * **Note:** Non-object values are coerced to objects.
2730
+ *
2731
+ * @static
2732
+ * @memberOf _
2733
+ * @since 3.0.0
2734
+ * @category Object
2735
+ * @param {Object} object The object to query.
2736
+ * @returns {Array} Returns the array of property names.
2737
+ * @example
2738
+ *
2739
+ * function Foo() {
2740
+ * this.a = 1;
2741
+ * this.b = 2;
2742
+ * }
2743
+ *
2744
+ * Foo.prototype.c = 3;
2745
+ *
2746
+ * _.keysIn(new Foo);
2747
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
2748
+ */
2749
+ function keysIn(object) {
2750
+ return isArrayLike_default(object) ? _arrayLikeKeys_default(object, true) : _baseKeysIn_default(object);
2751
+ }
2752
+ var keysIn_default = keysIn;
2753
+
2754
+ //#endregion
2755
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.js
2756
+ /** Used to match property names within property paths. */
2757
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
2758
+ /**
2759
+ * Checks if `value` is a property name and not a property path.
2760
+ *
2761
+ * @private
2762
+ * @param {*} value The value to check.
2763
+ * @param {Object} [object] The object to query keys on.
2764
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
2765
+ */
2766
+ function isKey(value, object) {
2767
+ if (isArray_default(value)) return false;
2768
+ var type = typeof value;
2769
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol_default(value)) return true;
2770
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
2771
+ }
2772
+ var _isKey_default = isKey;
2773
+
2774
+ //#endregion
2775
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js
2776
+ var nativeCreate = _getNative_default(Object, "create");
2777
+ var _nativeCreate_default = nativeCreate;
2778
+
2779
+ //#endregion
2780
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js
2781
+ /**
2782
+ * Removes all key-value entries from the hash.
2783
+ *
2784
+ * @private
2785
+ * @name clear
2786
+ * @memberOf Hash
2787
+ */
2788
+ function hashClear() {
2789
+ this.__data__ = _nativeCreate_default ? _nativeCreate_default(null) : {};
2790
+ this.size = 0;
2791
+ }
2792
+ var _hashClear_default = hashClear;
2793
+
2794
+ //#endregion
2795
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js
2796
+ /**
2797
+ * Removes `key` and its value from the hash.
2798
+ *
2799
+ * @private
2800
+ * @name delete
2801
+ * @memberOf Hash
2802
+ * @param {Object} hash The hash to modify.
2803
+ * @param {string} key The key of the value to remove.
2804
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2805
+ */
2806
+ function hashDelete(key) {
2807
+ var result = this.has(key) && delete this.__data__[key];
2808
+ this.size -= result ? 1 : 0;
2809
+ return result;
2810
+ }
2811
+ var _hashDelete_default = hashDelete;
2812
+
2813
+ //#endregion
2814
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js
2815
+ /** Used to stand-in for `undefined` hash values. */
2816
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
2817
+ /** Used for built-in method references. */
2818
+ var objectProto$4 = Object.prototype;
2819
+ /** Used to check objects for own properties. */
2820
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
2821
+ /**
2822
+ * Gets the hash value for `key`.
2823
+ *
2824
+ * @private
2825
+ * @name get
2826
+ * @memberOf Hash
2827
+ * @param {string} key The key of the value to get.
2828
+ * @returns {*} Returns the entry value.
2829
+ */
2830
+ function hashGet(key) {
2831
+ var data = this.__data__;
2832
+ if (_nativeCreate_default) {
2833
+ var result = data[key];
2834
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
2835
+ }
2836
+ return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
2837
+ }
2838
+ var _hashGet_default = hashGet;
2839
+
2840
+ //#endregion
2841
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js
2842
+ /** Used for built-in method references. */
2843
+ var objectProto$3 = Object.prototype;
2844
+ /** Used to check objects for own properties. */
2845
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
2846
+ /**
2847
+ * Checks if a hash value for `key` exists.
2848
+ *
2849
+ * @private
2850
+ * @name has
2851
+ * @memberOf Hash
2852
+ * @param {string} key The key of the entry to check.
2853
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2854
+ */
2855
+ function hashHas(key) {
2856
+ var data = this.__data__;
2857
+ return _nativeCreate_default ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
2858
+ }
2859
+ var _hashHas_default = hashHas;
2860
+
2861
+ //#endregion
2862
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js
2863
+ /** Used to stand-in for `undefined` hash values. */
2864
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
2865
+ /**
2866
+ * Sets the hash `key` to `value`.
2867
+ *
2868
+ * @private
2869
+ * @name set
2870
+ * @memberOf Hash
2871
+ * @param {string} key The key of the value to set.
2872
+ * @param {*} value The value to set.
2873
+ * @returns {Object} Returns the hash instance.
2874
+ */
2875
+ function hashSet(key, value) {
2876
+ var data = this.__data__;
2877
+ this.size += this.has(key) ? 0 : 1;
2878
+ data[key] = _nativeCreate_default && value === void 0 ? HASH_UNDEFINED : value;
2879
+ return this;
2880
+ }
2881
+ var _hashSet_default = hashSet;
2882
+
2883
+ //#endregion
2884
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js
2885
+ /**
2886
+ * Creates a hash object.
2887
+ *
2888
+ * @private
2889
+ * @constructor
2890
+ * @param {Array} [entries] The key-value pairs to cache.
2891
+ */
2892
+ function Hash(entries) {
2893
+ var index = -1, length = entries == null ? 0 : entries.length;
2894
+ this.clear();
2895
+ while (++index < length) {
2896
+ var entry = entries[index];
2897
+ this.set(entry[0], entry[1]);
2898
+ }
2899
+ }
2900
+ Hash.prototype.clear = _hashClear_default;
2901
+ Hash.prototype["delete"] = _hashDelete_default;
2902
+ Hash.prototype.get = _hashGet_default;
2903
+ Hash.prototype.has = _hashHas_default;
2904
+ Hash.prototype.set = _hashSet_default;
2905
+ var _Hash_default = Hash;
2906
+
2907
+ //#endregion
2908
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js
2909
+ /**
2910
+ * Removes all key-value entries from the list cache.
2911
+ *
2912
+ * @private
2913
+ * @name clear
2914
+ * @memberOf ListCache
2915
+ */
2916
+ function listCacheClear() {
2917
+ this.__data__ = [];
2918
+ this.size = 0;
2919
+ }
2920
+ var _listCacheClear_default = listCacheClear;
2921
+
2922
+ //#endregion
2923
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js
2924
+ /**
2925
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
2926
+ *
2927
+ * @private
2928
+ * @param {Array} array The array to inspect.
2929
+ * @param {*} key The key to search for.
2930
+ * @returns {number} Returns the index of the matched value, else `-1`.
2931
+ */
2932
+ function assocIndexOf(array, key) {
2933
+ var length = array.length;
2934
+ while (length--) if (eq_default(array[length][0], key)) return length;
2935
+ return -1;
2936
+ }
2937
+ var _assocIndexOf_default = assocIndexOf;
2938
+
2939
+ //#endregion
2940
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js
2941
+ /** Used for built-in method references. */
2942
+ var arrayProto = Array.prototype;
2943
+ /** Built-in value references. */
2944
+ var splice = arrayProto.splice;
2945
+ /**
2946
+ * Removes `key` and its value from the list cache.
2947
+ *
2948
+ * @private
2949
+ * @name delete
2950
+ * @memberOf ListCache
2951
+ * @param {string} key The key of the value to remove.
2952
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
2953
+ */
2954
+ function listCacheDelete(key) {
2955
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
2956
+ if (index < 0) return false;
2957
+ var lastIndex = data.length - 1;
2958
+ if (index == lastIndex) data.pop();
2959
+ else splice.call(data, index, 1);
2960
+ --this.size;
2961
+ return true;
2962
+ }
2963
+ var _listCacheDelete_default = listCacheDelete;
2964
+
2965
+ //#endregion
2966
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js
2967
+ /**
2968
+ * Gets the list cache value for `key`.
2969
+ *
2970
+ * @private
2971
+ * @name get
2972
+ * @memberOf ListCache
2973
+ * @param {string} key The key of the value to get.
2974
+ * @returns {*} Returns the entry value.
2975
+ */
2976
+ function listCacheGet(key) {
2977
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
2978
+ return index < 0 ? void 0 : data[index][1];
2979
+ }
2980
+ var _listCacheGet_default = listCacheGet;
2981
+
2982
+ //#endregion
2983
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js
2984
+ /**
2985
+ * Checks if a list cache value for `key` exists.
2986
+ *
2987
+ * @private
2988
+ * @name has
2989
+ * @memberOf ListCache
2990
+ * @param {string} key The key of the entry to check.
2991
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2992
+ */
2993
+ function listCacheHas(key) {
2994
+ return _assocIndexOf_default(this.__data__, key) > -1;
2995
+ }
2996
+ var _listCacheHas_default = listCacheHas;
2997
+
2998
+ //#endregion
2999
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js
3000
+ /**
3001
+ * Sets the list cache `key` to `value`.
3002
+ *
3003
+ * @private
3004
+ * @name set
3005
+ * @memberOf ListCache
3006
+ * @param {string} key The key of the value to set.
3007
+ * @param {*} value The value to set.
3008
+ * @returns {Object} Returns the list cache instance.
3009
+ */
3010
+ function listCacheSet(key, value) {
3011
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
3012
+ if (index < 0) {
3013
+ ++this.size;
3014
+ data.push([key, value]);
3015
+ } else data[index][1] = value;
3016
+ return this;
3017
+ }
3018
+ var _listCacheSet_default = listCacheSet;
3019
+
3020
+ //#endregion
3021
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js
3022
+ /**
3023
+ * Creates an list cache object.
3024
+ *
3025
+ * @private
3026
+ * @constructor
3027
+ * @param {Array} [entries] The key-value pairs to cache.
3028
+ */
3029
+ function ListCache(entries) {
3030
+ var index = -1, length = entries == null ? 0 : entries.length;
3031
+ this.clear();
3032
+ while (++index < length) {
3033
+ var entry = entries[index];
3034
+ this.set(entry[0], entry[1]);
3035
+ }
3036
+ }
3037
+ ListCache.prototype.clear = _listCacheClear_default;
3038
+ ListCache.prototype["delete"] = _listCacheDelete_default;
3039
+ ListCache.prototype.get = _listCacheGet_default;
3040
+ ListCache.prototype.has = _listCacheHas_default;
3041
+ ListCache.prototype.set = _listCacheSet_default;
3042
+ var _ListCache_default = ListCache;
3043
+
3044
+ //#endregion
3045
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js
3046
+ var Map$1 = _getNative_default(_root_default, "Map");
3047
+ var _Map_default = Map$1;
3048
+
3049
+ //#endregion
3050
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js
3051
+ /**
3052
+ * Removes all key-value entries from the map.
3053
+ *
3054
+ * @private
3055
+ * @name clear
3056
+ * @memberOf MapCache
3057
+ */
3058
+ function mapCacheClear() {
3059
+ this.size = 0;
3060
+ this.__data__ = {
3061
+ "hash": new _Hash_default(),
3062
+ "map": new (_Map_default || _ListCache_default)(),
3063
+ "string": new _Hash_default()
3064
+ };
3065
+ }
3066
+ var _mapCacheClear_default = mapCacheClear;
3067
+
3068
+ //#endregion
3069
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js
3070
+ /**
3071
+ * Checks if `value` is suitable for use as unique object key.
3072
+ *
3073
+ * @private
3074
+ * @param {*} value The value to check.
3075
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
3076
+ */
3077
+ function isKeyable(value) {
3078
+ var type = typeof value;
3079
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
3080
+ }
3081
+ var _isKeyable_default = isKeyable;
3082
+
3083
+ //#endregion
3084
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js
3085
+ /**
3086
+ * Gets the data for `map`.
3087
+ *
3088
+ * @private
3089
+ * @param {Object} map The map to query.
3090
+ * @param {string} key The reference key.
3091
+ * @returns {*} Returns the map data.
3092
+ */
3093
+ function getMapData(map, key) {
3094
+ var data = map.__data__;
3095
+ return _isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
3096
+ }
3097
+ var _getMapData_default = getMapData;
3098
+
3099
+ //#endregion
3100
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js
3101
+ /**
3102
+ * Removes `key` and its value from the map.
3103
+ *
3104
+ * @private
3105
+ * @name delete
3106
+ * @memberOf MapCache
3107
+ * @param {string} key The key of the value to remove.
3108
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3109
+ */
3110
+ function mapCacheDelete(key) {
3111
+ var result = _getMapData_default(this, key)["delete"](key);
3112
+ this.size -= result ? 1 : 0;
3113
+ return result;
3114
+ }
3115
+ var _mapCacheDelete_default = mapCacheDelete;
3116
+
3117
+ //#endregion
3118
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js
3119
+ /**
3120
+ * Gets the map value for `key`.
3121
+ *
3122
+ * @private
3123
+ * @name get
3124
+ * @memberOf MapCache
3125
+ * @param {string} key The key of the value to get.
3126
+ * @returns {*} Returns the entry value.
3127
+ */
3128
+ function mapCacheGet(key) {
3129
+ return _getMapData_default(this, key).get(key);
3130
+ }
3131
+ var _mapCacheGet_default = mapCacheGet;
3132
+
3133
+ //#endregion
3134
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js
3135
+ /**
3136
+ * Checks if a map value for `key` exists.
3137
+ *
3138
+ * @private
3139
+ * @name has
3140
+ * @memberOf MapCache
3141
+ * @param {string} key The key of the entry to check.
3142
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3143
+ */
3144
+ function mapCacheHas(key) {
3145
+ return _getMapData_default(this, key).has(key);
3146
+ }
3147
+ var _mapCacheHas_default = mapCacheHas;
3148
+
3149
+ //#endregion
3150
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js
3151
+ /**
3152
+ * Sets the map `key` to `value`.
3153
+ *
3154
+ * @private
3155
+ * @name set
3156
+ * @memberOf MapCache
3157
+ * @param {string} key The key of the value to set.
3158
+ * @param {*} value The value to set.
3159
+ * @returns {Object} Returns the map cache instance.
3160
+ */
3161
+ function mapCacheSet(key, value) {
3162
+ var data = _getMapData_default(this, key), size = data.size;
3163
+ data.set(key, value);
3164
+ this.size += data.size == size ? 0 : 1;
3165
+ return this;
3166
+ }
3167
+ var _mapCacheSet_default = mapCacheSet;
3168
+
3169
+ //#endregion
3170
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js
3171
+ /**
3172
+ * Creates a map cache object to store key-value pairs.
3173
+ *
3174
+ * @private
3175
+ * @constructor
3176
+ * @param {Array} [entries] The key-value pairs to cache.
3177
+ */
3178
+ function MapCache(entries) {
3179
+ var index = -1, length = entries == null ? 0 : entries.length;
3180
+ this.clear();
3181
+ while (++index < length) {
3182
+ var entry = entries[index];
3183
+ this.set(entry[0], entry[1]);
3184
+ }
3185
+ }
3186
+ MapCache.prototype.clear = _mapCacheClear_default;
3187
+ MapCache.prototype["delete"] = _mapCacheDelete_default;
3188
+ MapCache.prototype.get = _mapCacheGet_default;
3189
+ MapCache.prototype.has = _mapCacheHas_default;
3190
+ MapCache.prototype.set = _mapCacheSet_default;
3191
+ var _MapCache_default = MapCache;
3192
+
3193
+ //#endregion
3194
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.js
3195
+ /** Error message constants. */
3196
+ var FUNC_ERROR_TEXT = "Expected a function";
3197
+ /**
3198
+ * Creates a function that memoizes the result of `func`. If `resolver` is
3199
+ * provided, it determines the cache key for storing the result based on the
3200
+ * arguments provided to the memoized function. By default, the first argument
3201
+ * provided to the memoized function is used as the map cache key. The `func`
3202
+ * is invoked with the `this` binding of the memoized function.
3203
+ *
3204
+ * **Note:** The cache is exposed as the `cache` property on the memoized
3205
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
3206
+ * constructor with one whose instances implement the
3207
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
3208
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
3209
+ *
3210
+ * @static
3211
+ * @memberOf _
3212
+ * @since 0.1.0
3213
+ * @category Function
3214
+ * @param {Function} func The function to have its output memoized.
3215
+ * @param {Function} [resolver] The function to resolve the cache key.
3216
+ * @returns {Function} Returns the new memoized function.
3217
+ * @example
3218
+ *
3219
+ * var object = { 'a': 1, 'b': 2 };
3220
+ * var other = { 'c': 3, 'd': 4 };
3221
+ *
3222
+ * var values = _.memoize(_.values);
3223
+ * values(object);
3224
+ * // => [1, 2]
3225
+ *
3226
+ * values(other);
3227
+ * // => [3, 4]
3228
+ *
3229
+ * object.a = 2;
3230
+ * values(object);
3231
+ * // => [1, 2]
3232
+ *
3233
+ * // Modify the result cache.
3234
+ * values.cache.set(object, ['a', 'b']);
3235
+ * values(object);
3236
+ * // => ['a', 'b']
3237
+ *
3238
+ * // Replace `_.memoize.Cache`.
3239
+ * _.memoize.Cache = WeakMap;
3240
+ */
3241
+ function memoize(func, resolver) {
3242
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
3243
+ var memoized = function() {
3244
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
3245
+ if (cache.has(key)) return cache.get(key);
3246
+ var result = func.apply(this, args);
3247
+ memoized.cache = cache.set(key, result) || cache;
3248
+ return result;
3249
+ };
3250
+ memoized.cache = new (memoize.Cache || _MapCache_default)();
3251
+ return memoized;
3252
+ }
3253
+ memoize.Cache = _MapCache_default;
3254
+ var memoize_default = memoize;
3255
+
3256
+ //#endregion
3257
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.js
3258
+ /** Used as the maximum memoize cache size. */
3259
+ var MAX_MEMOIZE_SIZE = 500;
3260
+ /**
3261
+ * A specialized version of `_.memoize` which clears the memoized function's
3262
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
3263
+ *
3264
+ * @private
3265
+ * @param {Function} func The function to have its output memoized.
3266
+ * @returns {Function} Returns the new memoized function.
3267
+ */
3268
+ function memoizeCapped(func) {
3269
+ var result = memoize_default(func, function(key) {
3270
+ if (cache.size === MAX_MEMOIZE_SIZE) cache.clear();
3271
+ return key;
3272
+ });
3273
+ var cache = result.cache;
3274
+ return result;
3275
+ }
3276
+ var _memoizeCapped_default = memoizeCapped;
3277
+
3278
+ //#endregion
3279
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.js
3280
+ /** Used to match property names within property paths. */
3281
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
3282
+ /** Used to match backslashes in property paths. */
3283
+ var reEscapeChar = /\\(\\)?/g;
3284
+ /**
3285
+ * Converts `string` to a property path array.
3286
+ *
3287
+ * @private
3288
+ * @param {string} string The string to convert.
3289
+ * @returns {Array} Returns the property path array.
3290
+ */
3291
+ var stringToPath = _memoizeCapped_default(function(string) {
3292
+ var result = [];
3293
+ if (string.charCodeAt(0) === 46) result.push("");
3294
+ string.replace(rePropName, function(match, number, quote, subString) {
3295
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
3296
+ });
3297
+ return result;
3298
+ });
3299
+ var _stringToPath_default = stringToPath;
3300
+
3301
+ //#endregion
3302
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.js
3303
+ /**
3304
+ * Converts `value` to a string. An empty string is returned for `null`
3305
+ * and `undefined` values. The sign of `-0` is preserved.
3306
+ *
3307
+ * @static
3308
+ * @memberOf _
3309
+ * @since 4.0.0
3310
+ * @category Lang
3311
+ * @param {*} value The value to convert.
3312
+ * @returns {string} Returns the converted string.
3313
+ * @example
3314
+ *
3315
+ * _.toString(null);
3316
+ * // => ''
3317
+ *
3318
+ * _.toString(-0);
3319
+ * // => '-0'
3320
+ *
3321
+ * _.toString([1, 2, 3]);
3322
+ * // => '1,2,3'
3323
+ */
3324
+ function toString(value) {
3325
+ return value == null ? "" : _baseToString_default(value);
3326
+ }
3327
+ var toString_default = toString;
3328
+
3329
+ //#endregion
3330
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.js
3331
+ /**
3332
+ * Casts `value` to a path array if it's not one.
3333
+ *
3334
+ * @private
3335
+ * @param {*} value The value to inspect.
3336
+ * @param {Object} [object] The object to query keys on.
3337
+ * @returns {Array} Returns the cast property path array.
3338
+ */
3339
+ function castPath(value, object) {
3340
+ if (isArray_default(value)) return value;
3341
+ return _isKey_default(value, object) ? [value] : _stringToPath_default(toString_default(value));
3342
+ }
3343
+ var _castPath_default = castPath;
3344
+
3345
+ //#endregion
3346
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.js
3347
+ /** Used as references for various `Number` constants. */
3348
+ var INFINITY = Infinity;
3349
+ /**
3350
+ * Converts `value` to a string key if it's not a string or symbol.
3351
+ *
3352
+ * @private
3353
+ * @param {*} value The value to inspect.
3354
+ * @returns {string|symbol} Returns the key.
3355
+ */
3356
+ function toKey(value) {
3357
+ if (typeof value == "string" || isSymbol_default(value)) return value;
3358
+ var result = value + "";
3359
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
3360
+ }
3361
+ var _toKey_default = toKey;
3362
+
3363
+ //#endregion
3364
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.js
3365
+ /**
3366
+ * The base implementation of `_.get` without support for default values.
3367
+ *
3368
+ * @private
3369
+ * @param {Object} object The object to query.
3370
+ * @param {Array|string} path The path of the property to get.
3371
+ * @returns {*} Returns the resolved value.
3372
+ */
3373
+ function baseGet(object, path) {
3374
+ path = _castPath_default(path, object);
3375
+ var index = 0, length = path.length;
3376
+ while (object != null && index < length) object = object[_toKey_default(path[index++])];
3377
+ return index && index == length ? object : void 0;
3378
+ }
3379
+ var _baseGet_default = baseGet;
3380
+
3381
+ //#endregion
3382
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.js
3383
+ /**
3384
+ * Gets the value at `path` of `object`. If the resolved value is
3385
+ * `undefined`, the `defaultValue` is returned in its place.
3386
+ *
3387
+ * @static
3388
+ * @memberOf _
3389
+ * @since 3.7.0
3390
+ * @category Object
3391
+ * @param {Object} object The object to query.
3392
+ * @param {Array|string} path The path of the property to get.
3393
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
3394
+ * @returns {*} Returns the resolved value.
3395
+ * @example
3396
+ *
3397
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
3398
+ *
3399
+ * _.get(object, 'a[0].b.c');
3400
+ * // => 3
3401
+ *
3402
+ * _.get(object, ['a', '0', 'b', 'c']);
3403
+ * // => 3
3404
+ *
3405
+ * _.get(object, 'a.b.c', 'default');
3406
+ * // => 'default'
3407
+ */
3408
+ function get(object, path, defaultValue) {
3409
+ var result = object == null ? void 0 : _baseGet_default(object, path);
3410
+ return result === void 0 ? defaultValue : result;
3411
+ }
3412
+ var get_default = get;
3413
+
3414
+ //#endregion
3415
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.js
3416
+ /**
3417
+ * Appends the elements of `values` to `array`.
3418
+ *
3419
+ * @private
3420
+ * @param {Array} array The array to modify.
3421
+ * @param {Array} values The values to append.
3422
+ * @returns {Array} Returns `array`.
3423
+ */
3424
+ function arrayPush(array, values) {
3425
+ var index = -1, length = values.length, offset = array.length;
3426
+ while (++index < length) array[offset + index] = values[index];
3427
+ return array;
3428
+ }
3429
+ var _arrayPush_default = arrayPush;
3430
+
3431
+ //#endregion
3432
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js
3433
+ /** Built-in value references. */
3434
+ var getPrototype = _overArg_default(Object.getPrototypeOf, Object);
3435
+ var _getPrototype_default = getPrototype;
3436
+
3437
+ //#endregion
3438
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js
3439
+ /** `Object#toString` result references. */
3440
+ var objectTag$2 = "[object Object]";
3441
+ /** Used for built-in method references. */
3442
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
3443
+ /** Used to resolve the decompiled source of functions. */
3444
+ var funcToString = funcProto.toString;
3445
+ /** Used to check objects for own properties. */
3446
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
3447
+ /** Used to infer the `Object` constructor. */
3448
+ var objectCtorString = funcToString.call(Object);
3449
+ /**
3450
+ * Checks if `value` is a plain object, that is, an object created by the
3451
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
3452
+ *
3453
+ * @static
3454
+ * @memberOf _
3455
+ * @since 0.8.0
3456
+ * @category Lang
3457
+ * @param {*} value The value to check.
3458
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
3459
+ * @example
3460
+ *
3461
+ * function Foo() {
3462
+ * this.a = 1;
3463
+ * }
3464
+ *
3465
+ * _.isPlainObject(new Foo);
3466
+ * // => false
3467
+ *
3468
+ * _.isPlainObject([1, 2, 3]);
3469
+ * // => false
3470
+ *
3471
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
3472
+ * // => true
3473
+ *
3474
+ * _.isPlainObject(Object.create(null));
3475
+ * // => true
3476
+ */
3477
+ function isPlainObject(value) {
3478
+ if (!isObjectLike_default(value) || _baseGetTag_default(value) != objectTag$2) return false;
3479
+ var proto = _getPrototype_default(value);
3480
+ if (proto === null) return true;
3481
+ var Ctor = hasOwnProperty$1.call(proto, "constructor") && proto.constructor;
3482
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
3483
+ }
3484
+ var isPlainObject_default = isPlainObject;
3485
+
3486
+ //#endregion
3487
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js
3488
+ /**
3489
+ * Removes all key-value entries from the stack.
3490
+ *
3491
+ * @private
3492
+ * @name clear
3493
+ * @memberOf Stack
3494
+ */
3495
+ function stackClear() {
3496
+ this.__data__ = new _ListCache_default();
3497
+ this.size = 0;
3498
+ }
3499
+ var _stackClear_default = stackClear;
3500
+
3501
+ //#endregion
3502
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js
3503
+ /**
3504
+ * Removes `key` and its value from the stack.
3505
+ *
3506
+ * @private
3507
+ * @name delete
3508
+ * @memberOf Stack
3509
+ * @param {string} key The key of the value to remove.
3510
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
3511
+ */
3512
+ function stackDelete(key) {
3513
+ var data = this.__data__, result = data["delete"](key);
3514
+ this.size = data.size;
3515
+ return result;
3516
+ }
3517
+ var _stackDelete_default = stackDelete;
3518
+
3519
+ //#endregion
3520
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js
3521
+ /**
3522
+ * Gets the stack value for `key`.
3523
+ *
3524
+ * @private
3525
+ * @name get
3526
+ * @memberOf Stack
3527
+ * @param {string} key The key of the value to get.
3528
+ * @returns {*} Returns the entry value.
3529
+ */
3530
+ function stackGet(key) {
3531
+ return this.__data__.get(key);
3532
+ }
3533
+ var _stackGet_default = stackGet;
3534
+
3535
+ //#endregion
3536
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js
3537
+ /**
3538
+ * Checks if a stack value for `key` exists.
3539
+ *
3540
+ * @private
3541
+ * @name has
3542
+ * @memberOf Stack
3543
+ * @param {string} key The key of the entry to check.
3544
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
3545
+ */
3546
+ function stackHas(key) {
3547
+ return this.__data__.has(key);
3548
+ }
3549
+ var _stackHas_default = stackHas;
3550
+
3551
+ //#endregion
3552
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.js
3553
+ /** Used as the size to enable large array optimizations. */
3554
+ var LARGE_ARRAY_SIZE = 200;
3555
+ /**
3556
+ * Sets the stack `key` to `value`.
3557
+ *
3558
+ * @private
3559
+ * @name set
3560
+ * @memberOf Stack
3561
+ * @param {string} key The key of the value to set.
3562
+ * @param {*} value The value to set.
3563
+ * @returns {Object} Returns the stack cache instance.
3564
+ */
3565
+ function stackSet(key, value) {
3566
+ var data = this.__data__;
3567
+ if (data instanceof _ListCache_default) {
3568
+ var pairs = data.__data__;
3569
+ if (!_Map_default || pairs.length < LARGE_ARRAY_SIZE - 1) {
3570
+ pairs.push([key, value]);
3571
+ this.size = ++data.size;
3572
+ return this;
3573
+ }
3574
+ data = this.__data__ = new _MapCache_default(pairs);
3575
+ }
3576
+ data.set(key, value);
3577
+ this.size = data.size;
3578
+ return this;
3579
+ }
3580
+ var _stackSet_default = stackSet;
3581
+
3582
+ //#endregion
3583
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.js
3584
+ /**
3585
+ * Creates a stack cache object to store key-value pairs.
3586
+ *
3587
+ * @private
3588
+ * @constructor
3589
+ * @param {Array} [entries] The key-value pairs to cache.
3590
+ */
3591
+ function Stack(entries) {
3592
+ var data = this.__data__ = new _ListCache_default(entries);
3593
+ this.size = data.size;
3594
+ }
3595
+ Stack.prototype.clear = _stackClear_default;
3596
+ Stack.prototype["delete"] = _stackDelete_default;
3597
+ Stack.prototype.get = _stackGet_default;
3598
+ Stack.prototype.has = _stackHas_default;
3599
+ Stack.prototype.set = _stackSet_default;
3600
+ var _Stack_default = Stack;
3601
+
3602
+ //#endregion
3603
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.js
3604
+ /**
3605
+ * The base implementation of `_.assign` without support for multiple sources
3606
+ * or `customizer` functions.
3607
+ *
3608
+ * @private
3609
+ * @param {Object} object The destination object.
3610
+ * @param {Object} source The source object.
3611
+ * @returns {Object} Returns `object`.
3612
+ */
3613
+ function baseAssign(object, source) {
3614
+ return object && _copyObject_default(source, keys_default(source), object);
3615
+ }
3616
+ var _baseAssign_default = baseAssign;
3617
+
3618
+ //#endregion
3619
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.js
3620
+ /**
3621
+ * The base implementation of `_.assignIn` without support for multiple sources
3622
+ * or `customizer` functions.
3623
+ *
3624
+ * @private
3625
+ * @param {Object} object The destination object.
3626
+ * @param {Object} source The source object.
3627
+ * @returns {Object} Returns `object`.
3628
+ */
3629
+ function baseAssignIn(object, source) {
3630
+ return object && _copyObject_default(source, keysIn_default(source), object);
3631
+ }
3632
+ var _baseAssignIn_default = baseAssignIn;
3633
+
3634
+ //#endregion
3635
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js
3636
+ /** Detect free variable `exports`. */
3637
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
3638
+ /** Detect free variable `module`. */
3639
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
3640
+ /** Detect the popular CommonJS extension `module.exports`. */
3641
+ var moduleExports = freeModule && freeModule.exports === freeExports;
3642
+ /** Built-in value references. */
3643
+ var Buffer = moduleExports ? _root_default.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
3644
+ /**
3645
+ * Creates a clone of `buffer`.
3646
+ *
3647
+ * @private
3648
+ * @param {Buffer} buffer The buffer to clone.
3649
+ * @param {boolean} [isDeep] Specify a deep clone.
3650
+ * @returns {Buffer} Returns the cloned buffer.
3651
+ */
3652
+ function cloneBuffer(buffer, isDeep) {
3653
+ if (isDeep) return buffer.slice();
3654
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
3655
+ buffer.copy(result);
3656
+ return result;
3657
+ }
3658
+ var _cloneBuffer_default = cloneBuffer;
3659
+
3660
+ //#endregion
3661
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.js
3662
+ /**
3663
+ * A specialized version of `_.filter` for arrays without support for
3664
+ * iteratee shorthands.
3665
+ *
3666
+ * @private
3667
+ * @param {Array} [array] The array to iterate over.
3668
+ * @param {Function} predicate The function invoked per iteration.
3669
+ * @returns {Array} Returns the new filtered array.
3670
+ */
3671
+ function arrayFilter(array, predicate) {
3672
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
3673
+ while (++index < length) {
3674
+ var value = array[index];
3675
+ if (predicate(value, index, array)) result[resIndex++] = value;
3676
+ }
3677
+ return result;
3678
+ }
3679
+ var _arrayFilter_default = arrayFilter;
3680
+
3681
+ //#endregion
3682
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.js
3683
+ /**
3684
+ * This method returns a new empty array.
3685
+ *
3686
+ * @static
3687
+ * @memberOf _
3688
+ * @since 4.13.0
3689
+ * @category Util
3690
+ * @returns {Array} Returns the new empty array.
3691
+ * @example
3692
+ *
3693
+ * var arrays = _.times(2, _.stubArray);
3694
+ *
3695
+ * console.log(arrays);
3696
+ * // => [[], []]
3697
+ *
3698
+ * console.log(arrays[0] === arrays[1]);
3699
+ * // => false
3700
+ */
3701
+ function stubArray() {
3702
+ return [];
3703
+ }
3704
+ var stubArray_default = stubArray;
3705
+
3706
+ //#endregion
3707
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.js
3708
+ /** Used for built-in method references. */
3709
+ var objectProto$1 = Object.prototype;
3710
+ /** Built-in value references. */
3711
+ var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
3712
+ var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
3713
+ /**
3714
+ * Creates an array of the own enumerable symbols of `object`.
3715
+ *
3716
+ * @private
3717
+ * @param {Object} object The object to query.
3718
+ * @returns {Array} Returns the array of symbols.
3719
+ */
3720
+ var getSymbols = !nativeGetSymbols$1 ? stubArray_default : function(object) {
3721
+ if (object == null) return [];
3722
+ object = Object(object);
3723
+ return _arrayFilter_default(nativeGetSymbols$1(object), function(symbol) {
3724
+ return propertyIsEnumerable.call(object, symbol);
3725
+ });
3726
+ };
3727
+ var _getSymbols_default = getSymbols;
3728
+
3729
+ //#endregion
3730
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.js
3731
+ /**
3732
+ * Copies own symbols of `source` to `object`.
3733
+ *
3734
+ * @private
3735
+ * @param {Object} source The object to copy symbols from.
3736
+ * @param {Object} [object={}] The object to copy symbols to.
3737
+ * @returns {Object} Returns `object`.
3738
+ */
3739
+ function copySymbols(source, object) {
3740
+ return _copyObject_default(source, _getSymbols_default(source), object);
3741
+ }
3742
+ var _copySymbols_default = copySymbols;
3743
+
3744
+ //#endregion
3745
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.js
3746
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
3747
+ /**
3748
+ * Creates an array of the own and inherited enumerable symbols of `object`.
3749
+ *
3750
+ * @private
3751
+ * @param {Object} object The object to query.
3752
+ * @returns {Array} Returns the array of symbols.
3753
+ */
3754
+ var getSymbolsIn = !nativeGetSymbols ? stubArray_default : function(object) {
3755
+ var result = [];
3756
+ while (object) {
3757
+ _arrayPush_default(result, _getSymbols_default(object));
3758
+ object = _getPrototype_default(object);
3759
+ }
3760
+ return result;
3761
+ };
3762
+ var _getSymbolsIn_default = getSymbolsIn;
3763
+
3764
+ //#endregion
3765
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.js
3766
+ /**
3767
+ * Copies own and inherited symbols of `source` to `object`.
3768
+ *
3769
+ * @private
3770
+ * @param {Object} source The object to copy symbols from.
3771
+ * @param {Object} [object={}] The object to copy symbols to.
3772
+ * @returns {Object} Returns `object`.
3773
+ */
3774
+ function copySymbolsIn(source, object) {
3775
+ return _copyObject_default(source, _getSymbolsIn_default(source), object);
3776
+ }
3777
+ var _copySymbolsIn_default = copySymbolsIn;
3778
+
3779
+ //#endregion
3780
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.js
3781
+ /**
3782
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
3783
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
3784
+ * symbols of `object`.
3785
+ *
3786
+ * @private
3787
+ * @param {Object} object The object to query.
3788
+ * @param {Function} keysFunc The function to get the keys of `object`.
3789
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
3790
+ * @returns {Array} Returns the array of property names and symbols.
3791
+ */
3792
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
3793
+ var result = keysFunc(object);
3794
+ return isArray_default(object) ? result : _arrayPush_default(result, symbolsFunc(object));
3795
+ }
3796
+ var _baseGetAllKeys_default = baseGetAllKeys;
3797
+
3798
+ //#endregion
3799
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.js
3800
+ /**
3801
+ * Creates an array of own enumerable property names and symbols of `object`.
3802
+ *
3803
+ * @private
3804
+ * @param {Object} object The object to query.
3805
+ * @returns {Array} Returns the array of property names and symbols.
3806
+ */
3807
+ function getAllKeys(object) {
3808
+ return _baseGetAllKeys_default(object, keys_default, _getSymbols_default);
3809
+ }
3810
+ var _getAllKeys_default = getAllKeys;
3811
+
3812
+ //#endregion
3813
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.js
3814
+ /**
3815
+ * Creates an array of own and inherited enumerable property names and
3816
+ * symbols of `object`.
3817
+ *
3818
+ * @private
3819
+ * @param {Object} object The object to query.
3820
+ * @returns {Array} Returns the array of property names and symbols.
3821
+ */
3822
+ function getAllKeysIn(object) {
3823
+ return _baseGetAllKeys_default(object, keysIn_default, _getSymbolsIn_default);
3824
+ }
3825
+ var _getAllKeysIn_default = getAllKeysIn;
3826
+
3827
+ //#endregion
3828
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js
3829
+ var DataView = _getNative_default(_root_default, "DataView");
3830
+ var _DataView_default = DataView;
3831
+
3832
+ //#endregion
3833
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.js
3834
+ var Promise$1 = _getNative_default(_root_default, "Promise");
3835
+ var _Promise_default = Promise$1;
3836
+
3837
+ //#endregion
3838
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js
3839
+ var Set$1 = _getNative_default(_root_default, "Set");
3840
+ var _Set_default = Set$1;
3841
+
3842
+ //#endregion
3843
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.js
3844
+ /** `Object#toString` result references. */
3845
+ var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
3846
+ var dataViewTag$2 = "[object DataView]";
3847
+ /** Used to detect maps, sets, and weakmaps. */
3848
+ var dataViewCtorString = _toSource_default(_DataView_default), mapCtorString = _toSource_default(_Map_default), promiseCtorString = _toSource_default(_Promise_default), setCtorString = _toSource_default(_Set_default), weakMapCtorString = _toSource_default(_WeakMap_default);
3849
+ /**
3850
+ * Gets the `toStringTag` of `value`.
3851
+ *
3852
+ * @private
3853
+ * @param {*} value The value to query.
3854
+ * @returns {string} Returns the `toStringTag`.
3855
+ */
3856
+ var getTag = _baseGetTag_default;
3857
+ if (_DataView_default && getTag(new _DataView_default(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$2 || _Map_default && getTag(new _Map_default()) != mapTag$3 || _Promise_default && getTag(_Promise_default.resolve()) != promiseTag || _Set_default && getTag(new _Set_default()) != setTag$3 || _WeakMap_default && getTag(new _WeakMap_default()) != weakMapTag$1) getTag = function(value) {
3858
+ var result = _baseGetTag_default(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? _toSource_default(Ctor) : "";
3859
+ if (ctorString) switch (ctorString) {
3860
+ case dataViewCtorString: return dataViewTag$2;
3861
+ case mapCtorString: return mapTag$3;
3862
+ case promiseCtorString: return promiseTag;
3863
+ case setCtorString: return setTag$3;
3864
+ case weakMapCtorString: return weakMapTag$1;
3865
+ }
3866
+ return result;
3867
+ };
3868
+ var _getTag_default = getTag;
3869
+
3870
+ //#endregion
3871
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.js
3872
+ /** Used for built-in method references. */
3873
+ var objectProto = Object.prototype;
3874
+ /** Used to check objects for own properties. */
3875
+ var hasOwnProperty = objectProto.hasOwnProperty;
3876
+ /**
3877
+ * Initializes an array clone.
3878
+ *
3879
+ * @private
3880
+ * @param {Array} array The array to clone.
3881
+ * @returns {Array} Returns the initialized clone.
3882
+ */
3883
+ function initCloneArray(array) {
3884
+ var length = array.length, result = new array.constructor(length);
3885
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
3886
+ result.index = array.index;
3887
+ result.input = array.input;
3888
+ }
3889
+ return result;
3890
+ }
3891
+ var _initCloneArray_default = initCloneArray;
3892
+
3893
+ //#endregion
3894
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js
3895
+ /** Built-in value references. */
3896
+ var Uint8Array = _root_default.Uint8Array;
3897
+ var _Uint8Array_default = Uint8Array;
3898
+
3899
+ //#endregion
3900
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.js
3901
+ /**
3902
+ * Creates a clone of `arrayBuffer`.
3903
+ *
3904
+ * @private
3905
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
3906
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
3907
+ */
3908
+ function cloneArrayBuffer(arrayBuffer) {
3909
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
3910
+ new _Uint8Array_default(result).set(new _Uint8Array_default(arrayBuffer));
3911
+ return result;
3912
+ }
3913
+ var _cloneArrayBuffer_default = cloneArrayBuffer;
3914
+
3915
+ //#endregion
3916
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.js
3917
+ /**
3918
+ * Creates a clone of `dataView`.
3919
+ *
3920
+ * @private
3921
+ * @param {Object} dataView The data view to clone.
3922
+ * @param {boolean} [isDeep] Specify a deep clone.
3923
+ * @returns {Object} Returns the cloned data view.
3924
+ */
3925
+ function cloneDataView(dataView, isDeep) {
3926
+ var buffer = isDeep ? _cloneArrayBuffer_default(dataView.buffer) : dataView.buffer;
3927
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
3928
+ }
3929
+ var _cloneDataView_default = cloneDataView;
3930
+
3931
+ //#endregion
3932
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.js
3933
+ /** Used to match `RegExp` flags from their coerced string values. */
3934
+ var reFlags = /\w*$/;
3935
+ /**
3936
+ * Creates a clone of `regexp`.
3937
+ *
3938
+ * @private
3939
+ * @param {Object} regexp The regexp to clone.
3940
+ * @returns {Object} Returns the cloned regexp.
3941
+ */
3942
+ function cloneRegExp(regexp) {
3943
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
3944
+ result.lastIndex = regexp.lastIndex;
3945
+ return result;
3946
+ }
3947
+ var _cloneRegExp_default = cloneRegExp;
3948
+
3949
+ //#endregion
3950
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.js
3951
+ /** Used to convert symbols to primitives and strings. */
3952
+ var symbolProto = _Symbol_default ? _Symbol_default.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
3953
+ /**
3954
+ * Creates a clone of the `symbol` object.
3955
+ *
3956
+ * @private
3957
+ * @param {Object} symbol The symbol object to clone.
3958
+ * @returns {Object} Returns the cloned symbol object.
3959
+ */
3960
+ function cloneSymbol(symbol) {
3961
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
3962
+ }
3963
+ var _cloneSymbol_default = cloneSymbol;
3964
+
3965
+ //#endregion
3966
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js
3967
+ /**
3968
+ * Creates a clone of `typedArray`.
3969
+ *
3970
+ * @private
3971
+ * @param {Object} typedArray The typed array to clone.
3972
+ * @param {boolean} [isDeep] Specify a deep clone.
3973
+ * @returns {Object} Returns the cloned typed array.
3974
+ */
3975
+ function cloneTypedArray(typedArray, isDeep) {
3976
+ var buffer = isDeep ? _cloneArrayBuffer_default(typedArray.buffer) : typedArray.buffer;
3977
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3978
+ }
3979
+ var _cloneTypedArray_default = cloneTypedArray;
3980
+
3981
+ //#endregion
3982
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.js
3983
+ /** `Object#toString` result references. */
3984
+ var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
3985
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
3986
+ /**
3987
+ * Initializes an object clone based on its `toStringTag`.
3988
+ *
3989
+ * **Note:** This function only supports cloning values with tags of
3990
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
3991
+ *
3992
+ * @private
3993
+ * @param {Object} object The object to clone.
3994
+ * @param {string} tag The `toStringTag` of the object to clone.
3995
+ * @param {boolean} [isDeep] Specify a deep clone.
3996
+ * @returns {Object} Returns the initialized clone.
3997
+ */
3998
+ function initCloneByTag(object, tag, isDeep) {
3999
+ var Ctor = object.constructor;
4000
+ switch (tag) {
4001
+ case arrayBufferTag$1: return _cloneArrayBuffer_default(object);
4002
+ case boolTag$1:
4003
+ case dateTag$1: return new Ctor(+object);
4004
+ case dataViewTag$1: return _cloneDataView_default(object, isDeep);
4005
+ case float32Tag$1:
4006
+ case float64Tag$1:
4007
+ case int8Tag$1:
4008
+ case int16Tag$1:
4009
+ case int32Tag$1:
4010
+ case uint8Tag$1:
4011
+ case uint8ClampedTag$1:
4012
+ case uint16Tag$1:
4013
+ case uint32Tag$1: return _cloneTypedArray_default(object, isDeep);
4014
+ case mapTag$2: return new Ctor();
4015
+ case numberTag$1:
4016
+ case stringTag$1: return new Ctor(object);
4017
+ case regexpTag$1: return _cloneRegExp_default(object);
4018
+ case setTag$2: return new Ctor();
4019
+ case symbolTag$1: return _cloneSymbol_default(object);
4020
+ }
4021
+ }
4022
+ var _initCloneByTag_default = initCloneByTag;
4023
+
4024
+ //#endregion
4025
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.js
4026
+ /**
4027
+ * Initializes an object clone.
4028
+ *
4029
+ * @private
4030
+ * @param {Object} object The object to clone.
4031
+ * @returns {Object} Returns the initialized clone.
4032
+ */
4033
+ function initCloneObject(object) {
4034
+ return typeof object.constructor == "function" && !_isPrototype_default(object) ? _baseCreate_default(_getPrototype_default(object)) : {};
4035
+ }
4036
+ var _initCloneObject_default = initCloneObject;
4037
+
4038
+ //#endregion
4039
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.js
4040
+ /** `Object#toString` result references. */
4041
+ var mapTag$1 = "[object Map]";
4042
+ /**
4043
+ * The base implementation of `_.isMap` without Node.js optimizations.
4044
+ *
4045
+ * @private
4046
+ * @param {*} value The value to check.
4047
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
4048
+ */
4049
+ function baseIsMap(value) {
4050
+ return isObjectLike_default(value) && _getTag_default(value) == mapTag$1;
4051
+ }
4052
+ var _baseIsMap_default = baseIsMap;
4053
+
4054
+ //#endregion
4055
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.js
4056
+ var nodeIsMap = _nodeUtil_default && _nodeUtil_default.isMap;
4057
+ /**
4058
+ * Checks if `value` is classified as a `Map` object.
4059
+ *
4060
+ * @static
4061
+ * @memberOf _
4062
+ * @since 4.3.0
4063
+ * @category Lang
4064
+ * @param {*} value The value to check.
4065
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
4066
+ * @example
4067
+ *
4068
+ * _.isMap(new Map);
4069
+ * // => true
4070
+ *
4071
+ * _.isMap(new WeakMap);
4072
+ * // => false
4073
+ */
4074
+ var isMap = nodeIsMap ? _baseUnary_default(nodeIsMap) : _baseIsMap_default;
4075
+ var isMap_default = isMap;
4076
+
4077
+ //#endregion
4078
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.js
4079
+ /** `Object#toString` result references. */
4080
+ var setTag$1 = "[object Set]";
4081
+ /**
4082
+ * The base implementation of `_.isSet` without Node.js optimizations.
4083
+ *
4084
+ * @private
4085
+ * @param {*} value The value to check.
4086
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
4087
+ */
4088
+ function baseIsSet(value) {
4089
+ return isObjectLike_default(value) && _getTag_default(value) == setTag$1;
4090
+ }
4091
+ var _baseIsSet_default = baseIsSet;
4092
+
4093
+ //#endregion
4094
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.js
4095
+ var nodeIsSet = _nodeUtil_default && _nodeUtil_default.isSet;
4096
+ /**
4097
+ * Checks if `value` is classified as a `Set` object.
4098
+ *
4099
+ * @static
4100
+ * @memberOf _
4101
+ * @since 4.3.0
4102
+ * @category Lang
4103
+ * @param {*} value The value to check.
4104
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
4105
+ * @example
4106
+ *
4107
+ * _.isSet(new Set);
4108
+ * // => true
4109
+ *
4110
+ * _.isSet(new WeakSet);
4111
+ * // => false
4112
+ */
4113
+ var isSet = nodeIsSet ? _baseUnary_default(nodeIsSet) : _baseIsSet_default;
4114
+ var isSet_default = isSet;
4115
+
4116
+ //#endregion
4117
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.js
4118
+ /** Used to compose bitmasks for cloning. */
4119
+ var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
4120
+ /** `Object#toString` result references. */
4121
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
4122
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
4123
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
4124
+ var cloneableTags = {};
4125
+ cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
4126
+ cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
4127
+ /**
4128
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
4129
+ * traversed objects.
4130
+ *
4131
+ * @private
4132
+ * @param {*} value The value to clone.
4133
+ * @param {boolean} bitmask The bitmask flags.
4134
+ * 1 - Deep clone
4135
+ * 2 - Flatten inherited properties
4136
+ * 4 - Clone symbols
4137
+ * @param {Function} [customizer] The function to customize cloning.
4138
+ * @param {string} [key] The key of `value`.
4139
+ * @param {Object} [object] The parent object of `value`.
4140
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
4141
+ * @returns {*} Returns the cloned value.
4142
+ */
4143
+ function baseClone(value, bitmask, customizer, key, object, stack) {
4144
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
4145
+ if (customizer) result = object ? customizer(value, key, object, stack) : customizer(value);
4146
+ if (result !== void 0) return result;
4147
+ if (!isObject_default(value)) return value;
4148
+ var isArr = isArray_default(value);
4149
+ if (isArr) {
4150
+ result = _initCloneArray_default(value);
4151
+ if (!isDeep) return _copyArray_default(value, result);
4152
+ } else {
4153
+ var tag = _getTag_default(value), isFunc = tag == funcTag || tag == genTag;
4154
+ if (isBuffer_default(value)) return _cloneBuffer_default(value, isDeep);
4155
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
4156
+ result = isFlat || isFunc ? {} : _initCloneObject_default(value);
4157
+ if (!isDeep) return isFlat ? _copySymbolsIn_default(value, _baseAssignIn_default(result, value)) : _copySymbols_default(value, _baseAssign_default(result, value));
4158
+ } else {
4159
+ if (!cloneableTags[tag]) return object ? value : {};
4160
+ result = _initCloneByTag_default(value, tag, isDeep);
4161
+ }
4162
+ }
4163
+ stack || (stack = new _Stack_default());
4164
+ var stacked = stack.get(value);
4165
+ if (stacked) return stacked;
4166
+ stack.set(value, result);
4167
+ if (isSet_default(value)) value.forEach(function(subValue) {
4168
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
4169
+ });
4170
+ else if (isMap_default(value)) value.forEach(function(subValue, key$1) {
4171
+ result.set(key$1, baseClone(subValue, bitmask, customizer, key$1, value, stack));
4172
+ });
4173
+ var keysFunc = isFull ? isFlat ? _getAllKeysIn_default : _getAllKeys_default : isFlat ? keysIn_default : keys_default;
4174
+ var props = isArr ? void 0 : keysFunc(value);
4175
+ _arrayEach_default(props || value, function(subValue, key$1) {
4176
+ if (props) {
4177
+ key$1 = subValue;
4178
+ subValue = value[key$1];
4179
+ }
4180
+ _assignValue_default(result, key$1, baseClone(subValue, bitmask, customizer, key$1, value, stack));
4181
+ });
4182
+ return result;
4183
+ }
4184
+ var _baseClone_default = baseClone;
4185
+
4186
+ //#endregion
4187
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.js
4188
+ /** Used to compose bitmasks for cloning. */
4189
+ var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
4190
+ /**
4191
+ * This method is like `_.clone` except that it recursively clones `value`.
4192
+ *
4193
+ * @static
4194
+ * @memberOf _
4195
+ * @since 1.0.0
4196
+ * @category Lang
4197
+ * @param {*} value The value to recursively clone.
4198
+ * @returns {*} Returns the deep cloned value.
4199
+ * @see _.clone
4200
+ * @example
4201
+ *
4202
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
4203
+ *
4204
+ * var deep = _.cloneDeep(objects);
4205
+ * console.log(deep[0] === objects[0]);
4206
+ * // => false
4207
+ */
4208
+ function cloneDeep(value) {
4209
+ return _baseClone_default(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
4210
+ }
4211
+ var cloneDeep_default = cloneDeep;
4212
+
4213
+ //#endregion
4214
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.js
4215
+ /**
4216
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
4217
+ *
4218
+ * @private
4219
+ * @param {boolean} [fromRight] Specify iterating from right to left.
4220
+ * @returns {Function} Returns the new base function.
4221
+ */
4222
+ function createBaseFor(fromRight) {
4223
+ return function(object, iteratee, keysFunc) {
4224
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
4225
+ while (length--) {
4226
+ var key = props[fromRight ? length : ++index];
4227
+ if (iteratee(iterable[key], key, iterable) === false) break;
4228
+ }
4229
+ return object;
4230
+ };
4231
+ }
4232
+ var _createBaseFor_default = createBaseFor;
4233
+
4234
+ //#endregion
4235
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.js
4236
+ /**
4237
+ * The base implementation of `baseForOwn` which iterates over `object`
4238
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
4239
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
4240
+ *
4241
+ * @private
4242
+ * @param {Object} object The object to iterate over.
4243
+ * @param {Function} iteratee The function invoked per iteration.
4244
+ * @param {Function} keysFunc The function to get the keys of `object`.
4245
+ * @returns {Object} Returns `object`.
4246
+ */
4247
+ var baseFor = _createBaseFor_default();
4248
+ var _baseFor_default = baseFor;
4249
+
4250
+ //#endregion
4251
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.js
4252
+ /**
4253
+ * This function is like `assignValue` except that it doesn't assign
4254
+ * `undefined` values.
4255
+ *
4256
+ * @private
4257
+ * @param {Object} object The object to modify.
4258
+ * @param {string} key The key of the property to assign.
4259
+ * @param {*} value The value to assign.
4260
+ */
4261
+ function assignMergeValue(object, key, value) {
4262
+ if (value !== void 0 && !eq_default(object[key], value) || value === void 0 && !(key in object)) _baseAssignValue_default(object, key, value);
4263
+ }
4264
+ var _assignMergeValue_default = assignMergeValue;
4265
+
4266
+ //#endregion
4267
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.js
4268
+ /**
4269
+ * This method is like `_.isArrayLike` except that it also checks if `value`
4270
+ * is an object.
4271
+ *
4272
+ * @static
4273
+ * @memberOf _
4274
+ * @since 4.0.0
4275
+ * @category Lang
4276
+ * @param {*} value The value to check.
4277
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
4278
+ * else `false`.
4279
+ * @example
4280
+ *
4281
+ * _.isArrayLikeObject([1, 2, 3]);
4282
+ * // => true
4283
+ *
4284
+ * _.isArrayLikeObject(document.body.children);
4285
+ * // => true
4286
+ *
4287
+ * _.isArrayLikeObject('abc');
4288
+ * // => false
4289
+ *
4290
+ * _.isArrayLikeObject(_.noop);
4291
+ * // => false
4292
+ */
4293
+ function isArrayLikeObject(value) {
4294
+ return isObjectLike_default(value) && isArrayLike_default(value);
4295
+ }
4296
+ var isArrayLikeObject_default = isArrayLikeObject;
4297
+
4298
+ //#endregion
4299
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.js
4300
+ /**
4301
+ * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
4302
+ *
4303
+ * @private
4304
+ * @param {Object} object The object to query.
4305
+ * @param {string} key The key of the property to get.
4306
+ * @returns {*} Returns the property value.
4307
+ */
4308
+ function safeGet(object, key) {
4309
+ if (key === "constructor" && typeof object[key] === "function") return;
4310
+ if (key == "__proto__") return;
4311
+ return object[key];
4312
+ }
4313
+ var _safeGet_default = safeGet;
4314
+
4315
+ //#endregion
4316
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.js
4317
+ /**
4318
+ * Converts `value` to a plain object flattening inherited enumerable string
4319
+ * keyed properties of `value` to own properties of the plain object.
4320
+ *
4321
+ * @static
4322
+ * @memberOf _
4323
+ * @since 3.0.0
4324
+ * @category Lang
4325
+ * @param {*} value The value to convert.
4326
+ * @returns {Object} Returns the converted plain object.
4327
+ * @example
4328
+ *
4329
+ * function Foo() {
4330
+ * this.b = 2;
4331
+ * }
4332
+ *
4333
+ * Foo.prototype.c = 3;
4334
+ *
4335
+ * _.assign({ 'a': 1 }, new Foo);
4336
+ * // => { 'a': 1, 'b': 2 }
4337
+ *
4338
+ * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
4339
+ * // => { 'a': 1, 'b': 2, 'c': 3 }
4340
+ */
4341
+ function toPlainObject(value) {
4342
+ return _copyObject_default(value, keysIn_default(value));
4343
+ }
4344
+ var toPlainObject_default = toPlainObject;
4345
+
4346
+ //#endregion
4347
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.js
4348
+ /**
4349
+ * A specialized version of `baseMerge` for arrays and objects which performs
4350
+ * deep merges and tracks traversed objects enabling objects with circular
4351
+ * references to be merged.
4352
+ *
4353
+ * @private
4354
+ * @param {Object} object The destination object.
4355
+ * @param {Object} source The source object.
4356
+ * @param {string} key The key of the value to merge.
4357
+ * @param {number} srcIndex The index of `source`.
4358
+ * @param {Function} mergeFunc The function to merge values.
4359
+ * @param {Function} [customizer] The function to customize assigned values.
4360
+ * @param {Object} [stack] Tracks traversed source values and their merged
4361
+ * counterparts.
4362
+ */
4363
+ function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
4364
+ var objValue = _safeGet_default(object, key), srcValue = _safeGet_default(source, key), stacked = stack.get(srcValue);
4365
+ if (stacked) {
4366
+ _assignMergeValue_default(object, key, stacked);
4367
+ return;
4368
+ }
4369
+ var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
4370
+ var isCommon = newValue === void 0;
4371
+ if (isCommon) {
4372
+ var isArr = isArray_default(srcValue), isBuff = !isArr && isBuffer_default(srcValue), isTyped = !isArr && !isBuff && isTypedArray_default(srcValue);
4373
+ newValue = srcValue;
4374
+ if (isArr || isBuff || isTyped) if (isArray_default(objValue)) newValue = objValue;
4375
+ else if (isArrayLikeObject_default(objValue)) newValue = _copyArray_default(objValue);
4376
+ else if (isBuff) {
4377
+ isCommon = false;
4378
+ newValue = _cloneBuffer_default(srcValue, true);
4379
+ } else if (isTyped) {
4380
+ isCommon = false;
4381
+ newValue = _cloneTypedArray_default(srcValue, true);
4382
+ } else newValue = [];
4383
+ else if (isPlainObject_default(srcValue) || isArguments_default(srcValue)) {
4384
+ newValue = objValue;
4385
+ if (isArguments_default(objValue)) newValue = toPlainObject_default(objValue);
4386
+ else if (!isObject_default(objValue) || isFunction_default(objValue)) newValue = _initCloneObject_default(srcValue);
4387
+ } else isCommon = false;
4388
+ }
4389
+ if (isCommon) {
4390
+ stack.set(srcValue, newValue);
4391
+ mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
4392
+ stack["delete"](srcValue);
4393
+ }
4394
+ _assignMergeValue_default(object, key, newValue);
4395
+ }
4396
+ var _baseMergeDeep_default = baseMergeDeep;
4397
+
4398
+ //#endregion
4399
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.js
4400
+ /**
4401
+ * The base implementation of `_.merge` without support for multiple sources.
4402
+ *
4403
+ * @private
4404
+ * @param {Object} object The destination object.
4405
+ * @param {Object} source The source object.
4406
+ * @param {number} srcIndex The index of `source`.
4407
+ * @param {Function} [customizer] The function to customize merged values.
4408
+ * @param {Object} [stack] Tracks traversed source values and their merged
4409
+ * counterparts.
4410
+ */
4411
+ function baseMerge(object, source, srcIndex, customizer, stack) {
4412
+ if (object === source) return;
4413
+ _baseFor_default(source, function(srcValue, key) {
4414
+ stack || (stack = new _Stack_default());
4415
+ if (isObject_default(srcValue)) _baseMergeDeep_default(object, source, key, srcIndex, baseMerge, customizer, stack);
4416
+ else {
4417
+ var newValue = customizer ? customizer(_safeGet_default(object, key), srcValue, key + "", object, source, stack) : void 0;
4418
+ if (newValue === void 0) newValue = srcValue;
4419
+ _assignMergeValue_default(object, key, newValue);
4420
+ }
4421
+ }, keysIn_default);
4422
+ }
4423
+ var _baseMerge_default = baseMerge;
4424
+
4425
+ //#endregion
4426
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.js
4427
+ /**
4428
+ * This method is like `_.assign` except that it recursively merges own and
4429
+ * inherited enumerable string keyed properties of source objects into the
4430
+ * destination object. Source properties that resolve to `undefined` are
4431
+ * skipped if a destination value exists. Array and plain object properties
4432
+ * are merged recursively. Other objects and value types are overridden by
4433
+ * assignment. Source objects are applied from left to right. Subsequent
4434
+ * sources overwrite property assignments of previous sources.
4435
+ *
4436
+ * **Note:** This method mutates `object`.
4437
+ *
4438
+ * @static
4439
+ * @memberOf _
4440
+ * @since 0.5.0
4441
+ * @category Object
4442
+ * @param {Object} object The destination object.
4443
+ * @param {...Object} [sources] The source objects.
4444
+ * @returns {Object} Returns `object`.
4445
+ * @example
4446
+ *
4447
+ * var object = {
4448
+ * 'a': [{ 'b': 2 }, { 'd': 4 }]
4449
+ * };
4450
+ *
4451
+ * var other = {
4452
+ * 'a': [{ 'c': 3 }, { 'e': 5 }]
4453
+ * };
4454
+ *
4455
+ * _.merge(object, other);
4456
+ * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
4457
+ */
4458
+ var merge = _createAssigner_default(function(object, source, srcIndex) {
4459
+ _baseMerge_default(object, source, srcIndex);
4460
+ });
4461
+ var merge_default = merge;
4462
+
4463
+ //#endregion
4464
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.js
4465
+ /**
4466
+ * The base implementation of `_.set`.
4467
+ *
4468
+ * @private
4469
+ * @param {Object} object The object to modify.
4470
+ * @param {Array|string} path The path of the property to set.
4471
+ * @param {*} value The value to set.
4472
+ * @param {Function} [customizer] The function to customize path creation.
4473
+ * @returns {Object} Returns `object`.
4474
+ */
4475
+ function baseSet(object, path, value, customizer) {
4476
+ if (!isObject_default(object)) return object;
4477
+ path = _castPath_default(path, object);
4478
+ var index = -1, length = path.length, lastIndex = length - 1, nested = object;
4479
+ while (nested != null && ++index < length) {
4480
+ var key = _toKey_default(path[index]), newValue = value;
4481
+ if (key === "__proto__" || key === "constructor" || key === "prototype") return object;
4482
+ if (index != lastIndex) {
4483
+ var objValue = nested[key];
4484
+ newValue = customizer ? customizer(objValue, key, nested) : void 0;
4485
+ if (newValue === void 0) newValue = isObject_default(objValue) ? objValue : _isIndex_default(path[index + 1]) ? [] : {};
4486
+ }
4487
+ _assignValue_default(nested, key, newValue);
4488
+ nested = nested[key];
4489
+ }
4490
+ return object;
4491
+ }
4492
+ var _baseSet_default = baseSet;
4493
+
4494
+ //#endregion
4495
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.js
4496
+ /**
4497
+ * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
4498
+ * it's created. Arrays are created for missing index properties while objects
4499
+ * are created for all other missing properties. Use `_.setWith` to customize
4500
+ * `path` creation.
4501
+ *
4502
+ * **Note:** This method mutates `object`.
4503
+ *
4504
+ * @static
4505
+ * @memberOf _
4506
+ * @since 3.7.0
4507
+ * @category Object
4508
+ * @param {Object} object The object to modify.
4509
+ * @param {Array|string} path The path of the property to set.
4510
+ * @param {*} value The value to set.
4511
+ * @returns {Object} Returns `object`.
4512
+ * @example
4513
+ *
4514
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
4515
+ *
4516
+ * _.set(object, 'a[0].b.c', 4);
4517
+ * console.log(object.a[0].b.c);
4518
+ * // => 4
4519
+ *
4520
+ * _.set(object, ['x', '0', 'y', 'z'], 5);
4521
+ * console.log(object.x[0].y.z);
4522
+ * // => 5
4523
+ */
4524
+ function set(object, path, value) {
4525
+ return object == null ? object : _baseSet_default(object, path, value);
4526
+ }
4527
+ var set_default = set;
4528
+
1481
4529
  //#endregion
1482
4530
  //#region src/config/default.ts
1483
4531
  const defaultConfig = {
@@ -1517,34 +4565,34 @@ var ConfigManager = class {
1517
4565
  * 合并配置
1518
4566
  */
1519
4567
  mergeConfig(defaultConfig$1, userConfig) {
1520
- return merge(cloneDeep(defaultConfig$1), userConfig);
4568
+ return merge_default(cloneDeep_default(defaultConfig$1), userConfig);
1521
4569
  }
1522
4570
  /**
1523
4571
  * 获取完整配置
1524
4572
  */
1525
4573
  getConfig() {
1526
- return cloneDeep(this.config);
4574
+ return cloneDeep_default(this.config);
1527
4575
  }
1528
4576
  /**
1529
4577
  * 获取配置项
1530
4578
  */
1531
4579
  get(path, defaultValue) {
1532
4580
  if (!path) return this.getConfig();
1533
- return get(this.config, path, defaultValue);
4581
+ return get_default(this.config, path, defaultValue);
1534
4582
  }
1535
4583
  /**
1536
4584
  * 设置配置项
1537
4585
  */
1538
4586
  set(path, value) {
1539
4587
  const oldValue = this.get(path);
1540
- set(this.config, path, value);
4588
+ set_default(this.config, path, value);
1541
4589
  this.notifyChange(path, value, oldValue);
1542
4590
  }
1543
4591
  /**
1544
4592
  * 更新配置
1545
4593
  */
1546
4594
  update(newConfig) {
1547
- const oldConfig = cloneDeep(this.config);
4595
+ const oldConfig = cloneDeep_default(this.config);
1548
4596
  this.config = this.mergeConfig(this.config, newConfig);
1549
4597
  this.notifyChange("*", this.config, oldConfig);
1550
4598
  }
@@ -1552,7 +4600,7 @@ var ConfigManager = class {
1552
4600
  * 重置配置
1553
4601
  */
1554
4602
  reset(newConfig = {}) {
1555
- const oldConfig = cloneDeep(this.config);
4603
+ const oldConfig = cloneDeep_default(this.config);
1556
4604
  this.config = this.mergeConfig(default_default$1, newConfig);
1557
4605
  this.notifyChange("*", this.config, oldConfig);
1558
4606
  }
@@ -2497,9 +5545,9 @@ var ThemeManager = class {
2497
5545
  * @returns {*} 变量值
2498
5546
  */
2499
5547
  getThemeValue(path, defaultValue) {
2500
- const keys = path.split(".");
5548
+ const keys$1 = path.split(".");
2501
5549
  let value = this.currentTheme;
2502
- for (const key of keys) if (value && typeof value === "object" && key in value) value = value[key];
5550
+ for (const key of keys$1) if (value && typeof value === "object" && key in value) value = value[key];
2503
5551
  else return defaultValue;
2504
5552
  return value;
2505
5553
  }