@mailstep/design-system 0.1.2 → 0.1.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/build/dts/Blocks/CornerDialog/CornerDialog.d.ts +3 -0
- package/build/dts/Blocks/CornerDialog/index.d.ts +2 -0
- package/build/dts/Blocks/CornerDialog/stories/CornerDialog.stories.d.ts +14 -0
- package/build/dts/Blocks/CornerDialog/styles.d.ts +12 -0
- package/build/dts/Blocks/CornerDialog/types.d.ts +16 -0
- package/build/dts/Blocks/CornerDialog/utils.d.ts +3 -0
- package/build/dts/Blocks/ImageList/ImageList.d.ts +3 -0
- package/build/dts/Blocks/ImageList/components/AddPhoto/index.d.ts +7 -0
- package/build/dts/Blocks/ImageList/components/AddPhoto/styles.d.ts +2 -0
- package/build/dts/Blocks/ImageList/components/CloseButton/index.d.ts +6 -0
- package/build/dts/Blocks/ImageList/components/CloseButton/styles.d.ts +1 -0
- package/build/dts/Blocks/ImageList/components/ImageElement/index.d.ts +9 -0
- package/build/dts/Blocks/ImageList/components/ImageElement/styles.d.ts +2 -0
- package/build/dts/Blocks/ImageList/components/ImageTag/index.d.ts +6 -0
- package/build/dts/Blocks/ImageList/components/ImageTag/styles.d.ts +1 -0
- package/build/dts/Blocks/ImageList/index.d.ts +4 -0
- package/build/dts/Blocks/ImageList/styles.d.ts +1 -0
- package/build/dts/Blocks/ImageList/types.d.ts +12 -0
- package/build/dts/Blocks/LightBox/LightBox.d.ts +4 -0
- package/build/dts/Blocks/LightBox/hooks/useLightBox.d.ts +2 -0
- package/build/dts/Blocks/LightBox/index.d.ts +3 -0
- package/build/dts/Blocks/LightBox/styles.d.ts +3 -0
- package/build/dts/Blocks/LightBox/types.d.ts +24 -0
- package/build/dts/Blocks/Modal/Modal.d.ts +3 -0
- package/build/dts/Blocks/Modal/hooks/useClickOutside.d.ts +3 -0
- package/build/dts/Blocks/Modal/hooks/useModal.d.ts +2 -0
- package/build/dts/Blocks/Modal/index.d.ts +4 -0
- package/build/dts/Blocks/Modal/stories/Modal.stories.d.ts +26 -0
- package/build/dts/Blocks/Modal/styles.d.ts +22 -0
- package/build/dts/Blocks/Modal/types.d.ts +45 -0
- package/build/dts/Blocks/Modal/utils.d.ts +3 -0
- package/build/dts/Blocks/Tabs/TabContent.d.ts +2 -0
- package/build/dts/Blocks/Tabs/Tabs.d.ts +3 -0
- package/build/dts/Blocks/Tabs/hooks/useTabs.d.ts +2 -0
- package/build/dts/Blocks/Tabs/index.d.ts +3 -0
- package/build/dts/Blocks/Tabs/stories/Tabs.stories.d.ts +13 -0
- package/build/dts/Blocks/Tabs/styles.d.ts +8 -0
- package/build/dts/Blocks/Tabs/types.d.ts +27 -0
- package/build/dts/Elements/Alert/Alert.d.ts +3 -0
- package/build/dts/Elements/Alert/index.d.ts +2 -0
- package/build/dts/Elements/Alert/stories/Alert.stories.d.ts +17 -0
- package/build/dts/Elements/Alert/styles.d.ts +44 -0
- package/build/dts/Elements/Alert/types.d.ts +18 -0
- package/build/dts/Elements/Avatar/Avatar.d.ts +3 -0
- package/build/dts/Elements/Avatar/index.d.ts +1 -0
- package/build/dts/Elements/Avatar/stories/Avatar.stories.d.ts +12 -0
- package/build/dts/Elements/Avatar/types.d.ts +8 -0
- package/build/dts/Elements/Badge/Badge.d.ts +12 -0
- package/build/dts/Elements/Badge/index.d.ts +2 -0
- package/build/dts/Elements/Badge/stories/Badge.stories.d.ts +12 -0
- package/build/dts/Elements/BorderedBox/BorderedBox.d.ts +4 -0
- package/build/dts/Elements/BorderedBox/index.d.ts +2 -0
- package/build/dts/Elements/BorderedBox/stories/BorderedBox.stories.d.ts +11 -0
- package/build/dts/Elements/BorderedBox/types.d.ts +6 -0
- package/build/dts/Elements/Button/Button.d.ts +4 -0
- package/build/dts/Elements/Button/index.d.ts +4 -0
- package/build/dts/Elements/Button/stories/Button.stories.d.ts +20 -0
- package/build/dts/Elements/Button/styles.d.ts +19 -0
- package/build/dts/Elements/Button/types.d.ts +22 -0
- package/build/dts/Elements/Card/Card.d.ts +7 -0
- package/build/dts/Elements/Card/index.d.ts +1 -0
- package/build/dts/Elements/Card/stories/Card.stories.d.ts +16 -0
- package/build/dts/Elements/Card/stories/CardComponent.stories.d.ts +12 -0
- package/build/dts/Elements/Card/styles.d.ts +14 -0
- package/build/dts/Elements/Card/types.d.ts +21 -0
- package/build/dts/Elements/Dropdown/Dropdown.d.ts +4 -0
- package/build/dts/Elements/Dropdown/index.d.ts +2 -0
- package/build/dts/Elements/Dropdown/stories/Dropdown.stories.d.ts +11 -0
- package/build/dts/Elements/Dropdown/types.d.ts +10 -0
- package/build/dts/Elements/ErrorMessage/ErrorMessage.d.ts +4 -0
- package/build/dts/Elements/ErrorMessage/index.d.ts +2 -0
- package/build/dts/Elements/ErrorMessage/stories/ErrorMessage.stories.d.ts +12 -0
- package/build/dts/Elements/ErrorMessage/types.d.ts +5 -0
- package/build/dts/Elements/Icon/BadgeIcon.d.ts +7 -0
- package/build/dts/Elements/Icon/Icon.d.ts +9 -0
- package/build/dts/Elements/Icon/icons/FlagCZ.d.ts +3 -0
- package/build/dts/Elements/Icon/icons/FlagUSA.d.ts +3 -0
- package/build/dts/Elements/Icon/icons/index.d.ts +2 -0
- package/build/dts/Elements/Icon/index.d.ts +5 -0
- package/build/dts/Elements/Icon/stories/BadgeIcon.stories.d.ts +24 -0
- package/build/dts/Elements/Icon/stories/Icon.stories.d.ts +16 -0
- package/build/dts/Elements/Icon/types.d.ts +22 -0
- package/build/dts/Elements/Image/Image.d.ts +4 -0
- package/build/dts/Elements/Image/index.d.ts +2 -0
- package/build/dts/Elements/Image/stories/Image.stories.d.ts +14 -0
- package/build/dts/Elements/Image/types.d.ts +18 -0
- package/build/dts/Elements/Label/Label.d.ts +6 -0
- package/build/dts/Elements/Label/index.d.ts +1 -0
- package/build/dts/Elements/Label/stories/Label.stories.d.ts +13 -0
- package/build/dts/Elements/Line/Line.d.ts +3 -0
- package/build/dts/Elements/Line/index.d.ts +2 -0
- package/build/dts/Elements/Line/stories/Line.stories.d.ts +16 -0
- package/build/dts/Elements/Line/types.d.ts +12 -0
- package/build/dts/Elements/Link/Link.d.ts +29 -0
- package/build/dts/Elements/Link/index.d.ts +2 -0
- package/build/dts/Elements/Link/stories/Link.stories.d.ts +42 -0
- package/build/dts/Elements/Logo/Logo.d.ts +4 -0
- package/build/dts/Elements/Logo/index.d.ts +2 -0
- package/build/dts/Elements/Logo/stories/Logo.stories.d.ts +34 -0
- package/build/dts/Elements/Logo/types.d.ts +10 -0
- package/build/dts/Elements/Pagination/Pagination.d.ts +9 -0
- package/build/dts/Elements/Pagination/index.d.ts +2 -0
- package/build/dts/Elements/Pagination/stories/Pagination.stories.d.ts +12 -0
- package/build/dts/Elements/Pagination/styled.d.ts +15 -0
- package/build/dts/Elements/Paragraph/Paragraph.d.ts +2 -0
- package/build/dts/Elements/Paragraph/index.d.ts +2 -0
- package/build/dts/Elements/Paragraph/stories/Paragraph.stories.d.ts +17 -0
- package/build/dts/Elements/Portal/index.d.ts +4 -0
- package/build/dts/Elements/ProgressBar/ProgressBar.d.ts +10 -0
- package/build/dts/Elements/ProgressBar/index.d.ts +2 -0
- package/build/dts/Elements/ProgressBar/stories/ProgressBar.stories.d.ts +19 -0
- package/build/dts/Elements/ProgressBar/styles.d.ts +9 -0
- package/build/dts/Elements/SimpleLink/SimpleLink.d.ts +19 -0
- package/build/dts/Elements/SimpleLink/index.d.ts +2 -0
- package/build/dts/Elements/SpaceAround/SpaceAround.d.ts +4 -0
- package/build/dts/Elements/SpaceAround/index.d.ts +3 -0
- package/build/dts/Elements/SpaceAround/stories/SpaceAround.stories.d.ts +12 -0
- package/build/dts/Elements/SpaceAround/types.d.ts +14 -0
- package/build/dts/Elements/Spinner/Spinner.d.ts +14 -0
- package/build/dts/Elements/Spinner/index.d.ts +2 -0
- package/build/dts/Elements/Spinner/stories/Spinner.stories.d.ts +19 -0
- package/build/dts/Elements/Spinner/styles.d.ts +4 -0
- package/build/dts/Elements/Spinner/types.d.ts +7 -0
- package/build/dts/Elements/Tag/Tag.d.ts +3 -0
- package/build/dts/Elements/Tag/index.d.ts +3 -0
- package/build/dts/Elements/Tag/palletes.d.ts +5 -0
- package/build/dts/Elements/Tag/stories/Tag.stories.d.ts +19 -0
- package/build/dts/Elements/Tag/stories/components/predefinedTags.d.ts +3 -0
- package/build/dts/Elements/Tag/types.d.ts +16 -0
- package/build/dts/Elements/Text/Text.d.ts +4 -0
- package/build/dts/Elements/Text/index.d.ts +3 -0
- package/build/dts/Elements/Text/stories/Text.stories.d.ts +16 -0
- package/build/dts/Elements/Text/types.d.ts +13 -0
- package/build/dts/Elements/Toast/Toast.d.ts +12 -0
- package/build/dts/Elements/Toast/index.d.ts +3 -0
- package/build/dts/Elements/Toggle/Toggle.d.ts +4 -0
- package/build/dts/Elements/Toggle/index.d.ts +2 -0
- package/build/dts/Elements/Toggle/stories/Toggle.stories.d.ts +14 -0
- package/build/dts/Elements/Toggle/types.d.ts +21 -0
- package/build/dts/Elements/Typography/Typography.d.ts +118 -0
- package/build/dts/Elements/Typography/index.d.ts +1 -0
- package/build/dts/Elements/Typography/stories/Typography.stories.d.ts +20 -0
- package/build/dts/Forms/Checkbox/Checkbox.d.ts +4 -0
- package/build/dts/Forms/Checkbox/index.d.ts +2 -0
- package/build/dts/Forms/Checkbox/stories/Checkbox.stories.d.ts +14 -0
- package/build/dts/Forms/Checkbox/styles.d.ts +11 -0
- package/build/dts/Forms/Checkbox/types.d.ts +16 -0
- package/build/dts/Forms/Input/Input.d.ts +3 -0
- package/build/dts/Forms/Input/index.d.ts +4 -0
- package/build/dts/Forms/Input/stories/Input.stories.d.ts +17 -0
- package/build/dts/Forms/Input/styles.d.ts +31 -0
- package/build/dts/Forms/Input/types.d.ts +49 -0
- package/build/dts/Forms/RadioButton/RadioButton.d.ts +4 -0
- package/build/dts/Forms/RadioButton/index.d.ts +2 -0
- package/build/dts/Forms/RadioButton/stories/RadioButton.stories.d.ts +14 -0
- package/build/dts/Forms/RadioButton/styles.d.ts +10 -0
- package/build/dts/Forms/RadioButton/types.d.ts +12 -0
- package/build/dts/ThemeProvider/ThemeProvider.d.ts +3 -0
- package/build/dts/ThemeProvider/index.d.ts +5 -0
- package/build/dts/ThemeProvider/themes/default.d.ts +141 -0
- package/build/dts/ThemeProvider/themes/index.d.ts +350 -0
- package/build/dts/ThemeProvider/themes/light.d.ts +3 -0
- package/build/dts/ThemeProvider/themes/mailwise.d.ts +207 -0
- package/build/dts/ThemeProvider/types.d.ts +50 -0
- package/build/dts/index.d.ts +35 -0
- package/build/dts/utils/KeyPress/KeyPress.stories.d.ts +10 -0
- package/build/index.es.js +458 -538
- package/build/index.es.js.map +1 -1
- package/build/index.js +458 -536
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1852,27 +1852,27 @@ var _root = root$c;
|
|
|
1852
1852
|
var root$b = _root;
|
|
1853
1853
|
|
|
1854
1854
|
/** Built-in value references. */
|
|
1855
|
-
var Symbol$
|
|
1855
|
+
var Symbol$6 = root$b.Symbol;
|
|
1856
1856
|
|
|
1857
|
-
var _Symbol = Symbol$
|
|
1857
|
+
var _Symbol = Symbol$6;
|
|
1858
1858
|
|
|
1859
|
-
var Symbol$
|
|
1859
|
+
var Symbol$5 = _Symbol;
|
|
1860
1860
|
|
|
1861
1861
|
/** Used for built-in method references. */
|
|
1862
|
-
var objectProto$
|
|
1862
|
+
var objectProto$h = Object.prototype;
|
|
1863
1863
|
|
|
1864
1864
|
/** Used to check objects for own properties. */
|
|
1865
|
-
var hasOwnProperty$
|
|
1865
|
+
var hasOwnProperty$e = objectProto$h.hasOwnProperty;
|
|
1866
1866
|
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Used to resolve the
|
|
1869
1869
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
1870
1870
|
* of values.
|
|
1871
1871
|
*/
|
|
1872
|
-
var nativeObjectToString$1 = objectProto$
|
|
1872
|
+
var nativeObjectToString$1 = objectProto$h.toString;
|
|
1873
1873
|
|
|
1874
1874
|
/** Built-in value references. */
|
|
1875
|
-
var symToStringTag$1 = Symbol$
|
|
1875
|
+
var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
1876
1876
|
|
|
1877
1877
|
/**
|
|
1878
1878
|
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
@@ -1882,7 +1882,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
|
|
|
1882
1882
|
* @returns {string} Returns the raw `toStringTag`.
|
|
1883
1883
|
*/
|
|
1884
1884
|
function getRawTag$1(value) {
|
|
1885
|
-
var isOwn = hasOwnProperty$
|
|
1885
|
+
var isOwn = hasOwnProperty$e.call(value, symToStringTag$1),
|
|
1886
1886
|
tag = value[symToStringTag$1];
|
|
1887
1887
|
|
|
1888
1888
|
try {
|
|
@@ -1905,14 +1905,14 @@ var _getRawTag = getRawTag$1;
|
|
|
1905
1905
|
|
|
1906
1906
|
/** Used for built-in method references. */
|
|
1907
1907
|
|
|
1908
|
-
var objectProto$
|
|
1908
|
+
var objectProto$g = Object.prototype;
|
|
1909
1909
|
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Used to resolve the
|
|
1912
1912
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
1913
1913
|
* of values.
|
|
1914
1914
|
*/
|
|
1915
|
-
var nativeObjectToString = objectProto$
|
|
1915
|
+
var nativeObjectToString = objectProto$g.toString;
|
|
1916
1916
|
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -1927,7 +1927,7 @@ function objectToString$1(value) {
|
|
|
1927
1927
|
|
|
1928
1928
|
var _objectToString = objectToString$1;
|
|
1929
1929
|
|
|
1930
|
-
var Symbol$
|
|
1930
|
+
var Symbol$4 = _Symbol,
|
|
1931
1931
|
getRawTag = _getRawTag,
|
|
1932
1932
|
objectToString = _objectToString;
|
|
1933
1933
|
|
|
@@ -1936,7 +1936,7 @@ var nullTag = '[object Null]',
|
|
|
1936
1936
|
undefinedTag = '[object Undefined]';
|
|
1937
1937
|
|
|
1938
1938
|
/** Built-in value references. */
|
|
1939
|
-
var symToStringTag = Symbol$
|
|
1939
|
+
var symToStringTag = Symbol$4 ? Symbol$4.toStringTag : undefined;
|
|
1940
1940
|
|
|
1941
1941
|
/**
|
|
1942
1942
|
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
@@ -1945,7 +1945,7 @@ var symToStringTag = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
|
1945
1945
|
* @param {*} value The value to query.
|
|
1946
1946
|
* @returns {string} Returns the `toStringTag`.
|
|
1947
1947
|
*/
|
|
1948
|
-
function baseGetTag$
|
|
1948
|
+
function baseGetTag$6(value) {
|
|
1949
1949
|
if (value == null) {
|
|
1950
1950
|
return value === undefined ? undefinedTag : nullTag;
|
|
1951
1951
|
}
|
|
@@ -1954,7 +1954,7 @@ function baseGetTag$7(value) {
|
|
|
1954
1954
|
: objectToString(value);
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
var _baseGetTag = baseGetTag$
|
|
1957
|
+
var _baseGetTag = baseGetTag$6;
|
|
1958
1958
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
* Checks if `value` is the
|
|
@@ -1989,7 +1989,7 @@ function isObject$8(value) {
|
|
|
1989
1989
|
|
|
1990
1990
|
var isObject_1 = isObject$8;
|
|
1991
1991
|
|
|
1992
|
-
var baseGetTag$
|
|
1992
|
+
var baseGetTag$5 = _baseGetTag,
|
|
1993
1993
|
isObject$7 = isObject_1;
|
|
1994
1994
|
|
|
1995
1995
|
/** `Object#toString` result references. */
|
|
@@ -2021,7 +2021,7 @@ function isFunction$2(value) {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
2023
2023
|
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
2024
|
-
var tag = baseGetTag$
|
|
2024
|
+
var tag = baseGetTag$5(value);
|
|
2025
2025
|
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
2026
2026
|
}
|
|
2027
2027
|
|
|
@@ -2099,17 +2099,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
|
2099
2099
|
|
|
2100
2100
|
/** Used for built-in method references. */
|
|
2101
2101
|
var funcProto$1 = Function.prototype,
|
|
2102
|
-
objectProto$
|
|
2102
|
+
objectProto$f = Object.prototype;
|
|
2103
2103
|
|
|
2104
2104
|
/** Used to resolve the decompiled source of functions. */
|
|
2105
2105
|
var funcToString$1 = funcProto$1.toString;
|
|
2106
2106
|
|
|
2107
2107
|
/** Used to check objects for own properties. */
|
|
2108
|
-
var hasOwnProperty$
|
|
2108
|
+
var hasOwnProperty$d = objectProto$f.hasOwnProperty;
|
|
2109
2109
|
|
|
2110
2110
|
/** Used to detect if a method is native. */
|
|
2111
2111
|
var reIsNative = RegExp('^' +
|
|
2112
|
-
funcToString$1.call(hasOwnProperty$
|
|
2112
|
+
funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar, '\\$&')
|
|
2113
2113
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
2114
2114
|
);
|
|
2115
2115
|
|
|
@@ -2157,18 +2157,18 @@ var baseIsNative = _baseIsNative,
|
|
|
2157
2157
|
* @param {string} key The key of the method to get.
|
|
2158
2158
|
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
2159
2159
|
*/
|
|
2160
|
-
function getNative$
|
|
2160
|
+
function getNative$7(object, key) {
|
|
2161
2161
|
var value = getValue(object, key);
|
|
2162
2162
|
return baseIsNative(value) ? value : undefined;
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
|
-
var _getNative = getNative$
|
|
2165
|
+
var _getNative = getNative$7;
|
|
2166
2166
|
|
|
2167
|
-
var getNative$
|
|
2167
|
+
var getNative$6 = _getNative,
|
|
2168
2168
|
root$9 = _root;
|
|
2169
2169
|
|
|
2170
2170
|
/* Built-in method references that are verified to be native. */
|
|
2171
|
-
var WeakMap$2 = getNative$
|
|
2171
|
+
var WeakMap$2 = getNative$6(root$9, 'WeakMap');
|
|
2172
2172
|
|
|
2173
2173
|
var _WeakMap = WeakMap$2;
|
|
2174
2174
|
|
|
@@ -2510,10 +2510,10 @@ var _realNames = realNames$1;
|
|
|
2510
2510
|
var realNames = _realNames;
|
|
2511
2511
|
|
|
2512
2512
|
/** Used for built-in method references. */
|
|
2513
|
-
var objectProto$
|
|
2513
|
+
var objectProto$e = Object.prototype;
|
|
2514
2514
|
|
|
2515
2515
|
/** Used to check objects for own properties. */
|
|
2516
|
-
var hasOwnProperty$
|
|
2516
|
+
var hasOwnProperty$c = objectProto$e.hasOwnProperty;
|
|
2517
2517
|
|
|
2518
2518
|
/**
|
|
2519
2519
|
* Gets the name of `func`.
|
|
@@ -2525,7 +2525,7 @@ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
|
|
|
2525
2525
|
function getFuncName$1(func) {
|
|
2526
2526
|
var result = (func.name + ''),
|
|
2527
2527
|
array = realNames[result],
|
|
2528
|
-
length = hasOwnProperty$
|
|
2528
|
+
length = hasOwnProperty$c.call(realNames, result) ? array.length : 0;
|
|
2529
2529
|
|
|
2530
2530
|
while (length--) {
|
|
2531
2531
|
var data = array[length],
|
|
@@ -2586,9 +2586,9 @@ var _LodashWrapper = LodashWrapper$2;
|
|
|
2586
2586
|
* // => false
|
|
2587
2587
|
*/
|
|
2588
2588
|
|
|
2589
|
-
var isArray$
|
|
2589
|
+
var isArray$9 = Array.isArray;
|
|
2590
2590
|
|
|
2591
|
-
var isArray_1 = isArray$
|
|
2591
|
+
var isArray_1 = isArray$9;
|
|
2592
2592
|
|
|
2593
2593
|
/**
|
|
2594
2594
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
@@ -2615,11 +2615,11 @@ var isArray_1 = isArray$a;
|
|
|
2615
2615
|
* // => false
|
|
2616
2616
|
*/
|
|
2617
2617
|
|
|
2618
|
-
function isObjectLike$
|
|
2618
|
+
function isObjectLike$a(value) {
|
|
2619
2619
|
return value != null && typeof value == 'object';
|
|
2620
2620
|
}
|
|
2621
2621
|
|
|
2622
|
-
var isObjectLike_1 = isObjectLike$
|
|
2622
|
+
var isObjectLike_1 = isObjectLike$a;
|
|
2623
2623
|
|
|
2624
2624
|
/**
|
|
2625
2625
|
* Copies the values of `source` to `array`.
|
|
@@ -2670,15 +2670,15 @@ var _wrapperClone = wrapperClone$1;
|
|
|
2670
2670
|
var LazyWrapper$1 = _LazyWrapper,
|
|
2671
2671
|
LodashWrapper = _LodashWrapper,
|
|
2672
2672
|
baseLodash = _baseLodash,
|
|
2673
|
-
isArray$
|
|
2674
|
-
isObjectLike$
|
|
2673
|
+
isArray$8 = isArray_1,
|
|
2674
|
+
isObjectLike$9 = isObjectLike_1,
|
|
2675
2675
|
wrapperClone = _wrapperClone;
|
|
2676
2676
|
|
|
2677
2677
|
/** Used for built-in method references. */
|
|
2678
|
-
var objectProto$
|
|
2678
|
+
var objectProto$d = Object.prototype;
|
|
2679
2679
|
|
|
2680
2680
|
/** Used to check objects for own properties. */
|
|
2681
|
-
var hasOwnProperty$
|
|
2681
|
+
var hasOwnProperty$b = objectProto$d.hasOwnProperty;
|
|
2682
2682
|
|
|
2683
2683
|
/**
|
|
2684
2684
|
* Creates a `lodash` object which wraps `value` to enable implicit method
|
|
@@ -2798,11 +2798,11 @@ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
|
2798
2798
|
* // => true
|
|
2799
2799
|
*/
|
|
2800
2800
|
function lodash$1(value) {
|
|
2801
|
-
if (isObjectLike$
|
|
2801
|
+
if (isObjectLike$9(value) && !isArray$8(value) && !(value instanceof LazyWrapper$1)) {
|
|
2802
2802
|
if (value instanceof LodashWrapper) {
|
|
2803
2803
|
return value;
|
|
2804
2804
|
}
|
|
2805
|
-
if (hasOwnProperty$
|
|
2805
|
+
if (hasOwnProperty$b.call(value, '__wrapped__')) {
|
|
2806
2806
|
return wrapperClone(value);
|
|
2807
2807
|
}
|
|
2808
2808
|
}
|
|
@@ -2976,11 +2976,11 @@ function constant$1(value) {
|
|
|
2976
2976
|
|
|
2977
2977
|
var constant_1 = constant$1;
|
|
2978
2978
|
|
|
2979
|
-
var getNative$
|
|
2979
|
+
var getNative$5 = _getNative;
|
|
2980
2980
|
|
|
2981
2981
|
var defineProperty$2 = (function() {
|
|
2982
2982
|
try {
|
|
2983
|
-
var func = getNative$
|
|
2983
|
+
var func = getNative$5(Object, 'defineProperty');
|
|
2984
2984
|
func({}, '', {});
|
|
2985
2985
|
return func;
|
|
2986
2986
|
} catch (e) {}
|
|
@@ -3699,39 +3699,47 @@ function baseTrim$1(string) {
|
|
|
3699
3699
|
|
|
3700
3700
|
var _baseTrim = baseTrim$1;
|
|
3701
3701
|
|
|
3702
|
-
var
|
|
3703
|
-
|
|
3702
|
+
var isSymbol_1;
|
|
3703
|
+
var hasRequiredIsSymbol;
|
|
3704
3704
|
|
|
3705
|
-
|
|
3706
|
-
|
|
3705
|
+
function requireIsSymbol () {
|
|
3706
|
+
if (hasRequiredIsSymbol) return isSymbol_1;
|
|
3707
|
+
hasRequiredIsSymbol = 1;
|
|
3708
|
+
var baseGetTag = _baseGetTag,
|
|
3709
|
+
isObjectLike = isObjectLike_1;
|
|
3707
3710
|
|
|
3708
|
-
/**
|
|
3709
|
-
|
|
3710
|
-
*
|
|
3711
|
-
* @static
|
|
3712
|
-
* @memberOf _
|
|
3713
|
-
* @since 4.0.0
|
|
3714
|
-
* @category Lang
|
|
3715
|
-
* @param {*} value The value to check.
|
|
3716
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
3717
|
-
* @example
|
|
3718
|
-
*
|
|
3719
|
-
* _.isSymbol(Symbol.iterator);
|
|
3720
|
-
* // => true
|
|
3721
|
-
*
|
|
3722
|
-
* _.isSymbol('abc');
|
|
3723
|
-
* // => false
|
|
3724
|
-
*/
|
|
3725
|
-
function isSymbol$3(value) {
|
|
3726
|
-
return typeof value == 'symbol' ||
|
|
3727
|
-
(isObjectLike$9(value) && baseGetTag$5(value) == symbolTag$3);
|
|
3728
|
-
}
|
|
3711
|
+
/** `Object#toString` result references. */
|
|
3712
|
+
var symbolTag = '[object Symbol]';
|
|
3729
3713
|
|
|
3730
|
-
|
|
3714
|
+
/**
|
|
3715
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
3716
|
+
*
|
|
3717
|
+
* @static
|
|
3718
|
+
* @memberOf _
|
|
3719
|
+
* @since 4.0.0
|
|
3720
|
+
* @category Lang
|
|
3721
|
+
* @param {*} value The value to check.
|
|
3722
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
3723
|
+
* @example
|
|
3724
|
+
*
|
|
3725
|
+
* _.isSymbol(Symbol.iterator);
|
|
3726
|
+
* // => true
|
|
3727
|
+
*
|
|
3728
|
+
* _.isSymbol('abc');
|
|
3729
|
+
* // => false
|
|
3730
|
+
*/
|
|
3731
|
+
function isSymbol(value) {
|
|
3732
|
+
return typeof value == 'symbol' ||
|
|
3733
|
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3736
|
+
isSymbol_1 = isSymbol;
|
|
3737
|
+
return isSymbol_1;
|
|
3738
|
+
}
|
|
3731
3739
|
|
|
3732
3740
|
var baseTrim = _baseTrim,
|
|
3733
3741
|
isObject$3 = isObject_1,
|
|
3734
|
-
isSymbol$
|
|
3742
|
+
isSymbol$1 = requireIsSymbol();
|
|
3735
3743
|
|
|
3736
3744
|
/** Used as references for various `Number` constants. */
|
|
3737
3745
|
var NAN = 0 / 0;
|
|
@@ -3775,7 +3783,7 @@ function toNumber$1(value) {
|
|
|
3775
3783
|
if (typeof value == 'number') {
|
|
3776
3784
|
return value;
|
|
3777
3785
|
}
|
|
3778
|
-
if (isSymbol$
|
|
3786
|
+
if (isSymbol$1(value)) {
|
|
3779
3787
|
return NAN;
|
|
3780
3788
|
}
|
|
3781
3789
|
if (isObject$3(value)) {
|
|
@@ -3797,7 +3805,7 @@ var toNumber_1 = toNumber$1;
|
|
|
3797
3805
|
var toNumber = toNumber_1;
|
|
3798
3806
|
|
|
3799
3807
|
/** Used as references for various `Number` constants. */
|
|
3800
|
-
var INFINITY
|
|
3808
|
+
var INFINITY = 1 / 0,
|
|
3801
3809
|
MAX_INTEGER = 1.7976931348623157e+308;
|
|
3802
3810
|
|
|
3803
3811
|
/**
|
|
@@ -3828,7 +3836,7 @@ function toFinite$1(value) {
|
|
|
3828
3836
|
return value === 0 ? value : 0;
|
|
3829
3837
|
}
|
|
3830
3838
|
value = toNumber(value);
|
|
3831
|
-
if (value === INFINITY
|
|
3839
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
3832
3840
|
var sign = (value < 0 ? -1 : 1);
|
|
3833
3841
|
return sign * MAX_INTEGER;
|
|
3834
3842
|
}
|
|
@@ -4080,10 +4088,10 @@ var baseAssignValue$1 = _baseAssignValue,
|
|
|
4080
4088
|
eq$2 = eq_1;
|
|
4081
4089
|
|
|
4082
4090
|
/** Used for built-in method references. */
|
|
4083
|
-
var objectProto$
|
|
4091
|
+
var objectProto$c = Object.prototype;
|
|
4084
4092
|
|
|
4085
4093
|
/** Used to check objects for own properties. */
|
|
4086
|
-
var hasOwnProperty$
|
|
4094
|
+
var hasOwnProperty$a = objectProto$c.hasOwnProperty;
|
|
4087
4095
|
|
|
4088
4096
|
/**
|
|
4089
4097
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -4097,7 +4105,7 @@ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
|
4097
4105
|
*/
|
|
4098
4106
|
function assignValue$2(object, key, value) {
|
|
4099
4107
|
var objValue = object[key];
|
|
4100
|
-
if (!(hasOwnProperty$
|
|
4108
|
+
if (!(hasOwnProperty$a.call(object, key) && eq$2(objValue, value)) ||
|
|
4101
4109
|
(value === undefined && !(key in object))) {
|
|
4102
4110
|
baseAssignValue$1(object, key, value);
|
|
4103
4111
|
}
|
|
@@ -4191,13 +4199,13 @@ var baseIsArguments = _baseIsArguments,
|
|
|
4191
4199
|
isObjectLike$7 = isObjectLike_1;
|
|
4192
4200
|
|
|
4193
4201
|
/** Used for built-in method references. */
|
|
4194
|
-
var objectProto$
|
|
4202
|
+
var objectProto$b = Object.prototype;
|
|
4195
4203
|
|
|
4196
4204
|
/** Used to check objects for own properties. */
|
|
4197
|
-
var hasOwnProperty$
|
|
4205
|
+
var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
4198
4206
|
|
|
4199
4207
|
/** Built-in value references. */
|
|
4200
|
-
var propertyIsEnumerable$1 = objectProto$
|
|
4208
|
+
var propertyIsEnumerable$1 = objectProto$b.propertyIsEnumerable;
|
|
4201
4209
|
|
|
4202
4210
|
/**
|
|
4203
4211
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -4218,7 +4226,7 @@ var propertyIsEnumerable$1 = objectProto$9.propertyIsEnumerable;
|
|
|
4218
4226
|
* // => false
|
|
4219
4227
|
*/
|
|
4220
4228
|
var isArguments$3 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
4221
|
-
return isObjectLike$7(value) && hasOwnProperty$
|
|
4229
|
+
return isObjectLike$7(value) && hasOwnProperty$9.call(value, 'callee') &&
|
|
4222
4230
|
!propertyIsEnumerable$1.call(value, 'callee');
|
|
4223
4231
|
};
|
|
4224
4232
|
|
|
@@ -4474,16 +4482,16 @@ var isTypedArray_1 = isTypedArray$2;
|
|
|
4474
4482
|
|
|
4475
4483
|
var baseTimes = _baseTimes,
|
|
4476
4484
|
isArguments$2 = isArguments_1,
|
|
4477
|
-
isArray$
|
|
4485
|
+
isArray$7 = isArray_1,
|
|
4478
4486
|
isBuffer$2 = isBufferExports,
|
|
4479
4487
|
isIndex$1 = _isIndex,
|
|
4480
4488
|
isTypedArray$1 = isTypedArray_1;
|
|
4481
4489
|
|
|
4482
4490
|
/** Used for built-in method references. */
|
|
4483
|
-
var objectProto$
|
|
4491
|
+
var objectProto$a = Object.prototype;
|
|
4484
4492
|
|
|
4485
4493
|
/** Used to check objects for own properties. */
|
|
4486
|
-
var hasOwnProperty$
|
|
4494
|
+
var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
4487
4495
|
|
|
4488
4496
|
/**
|
|
4489
4497
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -4494,7 +4502,7 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
|
|
|
4494
4502
|
* @returns {Array} Returns the array of property names.
|
|
4495
4503
|
*/
|
|
4496
4504
|
function arrayLikeKeys$2(value, inherited) {
|
|
4497
|
-
var isArr = isArray$
|
|
4505
|
+
var isArr = isArray$7(value),
|
|
4498
4506
|
isArg = !isArr && isArguments$2(value),
|
|
4499
4507
|
isBuff = !isArr && !isArg && isBuffer$2(value),
|
|
4500
4508
|
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
@@ -4503,7 +4511,7 @@ function arrayLikeKeys$2(value, inherited) {
|
|
|
4503
4511
|
length = result.length;
|
|
4504
4512
|
|
|
4505
4513
|
for (var key in value) {
|
|
4506
|
-
if ((inherited || hasOwnProperty$
|
|
4514
|
+
if ((inherited || hasOwnProperty$8.call(value, key)) &&
|
|
4507
4515
|
!(skipIndexes && (
|
|
4508
4516
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
4509
4517
|
key == 'length' ||
|
|
@@ -4524,7 +4532,7 @@ var _arrayLikeKeys = arrayLikeKeys$2;
|
|
|
4524
4532
|
|
|
4525
4533
|
/** Used for built-in method references. */
|
|
4526
4534
|
|
|
4527
|
-
var objectProto$
|
|
4535
|
+
var objectProto$9 = Object.prototype;
|
|
4528
4536
|
|
|
4529
4537
|
/**
|
|
4530
4538
|
* Checks if `value` is likely a prototype object.
|
|
@@ -4535,7 +4543,7 @@ var objectProto$7 = Object.prototype;
|
|
|
4535
4543
|
*/
|
|
4536
4544
|
function isPrototype$3(value) {
|
|
4537
4545
|
var Ctor = value && value.constructor,
|
|
4538
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
4546
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$9;
|
|
4539
4547
|
|
|
4540
4548
|
return value === proto;
|
|
4541
4549
|
}
|
|
@@ -4570,10 +4578,10 @@ var isPrototype$2 = _isPrototype,
|
|
|
4570
4578
|
nativeKeys = _nativeKeys;
|
|
4571
4579
|
|
|
4572
4580
|
/** Used for built-in method references. */
|
|
4573
|
-
var objectProto$
|
|
4581
|
+
var objectProto$8 = Object.prototype;
|
|
4574
4582
|
|
|
4575
4583
|
/** Used to check objects for own properties. */
|
|
4576
|
-
var hasOwnProperty$
|
|
4584
|
+
var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
|
|
4577
4585
|
|
|
4578
4586
|
/**
|
|
4579
4587
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -4588,7 +4596,7 @@ function baseKeys$1(object) {
|
|
|
4588
4596
|
}
|
|
4589
4597
|
var result = [];
|
|
4590
4598
|
for (var key in Object(object)) {
|
|
4591
|
-
if (hasOwnProperty$
|
|
4599
|
+
if (hasOwnProperty$7.call(object, key) && key != 'constructor') {
|
|
4592
4600
|
result.push(key);
|
|
4593
4601
|
}
|
|
4594
4602
|
}
|
|
@@ -4837,7 +4845,7 @@ var listCacheClear = _listCacheClear,
|
|
|
4837
4845
|
* @constructor
|
|
4838
4846
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
4839
4847
|
*/
|
|
4840
|
-
function ListCache$
|
|
4848
|
+
function ListCache$4(entries) {
|
|
4841
4849
|
var index = -1,
|
|
4842
4850
|
length = entries == null ? 0 : entries.length;
|
|
4843
4851
|
|
|
@@ -4849,15 +4857,15 @@ function ListCache$3(entries) {
|
|
|
4849
4857
|
}
|
|
4850
4858
|
|
|
4851
4859
|
// Add methods to `ListCache`.
|
|
4852
|
-
ListCache$
|
|
4853
|
-
ListCache$
|
|
4854
|
-
ListCache$
|
|
4855
|
-
ListCache$
|
|
4856
|
-
ListCache$
|
|
4860
|
+
ListCache$4.prototype.clear = listCacheClear;
|
|
4861
|
+
ListCache$4.prototype['delete'] = listCacheDelete;
|
|
4862
|
+
ListCache$4.prototype.get = listCacheGet;
|
|
4863
|
+
ListCache$4.prototype.has = listCacheHas;
|
|
4864
|
+
ListCache$4.prototype.set = listCacheSet;
|
|
4857
4865
|
|
|
4858
|
-
var _ListCache = ListCache$
|
|
4866
|
+
var _ListCache = ListCache$4;
|
|
4859
4867
|
|
|
4860
|
-
var ListCache$
|
|
4868
|
+
var ListCache$3 = _ListCache;
|
|
4861
4869
|
|
|
4862
4870
|
/**
|
|
4863
4871
|
* Removes all key-value entries from the stack.
|
|
@@ -4867,7 +4875,7 @@ var ListCache$2 = _ListCache;
|
|
|
4867
4875
|
* @memberOf Stack
|
|
4868
4876
|
*/
|
|
4869
4877
|
function stackClear$1() {
|
|
4870
|
-
this.__data__ = new ListCache$
|
|
4878
|
+
this.__data__ = new ListCache$3;
|
|
4871
4879
|
this.size = 0;
|
|
4872
4880
|
}
|
|
4873
4881
|
|
|
@@ -4925,53 +4933,37 @@ function stackHas$1(key) {
|
|
|
4925
4933
|
|
|
4926
4934
|
var _stackHas = stackHas$1;
|
|
4927
4935
|
|
|
4928
|
-
var getNative$
|
|
4936
|
+
var getNative$4 = _getNative,
|
|
4929
4937
|
root$4 = _root;
|
|
4930
4938
|
|
|
4931
4939
|
/* Built-in method references that are verified to be native. */
|
|
4932
|
-
var Map$
|
|
4940
|
+
var Map$3 = getNative$4(root$4, 'Map');
|
|
4933
4941
|
|
|
4934
|
-
var _Map = Map$
|
|
4942
|
+
var _Map = Map$3;
|
|
4935
4943
|
|
|
4936
|
-
var
|
|
4937
|
-
var hasRequired_nativeCreate;
|
|
4944
|
+
var getNative$3 = _getNative;
|
|
4938
4945
|
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
hasRequired_nativeCreate = 1;
|
|
4942
|
-
var getNative = _getNative;
|
|
4943
|
-
|
|
4944
|
-
/* Built-in method references that are verified to be native. */
|
|
4945
|
-
var nativeCreate = getNative(Object, 'create');
|
|
4946
|
-
|
|
4947
|
-
_nativeCreate = nativeCreate;
|
|
4948
|
-
return _nativeCreate;
|
|
4949
|
-
}
|
|
4950
|
-
|
|
4951
|
-
var _hashClear;
|
|
4952
|
-
var hasRequired_hashClear;
|
|
4946
|
+
/* Built-in method references that are verified to be native. */
|
|
4947
|
+
var nativeCreate$4 = getNative$3(Object, 'create');
|
|
4953
4948
|
|
|
4954
|
-
|
|
4955
|
-
if (hasRequired_hashClear) return _hashClear;
|
|
4956
|
-
hasRequired_hashClear = 1;
|
|
4957
|
-
var nativeCreate = require_nativeCreate();
|
|
4949
|
+
var _nativeCreate = nativeCreate$4;
|
|
4958
4950
|
|
|
4959
|
-
|
|
4960
|
-
* Removes all key-value entries from the hash.
|
|
4961
|
-
*
|
|
4962
|
-
* @private
|
|
4963
|
-
* @name clear
|
|
4964
|
-
* @memberOf Hash
|
|
4965
|
-
*/
|
|
4966
|
-
function hashClear() {
|
|
4967
|
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
4968
|
-
this.size = 0;
|
|
4969
|
-
}
|
|
4951
|
+
var nativeCreate$3 = _nativeCreate;
|
|
4970
4952
|
|
|
4971
|
-
|
|
4972
|
-
|
|
4953
|
+
/**
|
|
4954
|
+
* Removes all key-value entries from the hash.
|
|
4955
|
+
*
|
|
4956
|
+
* @private
|
|
4957
|
+
* @name clear
|
|
4958
|
+
* @memberOf Hash
|
|
4959
|
+
*/
|
|
4960
|
+
function hashClear$1() {
|
|
4961
|
+
this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
|
|
4962
|
+
this.size = 0;
|
|
4973
4963
|
}
|
|
4974
4964
|
|
|
4965
|
+
var _hashClear = hashClear$1;
|
|
4966
|
+
|
|
4975
4967
|
/**
|
|
4976
4968
|
* Removes `key` and its value from the hash.
|
|
4977
4969
|
*
|
|
@@ -4983,196 +4975,148 @@ function require_hashClear () {
|
|
|
4983
4975
|
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
4984
4976
|
*/
|
|
4985
4977
|
|
|
4986
|
-
|
|
4987
|
-
var
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
if (hasRequired_hashDelete) return _hashDelete;
|
|
4991
|
-
hasRequired_hashDelete = 1;
|
|
4992
|
-
function hashDelete(key) {
|
|
4993
|
-
var result = this.has(key) && delete this.__data__[key];
|
|
4994
|
-
this.size -= result ? 1 : 0;
|
|
4995
|
-
return result;
|
|
4996
|
-
}
|
|
4997
|
-
|
|
4998
|
-
_hashDelete = hashDelete;
|
|
4999
|
-
return _hashDelete;
|
|
4978
|
+
function hashDelete$1(key) {
|
|
4979
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
4980
|
+
this.size -= result ? 1 : 0;
|
|
4981
|
+
return result;
|
|
5000
4982
|
}
|
|
5001
4983
|
|
|
5002
|
-
var
|
|
5003
|
-
var hasRequired_hashGet;
|
|
5004
|
-
|
|
5005
|
-
function require_hashGet () {
|
|
5006
|
-
if (hasRequired_hashGet) return _hashGet;
|
|
5007
|
-
hasRequired_hashGet = 1;
|
|
5008
|
-
var nativeCreate = require_nativeCreate();
|
|
4984
|
+
var _hashDelete = hashDelete$1;
|
|
5009
4985
|
|
|
5010
|
-
|
|
5011
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
4986
|
+
var nativeCreate$2 = _nativeCreate;
|
|
5012
4987
|
|
|
5013
|
-
|
|
5014
|
-
|
|
4988
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
4989
|
+
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
5015
4990
|
|
|
5016
|
-
|
|
5017
|
-
|
|
4991
|
+
/** Used for built-in method references. */
|
|
4992
|
+
var objectProto$7 = Object.prototype;
|
|
5018
4993
|
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
*
|
|
5022
|
-
* @private
|
|
5023
|
-
* @name get
|
|
5024
|
-
* @memberOf Hash
|
|
5025
|
-
* @param {string} key The key of the value to get.
|
|
5026
|
-
* @returns {*} Returns the entry value.
|
|
5027
|
-
*/
|
|
5028
|
-
function hashGet(key) {
|
|
5029
|
-
var data = this.__data__;
|
|
5030
|
-
if (nativeCreate) {
|
|
5031
|
-
var result = data[key];
|
|
5032
|
-
return result === HASH_UNDEFINED ? undefined : result;
|
|
5033
|
-
}
|
|
5034
|
-
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
|
5035
|
-
}
|
|
4994
|
+
/** Used to check objects for own properties. */
|
|
4995
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
5036
4996
|
|
|
5037
|
-
|
|
5038
|
-
|
|
4997
|
+
/**
|
|
4998
|
+
* Gets the hash value for `key`.
|
|
4999
|
+
*
|
|
5000
|
+
* @private
|
|
5001
|
+
* @name get
|
|
5002
|
+
* @memberOf Hash
|
|
5003
|
+
* @param {string} key The key of the value to get.
|
|
5004
|
+
* @returns {*} Returns the entry value.
|
|
5005
|
+
*/
|
|
5006
|
+
function hashGet$1(key) {
|
|
5007
|
+
var data = this.__data__;
|
|
5008
|
+
if (nativeCreate$2) {
|
|
5009
|
+
var result = data[key];
|
|
5010
|
+
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
5011
|
+
}
|
|
5012
|
+
return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
|
|
5039
5013
|
}
|
|
5040
5014
|
|
|
5041
|
-
var
|
|
5042
|
-
var hasRequired_hashHas;
|
|
5043
|
-
|
|
5044
|
-
function require_hashHas () {
|
|
5045
|
-
if (hasRequired_hashHas) return _hashHas;
|
|
5046
|
-
hasRequired_hashHas = 1;
|
|
5047
|
-
var nativeCreate = require_nativeCreate();
|
|
5015
|
+
var _hashGet = hashGet$1;
|
|
5048
5016
|
|
|
5049
|
-
|
|
5050
|
-
var objectProto = Object.prototype;
|
|
5017
|
+
var nativeCreate$1 = _nativeCreate;
|
|
5051
5018
|
|
|
5052
|
-
|
|
5053
|
-
|
|
5019
|
+
/** Used for built-in method references. */
|
|
5020
|
+
var objectProto$6 = Object.prototype;
|
|
5054
5021
|
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
*
|
|
5058
|
-
* @private
|
|
5059
|
-
* @name has
|
|
5060
|
-
* @memberOf Hash
|
|
5061
|
-
* @param {string} key The key of the entry to check.
|
|
5062
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5063
|
-
*/
|
|
5064
|
-
function hashHas(key) {
|
|
5065
|
-
var data = this.__data__;
|
|
5066
|
-
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
|
5067
|
-
}
|
|
5022
|
+
/** Used to check objects for own properties. */
|
|
5023
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
5068
5024
|
|
|
5069
|
-
|
|
5070
|
-
|
|
5025
|
+
/**
|
|
5026
|
+
* Checks if a hash value for `key` exists.
|
|
5027
|
+
*
|
|
5028
|
+
* @private
|
|
5029
|
+
* @name has
|
|
5030
|
+
* @memberOf Hash
|
|
5031
|
+
* @param {string} key The key of the entry to check.
|
|
5032
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5033
|
+
*/
|
|
5034
|
+
function hashHas$1(key) {
|
|
5035
|
+
var data = this.__data__;
|
|
5036
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
|
|
5071
5037
|
}
|
|
5072
5038
|
|
|
5073
|
-
var
|
|
5074
|
-
var hasRequired_hashSet;
|
|
5039
|
+
var _hashHas = hashHas$1;
|
|
5075
5040
|
|
|
5076
|
-
|
|
5077
|
-
if (hasRequired_hashSet) return _hashSet;
|
|
5078
|
-
hasRequired_hashSet = 1;
|
|
5079
|
-
var nativeCreate = require_nativeCreate();
|
|
5041
|
+
var nativeCreate = _nativeCreate;
|
|
5080
5042
|
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
/**
|
|
5085
|
-
* Sets the hash `key` to `value`.
|
|
5086
|
-
*
|
|
5087
|
-
* @private
|
|
5088
|
-
* @name set
|
|
5089
|
-
* @memberOf Hash
|
|
5090
|
-
* @param {string} key The key of the value to set.
|
|
5091
|
-
* @param {*} value The value to set.
|
|
5092
|
-
* @returns {Object} Returns the hash instance.
|
|
5093
|
-
*/
|
|
5094
|
-
function hashSet(key, value) {
|
|
5095
|
-
var data = this.__data__;
|
|
5096
|
-
this.size += this.has(key) ? 0 : 1;
|
|
5097
|
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
|
5098
|
-
return this;
|
|
5099
|
-
}
|
|
5043
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
5044
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
5100
5045
|
|
|
5101
|
-
|
|
5102
|
-
|
|
5046
|
+
/**
|
|
5047
|
+
* Sets the hash `key` to `value`.
|
|
5048
|
+
*
|
|
5049
|
+
* @private
|
|
5050
|
+
* @name set
|
|
5051
|
+
* @memberOf Hash
|
|
5052
|
+
* @param {string} key The key of the value to set.
|
|
5053
|
+
* @param {*} value The value to set.
|
|
5054
|
+
* @returns {Object} Returns the hash instance.
|
|
5055
|
+
*/
|
|
5056
|
+
function hashSet$1(key, value) {
|
|
5057
|
+
var data = this.__data__;
|
|
5058
|
+
this.size += this.has(key) ? 0 : 1;
|
|
5059
|
+
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
5060
|
+
return this;
|
|
5103
5061
|
}
|
|
5104
5062
|
|
|
5105
|
-
var
|
|
5106
|
-
var hasRequired_Hash;
|
|
5107
|
-
|
|
5108
|
-
function require_Hash () {
|
|
5109
|
-
if (hasRequired_Hash) return _Hash;
|
|
5110
|
-
hasRequired_Hash = 1;
|
|
5111
|
-
var hashClear = require_hashClear(),
|
|
5112
|
-
hashDelete = require_hashDelete(),
|
|
5113
|
-
hashGet = require_hashGet(),
|
|
5114
|
-
hashHas = require_hashHas(),
|
|
5115
|
-
hashSet = require_hashSet();
|
|
5063
|
+
var _hashSet = hashSet$1;
|
|
5116
5064
|
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
5123
|
-
*/
|
|
5124
|
-
function Hash(entries) {
|
|
5125
|
-
var index = -1,
|
|
5126
|
-
length = entries == null ? 0 : entries.length;
|
|
5127
|
-
|
|
5128
|
-
this.clear();
|
|
5129
|
-
while (++index < length) {
|
|
5130
|
-
var entry = entries[index];
|
|
5131
|
-
this.set(entry[0], entry[1]);
|
|
5132
|
-
}
|
|
5133
|
-
}
|
|
5065
|
+
var hashClear = _hashClear,
|
|
5066
|
+
hashDelete = _hashDelete,
|
|
5067
|
+
hashGet = _hashGet,
|
|
5068
|
+
hashHas = _hashHas,
|
|
5069
|
+
hashSet = _hashSet;
|
|
5134
5070
|
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5071
|
+
/**
|
|
5072
|
+
* Creates a hash object.
|
|
5073
|
+
*
|
|
5074
|
+
* @private
|
|
5075
|
+
* @constructor
|
|
5076
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
5077
|
+
*/
|
|
5078
|
+
function Hash$1(entries) {
|
|
5079
|
+
var index = -1,
|
|
5080
|
+
length = entries == null ? 0 : entries.length;
|
|
5141
5081
|
|
|
5142
|
-
|
|
5143
|
-
|
|
5082
|
+
this.clear();
|
|
5083
|
+
while (++index < length) {
|
|
5084
|
+
var entry = entries[index];
|
|
5085
|
+
this.set(entry[0], entry[1]);
|
|
5086
|
+
}
|
|
5144
5087
|
}
|
|
5145
5088
|
|
|
5146
|
-
|
|
5147
|
-
|
|
5089
|
+
// Add methods to `Hash`.
|
|
5090
|
+
Hash$1.prototype.clear = hashClear;
|
|
5091
|
+
Hash$1.prototype['delete'] = hashDelete;
|
|
5092
|
+
Hash$1.prototype.get = hashGet;
|
|
5093
|
+
Hash$1.prototype.has = hashHas;
|
|
5094
|
+
Hash$1.prototype.set = hashSet;
|
|
5148
5095
|
|
|
5149
|
-
|
|
5150
|
-
if (hasRequired_mapCacheClear) return _mapCacheClear;
|
|
5151
|
-
hasRequired_mapCacheClear = 1;
|
|
5152
|
-
var Hash = require_Hash(),
|
|
5153
|
-
ListCache = _ListCache,
|
|
5154
|
-
Map = _Map;
|
|
5096
|
+
var _Hash = Hash$1;
|
|
5155
5097
|
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
* @private
|
|
5160
|
-
* @name clear
|
|
5161
|
-
* @memberOf MapCache
|
|
5162
|
-
*/
|
|
5163
|
-
function mapCacheClear() {
|
|
5164
|
-
this.size = 0;
|
|
5165
|
-
this.__data__ = {
|
|
5166
|
-
'hash': new Hash,
|
|
5167
|
-
'map': new (Map || ListCache),
|
|
5168
|
-
'string': new Hash
|
|
5169
|
-
};
|
|
5170
|
-
}
|
|
5098
|
+
var Hash = _Hash,
|
|
5099
|
+
ListCache$2 = _ListCache,
|
|
5100
|
+
Map$2 = _Map;
|
|
5171
5101
|
|
|
5172
|
-
|
|
5173
|
-
|
|
5102
|
+
/**
|
|
5103
|
+
* Removes all key-value entries from the map.
|
|
5104
|
+
*
|
|
5105
|
+
* @private
|
|
5106
|
+
* @name clear
|
|
5107
|
+
* @memberOf MapCache
|
|
5108
|
+
*/
|
|
5109
|
+
function mapCacheClear$1() {
|
|
5110
|
+
this.size = 0;
|
|
5111
|
+
this.__data__ = {
|
|
5112
|
+
'hash': new Hash,
|
|
5113
|
+
'map': new (Map$2 || ListCache$2),
|
|
5114
|
+
'string': new Hash
|
|
5115
|
+
};
|
|
5174
5116
|
}
|
|
5175
5117
|
|
|
5118
|
+
var _mapCacheClear = mapCacheClear$1;
|
|
5119
|
+
|
|
5176
5120
|
/**
|
|
5177
5121
|
* Checks if `value` is suitable for use as unique object key.
|
|
5178
5122
|
*
|
|
@@ -5181,202 +5125,146 @@ function require_mapCacheClear () {
|
|
|
5181
5125
|
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
5182
5126
|
*/
|
|
5183
5127
|
|
|
5184
|
-
|
|
5185
|
-
var
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
hasRequired_isKeyable = 1;
|
|
5190
|
-
function isKeyable(value) {
|
|
5191
|
-
var type = typeof value;
|
|
5192
|
-
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
5193
|
-
? (value !== '__proto__')
|
|
5194
|
-
: (value === null);
|
|
5195
|
-
}
|
|
5196
|
-
|
|
5197
|
-
_isKeyable = isKeyable;
|
|
5198
|
-
return _isKeyable;
|
|
5128
|
+
function isKeyable$1(value) {
|
|
5129
|
+
var type = typeof value;
|
|
5130
|
+
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
5131
|
+
? (value !== '__proto__')
|
|
5132
|
+
: (value === null);
|
|
5199
5133
|
}
|
|
5200
5134
|
|
|
5201
|
-
var
|
|
5202
|
-
var hasRequired_getMapData;
|
|
5135
|
+
var _isKeyable = isKeyable$1;
|
|
5203
5136
|
|
|
5204
|
-
|
|
5205
|
-
if (hasRequired_getMapData) return _getMapData;
|
|
5206
|
-
hasRequired_getMapData = 1;
|
|
5207
|
-
var isKeyable = require_isKeyable();
|
|
5137
|
+
var isKeyable = _isKeyable;
|
|
5208
5138
|
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
}
|
|
5223
|
-
|
|
5224
|
-
_getMapData = getMapData;
|
|
5225
|
-
return _getMapData;
|
|
5139
|
+
/**
|
|
5140
|
+
* Gets the data for `map`.
|
|
5141
|
+
*
|
|
5142
|
+
* @private
|
|
5143
|
+
* @param {Object} map The map to query.
|
|
5144
|
+
* @param {string} key The reference key.
|
|
5145
|
+
* @returns {*} Returns the map data.
|
|
5146
|
+
*/
|
|
5147
|
+
function getMapData$4(map, key) {
|
|
5148
|
+
var data = map.__data__;
|
|
5149
|
+
return isKeyable(key)
|
|
5150
|
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
5151
|
+
: data.map;
|
|
5226
5152
|
}
|
|
5227
5153
|
|
|
5228
|
-
var
|
|
5229
|
-
var hasRequired_mapCacheDelete;
|
|
5154
|
+
var _getMapData = getMapData$4;
|
|
5230
5155
|
|
|
5231
|
-
|
|
5232
|
-
if (hasRequired_mapCacheDelete) return _mapCacheDelete;
|
|
5233
|
-
hasRequired_mapCacheDelete = 1;
|
|
5234
|
-
var getMapData = require_getMapData();
|
|
5235
|
-
|
|
5236
|
-
/**
|
|
5237
|
-
* Removes `key` and its value from the map.
|
|
5238
|
-
*
|
|
5239
|
-
* @private
|
|
5240
|
-
* @name delete
|
|
5241
|
-
* @memberOf MapCache
|
|
5242
|
-
* @param {string} key The key of the value to remove.
|
|
5243
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
5244
|
-
*/
|
|
5245
|
-
function mapCacheDelete(key) {
|
|
5246
|
-
var result = getMapData(this, key)['delete'](key);
|
|
5247
|
-
this.size -= result ? 1 : 0;
|
|
5248
|
-
return result;
|
|
5249
|
-
}
|
|
5156
|
+
var getMapData$3 = _getMapData;
|
|
5250
5157
|
|
|
5251
|
-
|
|
5252
|
-
|
|
5158
|
+
/**
|
|
5159
|
+
* Removes `key` and its value from the map.
|
|
5160
|
+
*
|
|
5161
|
+
* @private
|
|
5162
|
+
* @name delete
|
|
5163
|
+
* @memberOf MapCache
|
|
5164
|
+
* @param {string} key The key of the value to remove.
|
|
5165
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
5166
|
+
*/
|
|
5167
|
+
function mapCacheDelete$1(key) {
|
|
5168
|
+
var result = getMapData$3(this, key)['delete'](key);
|
|
5169
|
+
this.size -= result ? 1 : 0;
|
|
5170
|
+
return result;
|
|
5253
5171
|
}
|
|
5254
5172
|
|
|
5255
|
-
var
|
|
5256
|
-
var hasRequired_mapCacheGet;
|
|
5257
|
-
|
|
5258
|
-
function require_mapCacheGet () {
|
|
5259
|
-
if (hasRequired_mapCacheGet) return _mapCacheGet;
|
|
5260
|
-
hasRequired_mapCacheGet = 1;
|
|
5261
|
-
var getMapData = require_getMapData();
|
|
5173
|
+
var _mapCacheDelete = mapCacheDelete$1;
|
|
5262
5174
|
|
|
5263
|
-
|
|
5264
|
-
* Gets the map value for `key`.
|
|
5265
|
-
*
|
|
5266
|
-
* @private
|
|
5267
|
-
* @name get
|
|
5268
|
-
* @memberOf MapCache
|
|
5269
|
-
* @param {string} key The key of the value to get.
|
|
5270
|
-
* @returns {*} Returns the entry value.
|
|
5271
|
-
*/
|
|
5272
|
-
function mapCacheGet(key) {
|
|
5273
|
-
return getMapData(this, key).get(key);
|
|
5274
|
-
}
|
|
5175
|
+
var getMapData$2 = _getMapData;
|
|
5275
5176
|
|
|
5276
|
-
|
|
5277
|
-
|
|
5177
|
+
/**
|
|
5178
|
+
* Gets the map value for `key`.
|
|
5179
|
+
*
|
|
5180
|
+
* @private
|
|
5181
|
+
* @name get
|
|
5182
|
+
* @memberOf MapCache
|
|
5183
|
+
* @param {string} key The key of the value to get.
|
|
5184
|
+
* @returns {*} Returns the entry value.
|
|
5185
|
+
*/
|
|
5186
|
+
function mapCacheGet$1(key) {
|
|
5187
|
+
return getMapData$2(this, key).get(key);
|
|
5278
5188
|
}
|
|
5279
5189
|
|
|
5280
|
-
var
|
|
5281
|
-
var hasRequired_mapCacheHas;
|
|
5282
|
-
|
|
5283
|
-
function require_mapCacheHas () {
|
|
5284
|
-
if (hasRequired_mapCacheHas) return _mapCacheHas;
|
|
5285
|
-
hasRequired_mapCacheHas = 1;
|
|
5286
|
-
var getMapData = require_getMapData();
|
|
5190
|
+
var _mapCacheGet = mapCacheGet$1;
|
|
5287
5191
|
|
|
5288
|
-
|
|
5289
|
-
* Checks if a map value for `key` exists.
|
|
5290
|
-
*
|
|
5291
|
-
* @private
|
|
5292
|
-
* @name has
|
|
5293
|
-
* @memberOf MapCache
|
|
5294
|
-
* @param {string} key The key of the entry to check.
|
|
5295
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5296
|
-
*/
|
|
5297
|
-
function mapCacheHas(key) {
|
|
5298
|
-
return getMapData(this, key).has(key);
|
|
5299
|
-
}
|
|
5192
|
+
var getMapData$1 = _getMapData;
|
|
5300
5193
|
|
|
5301
|
-
|
|
5302
|
-
|
|
5194
|
+
/**
|
|
5195
|
+
* Checks if a map value for `key` exists.
|
|
5196
|
+
*
|
|
5197
|
+
* @private
|
|
5198
|
+
* @name has
|
|
5199
|
+
* @memberOf MapCache
|
|
5200
|
+
* @param {string} key The key of the entry to check.
|
|
5201
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5202
|
+
*/
|
|
5203
|
+
function mapCacheHas$1(key) {
|
|
5204
|
+
return getMapData$1(this, key).has(key);
|
|
5303
5205
|
}
|
|
5304
5206
|
|
|
5305
|
-
var
|
|
5306
|
-
var hasRequired_mapCacheSet;
|
|
5307
|
-
|
|
5308
|
-
function require_mapCacheSet () {
|
|
5309
|
-
if (hasRequired_mapCacheSet) return _mapCacheSet;
|
|
5310
|
-
hasRequired_mapCacheSet = 1;
|
|
5311
|
-
var getMapData = require_getMapData();
|
|
5207
|
+
var _mapCacheHas = mapCacheHas$1;
|
|
5312
5208
|
|
|
5313
|
-
|
|
5314
|
-
* Sets the map `key` to `value`.
|
|
5315
|
-
*
|
|
5316
|
-
* @private
|
|
5317
|
-
* @name set
|
|
5318
|
-
* @memberOf MapCache
|
|
5319
|
-
* @param {string} key The key of the value to set.
|
|
5320
|
-
* @param {*} value The value to set.
|
|
5321
|
-
* @returns {Object} Returns the map cache instance.
|
|
5322
|
-
*/
|
|
5323
|
-
function mapCacheSet(key, value) {
|
|
5324
|
-
var data = getMapData(this, key),
|
|
5325
|
-
size = data.size;
|
|
5209
|
+
var getMapData = _getMapData;
|
|
5326
5210
|
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5211
|
+
/**
|
|
5212
|
+
* Sets the map `key` to `value`.
|
|
5213
|
+
*
|
|
5214
|
+
* @private
|
|
5215
|
+
* @name set
|
|
5216
|
+
* @memberOf MapCache
|
|
5217
|
+
* @param {string} key The key of the value to set.
|
|
5218
|
+
* @param {*} value The value to set.
|
|
5219
|
+
* @returns {Object} Returns the map cache instance.
|
|
5220
|
+
*/
|
|
5221
|
+
function mapCacheSet$1(key, value) {
|
|
5222
|
+
var data = getMapData(this, key),
|
|
5223
|
+
size = data.size;
|
|
5331
5224
|
|
|
5332
|
-
|
|
5333
|
-
|
|
5225
|
+
data.set(key, value);
|
|
5226
|
+
this.size += data.size == size ? 0 : 1;
|
|
5227
|
+
return this;
|
|
5334
5228
|
}
|
|
5335
5229
|
|
|
5336
|
-
var
|
|
5337
|
-
var hasRequired_MapCache;
|
|
5338
|
-
|
|
5339
|
-
function require_MapCache () {
|
|
5340
|
-
if (hasRequired_MapCache) return _MapCache;
|
|
5341
|
-
hasRequired_MapCache = 1;
|
|
5342
|
-
var mapCacheClear = require_mapCacheClear(),
|
|
5343
|
-
mapCacheDelete = require_mapCacheDelete(),
|
|
5344
|
-
mapCacheGet = require_mapCacheGet(),
|
|
5345
|
-
mapCacheHas = require_mapCacheHas(),
|
|
5346
|
-
mapCacheSet = require_mapCacheSet();
|
|
5230
|
+
var _mapCacheSet = mapCacheSet$1;
|
|
5347
5231
|
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
5354
|
-
*/
|
|
5355
|
-
function MapCache(entries) {
|
|
5356
|
-
var index = -1,
|
|
5357
|
-
length = entries == null ? 0 : entries.length;
|
|
5358
|
-
|
|
5359
|
-
this.clear();
|
|
5360
|
-
while (++index < length) {
|
|
5361
|
-
var entry = entries[index];
|
|
5362
|
-
this.set(entry[0], entry[1]);
|
|
5363
|
-
}
|
|
5364
|
-
}
|
|
5232
|
+
var mapCacheClear = _mapCacheClear,
|
|
5233
|
+
mapCacheDelete = _mapCacheDelete,
|
|
5234
|
+
mapCacheGet = _mapCacheGet,
|
|
5235
|
+
mapCacheHas = _mapCacheHas,
|
|
5236
|
+
mapCacheSet = _mapCacheSet;
|
|
5365
5237
|
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5238
|
+
/**
|
|
5239
|
+
* Creates a map cache object to store key-value pairs.
|
|
5240
|
+
*
|
|
5241
|
+
* @private
|
|
5242
|
+
* @constructor
|
|
5243
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
5244
|
+
*/
|
|
5245
|
+
function MapCache$2(entries) {
|
|
5246
|
+
var index = -1,
|
|
5247
|
+
length = entries == null ? 0 : entries.length;
|
|
5372
5248
|
|
|
5373
|
-
|
|
5374
|
-
|
|
5249
|
+
this.clear();
|
|
5250
|
+
while (++index < length) {
|
|
5251
|
+
var entry = entries[index];
|
|
5252
|
+
this.set(entry[0], entry[1]);
|
|
5253
|
+
}
|
|
5375
5254
|
}
|
|
5376
5255
|
|
|
5256
|
+
// Add methods to `MapCache`.
|
|
5257
|
+
MapCache$2.prototype.clear = mapCacheClear;
|
|
5258
|
+
MapCache$2.prototype['delete'] = mapCacheDelete;
|
|
5259
|
+
MapCache$2.prototype.get = mapCacheGet;
|
|
5260
|
+
MapCache$2.prototype.has = mapCacheHas;
|
|
5261
|
+
MapCache$2.prototype.set = mapCacheSet;
|
|
5262
|
+
|
|
5263
|
+
var _MapCache = MapCache$2;
|
|
5264
|
+
|
|
5377
5265
|
var ListCache$1 = _ListCache,
|
|
5378
5266
|
Map$1 = _Map,
|
|
5379
|
-
MapCache$1 =
|
|
5267
|
+
MapCache$1 = _MapCache;
|
|
5380
5268
|
|
|
5381
5269
|
/** Used as the size to enable large array optimizations. */
|
|
5382
5270
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -5761,7 +5649,7 @@ function copySymbolsIn$1(source, object) {
|
|
|
5761
5649
|
var _copySymbolsIn = copySymbolsIn$1;
|
|
5762
5650
|
|
|
5763
5651
|
var arrayPush$1 = _arrayPush,
|
|
5764
|
-
isArray$
|
|
5652
|
+
isArray$6 = isArray_1;
|
|
5765
5653
|
|
|
5766
5654
|
/**
|
|
5767
5655
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
@@ -5776,7 +5664,7 @@ var arrayPush$1 = _arrayPush,
|
|
|
5776
5664
|
*/
|
|
5777
5665
|
function baseGetAllKeys$2(object, keysFunc, symbolsFunc) {
|
|
5778
5666
|
var result = keysFunc(object);
|
|
5779
|
-
return isArray$
|
|
5667
|
+
return isArray$6(object) ? result : arrayPush$1(result, symbolsFunc(object));
|
|
5780
5668
|
}
|
|
5781
5669
|
|
|
5782
5670
|
var _baseGetAllKeys = baseGetAllKeys$2;
|
|
@@ -5987,11 +5875,11 @@ function cloneRegExp$1(regexp) {
|
|
|
5987
5875
|
|
|
5988
5876
|
var _cloneRegExp = cloneRegExp$1;
|
|
5989
5877
|
|
|
5990
|
-
var Symbol$
|
|
5878
|
+
var Symbol$3 = _Symbol;
|
|
5991
5879
|
|
|
5992
5880
|
/** Used to convert symbols to primitives and strings. */
|
|
5993
|
-
var symbolProto$
|
|
5994
|
-
symbolValueOf$1 = symbolProto$
|
|
5881
|
+
var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : undefined,
|
|
5882
|
+
symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : undefined;
|
|
5995
5883
|
|
|
5996
5884
|
/**
|
|
5997
5885
|
* Creates a clone of the `symbol` object.
|
|
@@ -6229,7 +6117,7 @@ var Stack$2 = _Stack,
|
|
|
6229
6117
|
initCloneArray = _initCloneArray,
|
|
6230
6118
|
initCloneByTag = _initCloneByTag,
|
|
6231
6119
|
initCloneObject = _initCloneObject,
|
|
6232
|
-
isArray$
|
|
6120
|
+
isArray$5 = isArray_1,
|
|
6233
6121
|
isBuffer$1 = isBufferExports,
|
|
6234
6122
|
isMap = isMap_1,
|
|
6235
6123
|
isObject$1 = isObject_1,
|
|
@@ -6318,7 +6206,7 @@ function baseClone$2(value, bitmask, customizer, key, object, stack) {
|
|
|
6318
6206
|
if (!isObject$1(value)) {
|
|
6319
6207
|
return value;
|
|
6320
6208
|
}
|
|
6321
|
-
var isArr = isArray$
|
|
6209
|
+
var isArr = isArray$5(value);
|
|
6322
6210
|
if (isArr) {
|
|
6323
6211
|
result = initCloneArray(value);
|
|
6324
6212
|
if (!isDeep) {
|
|
@@ -6642,7 +6530,7 @@ function setCacheHas$1(value) {
|
|
|
6642
6530
|
|
|
6643
6531
|
var _setCacheHas = setCacheHas$1;
|
|
6644
6532
|
|
|
6645
|
-
var MapCache =
|
|
6533
|
+
var MapCache = _MapCache,
|
|
6646
6534
|
setCacheAdd = _setCacheAdd,
|
|
6647
6535
|
setCacheHas = _setCacheHas;
|
|
6648
6536
|
|
|
@@ -6835,7 +6723,7 @@ function setToArray$1(set) {
|
|
|
6835
6723
|
|
|
6836
6724
|
var _setToArray = setToArray$1;
|
|
6837
6725
|
|
|
6838
|
-
var Symbol$
|
|
6726
|
+
var Symbol$2 = _Symbol,
|
|
6839
6727
|
Uint8Array = _Uint8Array,
|
|
6840
6728
|
eq = eq_1,
|
|
6841
6729
|
equalArrays$1 = _equalArrays,
|
|
@@ -6861,8 +6749,8 @@ var arrayBufferTag = '[object ArrayBuffer]',
|
|
|
6861
6749
|
dataViewTag = '[object DataView]';
|
|
6862
6750
|
|
|
6863
6751
|
/** Used to convert symbols to primitives and strings. */
|
|
6864
|
-
var symbolProto
|
|
6865
|
-
symbolValueOf = symbolProto
|
|
6752
|
+
var symbolProto = Symbol$2 ? Symbol$2.prototype : undefined,
|
|
6753
|
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
6866
6754
|
|
|
6867
6755
|
/**
|
|
6868
6756
|
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
@@ -7044,7 +6932,7 @@ var Stack$1 = _Stack,
|
|
|
7044
6932
|
equalByTag = _equalByTag,
|
|
7045
6933
|
equalObjects = _equalObjects,
|
|
7046
6934
|
getTag = _getTag,
|
|
7047
|
-
isArray$
|
|
6935
|
+
isArray$4 = isArray_1,
|
|
7048
6936
|
isBuffer = isBufferExports,
|
|
7049
6937
|
isTypedArray = isTypedArray_1;
|
|
7050
6938
|
|
|
@@ -7077,8 +6965,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
7077
6965
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
7078
6966
|
*/
|
|
7079
6967
|
function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
|
|
7080
|
-
var objIsArr = isArray$
|
|
7081
|
-
othIsArr = isArray$
|
|
6968
|
+
var objIsArr = isArray$4(object),
|
|
6969
|
+
othIsArr = isArray$4(other),
|
|
7082
6970
|
objTag = objIsArr ? arrayTag : getTag(object),
|
|
7083
6971
|
othTag = othIsArr ? arrayTag : getTag(other);
|
|
7084
6972
|
|
|
@@ -7308,7 +7196,7 @@ function require_isKey () {
|
|
|
7308
7196
|
if (hasRequired_isKey) return _isKey;
|
|
7309
7197
|
hasRequired_isKey = 1;
|
|
7310
7198
|
var isArray = isArray_1,
|
|
7311
|
-
isSymbol =
|
|
7199
|
+
isSymbol = requireIsSymbol();
|
|
7312
7200
|
|
|
7313
7201
|
/** Used to match property names within property paths. */
|
|
7314
7202
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
@@ -7345,7 +7233,7 @@ var hasRequiredMemoize;
|
|
|
7345
7233
|
function requireMemoize () {
|
|
7346
7234
|
if (hasRequiredMemoize) return memoize_1;
|
|
7347
7235
|
hasRequiredMemoize = 1;
|
|
7348
|
-
var MapCache =
|
|
7236
|
+
var MapCache = _MapCache;
|
|
7349
7237
|
|
|
7350
7238
|
/** Error message constants. */
|
|
7351
7239
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -7502,7 +7390,7 @@ function require_stringToPath () {
|
|
|
7502
7390
|
* @returns {Array} Returns the new mapped array.
|
|
7503
7391
|
*/
|
|
7504
7392
|
|
|
7505
|
-
function arrayMap$
|
|
7393
|
+
function arrayMap$1(array, iteratee) {
|
|
7506
7394
|
var index = -1,
|
|
7507
7395
|
length = array == null ? 0 : array.length,
|
|
7508
7396
|
result = Array(length);
|
|
@@ -7513,74 +7401,90 @@ function arrayMap$2(array, iteratee) {
|
|
|
7513
7401
|
return result;
|
|
7514
7402
|
}
|
|
7515
7403
|
|
|
7516
|
-
var _arrayMap = arrayMap$
|
|
7404
|
+
var _arrayMap = arrayMap$1;
|
|
7517
7405
|
|
|
7518
|
-
var
|
|
7519
|
-
|
|
7520
|
-
isArray$4 = isArray_1,
|
|
7521
|
-
isSymbol$1 = isSymbol_1;
|
|
7406
|
+
var _baseToString;
|
|
7407
|
+
var hasRequired_baseToString;
|
|
7522
7408
|
|
|
7523
|
-
|
|
7524
|
-
|
|
7409
|
+
function require_baseToString () {
|
|
7410
|
+
if (hasRequired_baseToString) return _baseToString;
|
|
7411
|
+
hasRequired_baseToString = 1;
|
|
7412
|
+
var Symbol = _Symbol,
|
|
7413
|
+
arrayMap = _arrayMap,
|
|
7414
|
+
isArray = isArray_1,
|
|
7415
|
+
isSymbol = requireIsSymbol();
|
|
7525
7416
|
|
|
7526
|
-
/** Used
|
|
7527
|
-
var
|
|
7528
|
-
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
7417
|
+
/** Used as references for various `Number` constants. */
|
|
7418
|
+
var INFINITY = 1 / 0;
|
|
7529
7419
|
|
|
7530
|
-
/**
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7420
|
+
/** Used to convert symbols to primitives and strings. */
|
|
7421
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
7422
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
7423
|
+
|
|
7424
|
+
/**
|
|
7425
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
7426
|
+
* values to empty strings.
|
|
7427
|
+
*
|
|
7428
|
+
* @private
|
|
7429
|
+
* @param {*} value The value to process.
|
|
7430
|
+
* @returns {string} Returns the string.
|
|
7431
|
+
*/
|
|
7432
|
+
function baseToString(value) {
|
|
7433
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
7434
|
+
if (typeof value == 'string') {
|
|
7435
|
+
return value;
|
|
7436
|
+
}
|
|
7437
|
+
if (isArray(value)) {
|
|
7438
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
7439
|
+
return arrayMap(value, baseToString) + '';
|
|
7440
|
+
}
|
|
7441
|
+
if (isSymbol(value)) {
|
|
7442
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
7443
|
+
}
|
|
7444
|
+
var result = (value + '');
|
|
7445
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
7446
|
+
}
|
|
7447
|
+
|
|
7448
|
+
_baseToString = baseToString;
|
|
7449
|
+
return _baseToString;
|
|
7552
7450
|
}
|
|
7553
7451
|
|
|
7554
|
-
var
|
|
7452
|
+
var toString_1;
|
|
7453
|
+
var hasRequiredToString;
|
|
7555
7454
|
|
|
7556
|
-
|
|
7455
|
+
function requireToString () {
|
|
7456
|
+
if (hasRequiredToString) return toString_1;
|
|
7457
|
+
hasRequiredToString = 1;
|
|
7458
|
+
var baseToString = require_baseToString();
|
|
7557
7459
|
|
|
7558
|
-
/**
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
function toString
|
|
7580
|
-
|
|
7581
|
-
}
|
|
7460
|
+
/**
|
|
7461
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
7462
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
7463
|
+
*
|
|
7464
|
+
* @static
|
|
7465
|
+
* @memberOf _
|
|
7466
|
+
* @since 4.0.0
|
|
7467
|
+
* @category Lang
|
|
7468
|
+
* @param {*} value The value to convert.
|
|
7469
|
+
* @returns {string} Returns the converted string.
|
|
7470
|
+
* @example
|
|
7471
|
+
*
|
|
7472
|
+
* _.toString(null);
|
|
7473
|
+
* // => ''
|
|
7474
|
+
*
|
|
7475
|
+
* _.toString(-0);
|
|
7476
|
+
* // => '-0'
|
|
7477
|
+
*
|
|
7478
|
+
* _.toString([1, 2, 3]);
|
|
7479
|
+
* // => '1,2,3'
|
|
7480
|
+
*/
|
|
7481
|
+
function toString(value) {
|
|
7482
|
+
return value == null ? '' : baseToString(value);
|
|
7483
|
+
}
|
|
7582
7484
|
|
|
7583
|
-
|
|
7485
|
+
toString_1 = toString;
|
|
7486
|
+
return toString_1;
|
|
7487
|
+
}
|
|
7584
7488
|
|
|
7585
7489
|
var _castPath;
|
|
7586
7490
|
var hasRequired_castPath;
|
|
@@ -7591,7 +7495,7 @@ function require_castPath () {
|
|
|
7591
7495
|
var isArray = isArray_1,
|
|
7592
7496
|
isKey = require_isKey(),
|
|
7593
7497
|
stringToPath = require_stringToPath(),
|
|
7594
|
-
toString =
|
|
7498
|
+
toString = requireToString();
|
|
7595
7499
|
|
|
7596
7500
|
/**
|
|
7597
7501
|
* Casts `value` to a path array if it's not one.
|
|
@@ -7618,7 +7522,7 @@ var hasRequired_toKey;
|
|
|
7618
7522
|
function require_toKey () {
|
|
7619
7523
|
if (hasRequired_toKey) return _toKey;
|
|
7620
7524
|
hasRequired_toKey = 1;
|
|
7621
|
-
var isSymbol =
|
|
7525
|
+
var isSymbol = requireIsSymbol();
|
|
7622
7526
|
|
|
7623
7527
|
/** Used as references for various `Number` constants. */
|
|
7624
7528
|
var INFINITY = 1 / 0;
|
|
@@ -8167,10 +8071,10 @@ var rearg_1 = rearg;
|
|
|
8167
8071
|
var arrayMap = _arrayMap,
|
|
8168
8072
|
copyArray = _copyArray,
|
|
8169
8073
|
isArray = isArray_1,
|
|
8170
|
-
isSymbol =
|
|
8074
|
+
isSymbol = requireIsSymbol(),
|
|
8171
8075
|
stringToPath = require_stringToPath(),
|
|
8172
8076
|
toKey = require_toKey(),
|
|
8173
|
-
toString =
|
|
8077
|
+
toString = requireToString();
|
|
8174
8078
|
|
|
8175
8079
|
/**
|
|
8176
8080
|
* Converts `value` to a property path array.
|
|
@@ -8256,6 +8160,22 @@ var createRgba = function (color, alpha) {
|
|
|
8256
8160
|
return color;
|
|
8257
8161
|
};
|
|
8258
8162
|
|
|
8163
|
+
var OnKeyPress = function (_a) {
|
|
8164
|
+
var action = _a.action, keyCode = _a.keyCode;
|
|
8165
|
+
var testKeyCode = React.useCallback(function (event) {
|
|
8166
|
+
if (event.keyCode === keyCode) {
|
|
8167
|
+
action();
|
|
8168
|
+
}
|
|
8169
|
+
}, [keyCode, action]);
|
|
8170
|
+
React.useEffect(function () {
|
|
8171
|
+
document.addEventListener('keydown', testKeyCode, false);
|
|
8172
|
+
return function () {
|
|
8173
|
+
document.removeEventListener('keydown', testKeyCode, false);
|
|
8174
|
+
};
|
|
8175
|
+
}, [testKeyCode]);
|
|
8176
|
+
return null;
|
|
8177
|
+
};
|
|
8178
|
+
|
|
8259
8179
|
var DialogOverlay = styled__default.default.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n position: fixed; /* Stay in place */\n z-index: 5;\n left: 0;\n top: 0;\n width: 100%; /* Full width */\n height: 100%; /* Full height */\n overflow: auto; /* Enable scroll if needed */\n background-color: ", ";\n text-align: center;\n @media print {\n position: absolute !important;\n left: 0 !important;\n top: 0 !important;\n height: auto !important;\n visibility: hidden;\n }\n"], ["\n position: fixed; /* Stay in place */\n z-index: 5;\n left: 0;\n top: 0;\n width: 100%; /* Full width */\n height: 100%; /* Full height */\n overflow: auto; /* Enable scroll if needed */\n background-color: ", ";\n text-align: center;\n @media print {\n position: absolute !important;\n left: 0 !important;\n top: 0 !important;\n height: auto !important;\n visibility: hidden;\n }\n"])), function (_a) {
|
|
8260
8180
|
var _b = _a.backgroundColor, backgroundColor = _b === void 0 ? 'blue2' : _b;
|
|
8261
8181
|
return createRgba(backgroundColor, 0.6);
|
|
@@ -9240,6 +9160,7 @@ exports.Icon = Icon;
|
|
|
9240
9160
|
exports.Image = Image;
|
|
9241
9161
|
exports.ImageList = ImageList;
|
|
9242
9162
|
exports.Input = Input;
|
|
9163
|
+
exports.KeyPress = OnKeyPress;
|
|
9243
9164
|
exports.Label = Label$2;
|
|
9244
9165
|
exports.LightBox = LightBox;
|
|
9245
9166
|
exports.Line = Line;
|
|
@@ -9265,6 +9186,7 @@ exports.Text = Text;
|
|
|
9265
9186
|
exports.ThemeProvider = MailstepThemeProvider;
|
|
9266
9187
|
exports.Toast = Toast;
|
|
9267
9188
|
exports.Toggle = Toggle;
|
|
9189
|
+
exports.createRgba = createRgba;
|
|
9268
9190
|
exports.iconDictionary = iconDictionary;
|
|
9269
9191
|
exports.palletes = palletes;
|
|
9270
9192
|
exports.themes = themes;
|