@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.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import React, { useState, useEffect,
|
|
2
|
+
import React, { useState, useEffect, useCallback, useRef, memo, useMemo } from 'react';
|
|
3
3
|
import ReactDom from 'react-dom';
|
|
4
4
|
import styled, { useTheme, th, ThemeProvider, Preflight, x, css, down, system, keyframes as keyframes$1 } from '@xstyled/styled-components';
|
|
5
5
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
@@ -1843,27 +1843,27 @@ var _root = root$c;
|
|
|
1843
1843
|
var root$b = _root;
|
|
1844
1844
|
|
|
1845
1845
|
/** Built-in value references. */
|
|
1846
|
-
var Symbol$
|
|
1846
|
+
var Symbol$6 = root$b.Symbol;
|
|
1847
1847
|
|
|
1848
|
-
var _Symbol = Symbol$
|
|
1848
|
+
var _Symbol = Symbol$6;
|
|
1849
1849
|
|
|
1850
|
-
var Symbol$
|
|
1850
|
+
var Symbol$5 = _Symbol;
|
|
1851
1851
|
|
|
1852
1852
|
/** Used for built-in method references. */
|
|
1853
|
-
var objectProto$
|
|
1853
|
+
var objectProto$h = Object.prototype;
|
|
1854
1854
|
|
|
1855
1855
|
/** Used to check objects for own properties. */
|
|
1856
|
-
var hasOwnProperty$
|
|
1856
|
+
var hasOwnProperty$e = objectProto$h.hasOwnProperty;
|
|
1857
1857
|
|
|
1858
1858
|
/**
|
|
1859
1859
|
* Used to resolve the
|
|
1860
1860
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
1861
1861
|
* of values.
|
|
1862
1862
|
*/
|
|
1863
|
-
var nativeObjectToString$1 = objectProto$
|
|
1863
|
+
var nativeObjectToString$1 = objectProto$h.toString;
|
|
1864
1864
|
|
|
1865
1865
|
/** Built-in value references. */
|
|
1866
|
-
var symToStringTag$1 = Symbol$
|
|
1866
|
+
var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
1867
1867
|
|
|
1868
1868
|
/**
|
|
1869
1869
|
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
@@ -1873,7 +1873,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
|
|
|
1873
1873
|
* @returns {string} Returns the raw `toStringTag`.
|
|
1874
1874
|
*/
|
|
1875
1875
|
function getRawTag$1(value) {
|
|
1876
|
-
var isOwn = hasOwnProperty$
|
|
1876
|
+
var isOwn = hasOwnProperty$e.call(value, symToStringTag$1),
|
|
1877
1877
|
tag = value[symToStringTag$1];
|
|
1878
1878
|
|
|
1879
1879
|
try {
|
|
@@ -1896,14 +1896,14 @@ var _getRawTag = getRawTag$1;
|
|
|
1896
1896
|
|
|
1897
1897
|
/** Used for built-in method references. */
|
|
1898
1898
|
|
|
1899
|
-
var objectProto$
|
|
1899
|
+
var objectProto$g = Object.prototype;
|
|
1900
1900
|
|
|
1901
1901
|
/**
|
|
1902
1902
|
* Used to resolve the
|
|
1903
1903
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
1904
1904
|
* of values.
|
|
1905
1905
|
*/
|
|
1906
|
-
var nativeObjectToString = objectProto$
|
|
1906
|
+
var nativeObjectToString = objectProto$g.toString;
|
|
1907
1907
|
|
|
1908
1908
|
/**
|
|
1909
1909
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -1918,7 +1918,7 @@ function objectToString$1(value) {
|
|
|
1918
1918
|
|
|
1919
1919
|
var _objectToString = objectToString$1;
|
|
1920
1920
|
|
|
1921
|
-
var Symbol$
|
|
1921
|
+
var Symbol$4 = _Symbol,
|
|
1922
1922
|
getRawTag = _getRawTag,
|
|
1923
1923
|
objectToString = _objectToString;
|
|
1924
1924
|
|
|
@@ -1927,7 +1927,7 @@ var nullTag = '[object Null]',
|
|
|
1927
1927
|
undefinedTag = '[object Undefined]';
|
|
1928
1928
|
|
|
1929
1929
|
/** Built-in value references. */
|
|
1930
|
-
var symToStringTag = Symbol$
|
|
1930
|
+
var symToStringTag = Symbol$4 ? Symbol$4.toStringTag : undefined;
|
|
1931
1931
|
|
|
1932
1932
|
/**
|
|
1933
1933
|
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
@@ -1936,7 +1936,7 @@ var symToStringTag = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
|
1936
1936
|
* @param {*} value The value to query.
|
|
1937
1937
|
* @returns {string} Returns the `toStringTag`.
|
|
1938
1938
|
*/
|
|
1939
|
-
function baseGetTag$
|
|
1939
|
+
function baseGetTag$6(value) {
|
|
1940
1940
|
if (value == null) {
|
|
1941
1941
|
return value === undefined ? undefinedTag : nullTag;
|
|
1942
1942
|
}
|
|
@@ -1945,7 +1945,7 @@ function baseGetTag$7(value) {
|
|
|
1945
1945
|
: objectToString(value);
|
|
1946
1946
|
}
|
|
1947
1947
|
|
|
1948
|
-
var _baseGetTag = baseGetTag$
|
|
1948
|
+
var _baseGetTag = baseGetTag$6;
|
|
1949
1949
|
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Checks if `value` is the
|
|
@@ -1980,7 +1980,7 @@ function isObject$8(value) {
|
|
|
1980
1980
|
|
|
1981
1981
|
var isObject_1 = isObject$8;
|
|
1982
1982
|
|
|
1983
|
-
var baseGetTag$
|
|
1983
|
+
var baseGetTag$5 = _baseGetTag,
|
|
1984
1984
|
isObject$7 = isObject_1;
|
|
1985
1985
|
|
|
1986
1986
|
/** `Object#toString` result references. */
|
|
@@ -2012,7 +2012,7 @@ function isFunction$2(value) {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
2014
2014
|
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
2015
|
-
var tag = baseGetTag$
|
|
2015
|
+
var tag = baseGetTag$5(value);
|
|
2016
2016
|
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
2017
2017
|
}
|
|
2018
2018
|
|
|
@@ -2090,17 +2090,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
|
2090
2090
|
|
|
2091
2091
|
/** Used for built-in method references. */
|
|
2092
2092
|
var funcProto$1 = Function.prototype,
|
|
2093
|
-
objectProto$
|
|
2093
|
+
objectProto$f = Object.prototype;
|
|
2094
2094
|
|
|
2095
2095
|
/** Used to resolve the decompiled source of functions. */
|
|
2096
2096
|
var funcToString$1 = funcProto$1.toString;
|
|
2097
2097
|
|
|
2098
2098
|
/** Used to check objects for own properties. */
|
|
2099
|
-
var hasOwnProperty$
|
|
2099
|
+
var hasOwnProperty$d = objectProto$f.hasOwnProperty;
|
|
2100
2100
|
|
|
2101
2101
|
/** Used to detect if a method is native. */
|
|
2102
2102
|
var reIsNative = RegExp('^' +
|
|
2103
|
-
funcToString$1.call(hasOwnProperty$
|
|
2103
|
+
funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar, '\\$&')
|
|
2104
2104
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
2105
2105
|
);
|
|
2106
2106
|
|
|
@@ -2148,18 +2148,18 @@ var baseIsNative = _baseIsNative,
|
|
|
2148
2148
|
* @param {string} key The key of the method to get.
|
|
2149
2149
|
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
2150
2150
|
*/
|
|
2151
|
-
function getNative$
|
|
2151
|
+
function getNative$7(object, key) {
|
|
2152
2152
|
var value = getValue(object, key);
|
|
2153
2153
|
return baseIsNative(value) ? value : undefined;
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
|
-
var _getNative = getNative$
|
|
2156
|
+
var _getNative = getNative$7;
|
|
2157
2157
|
|
|
2158
|
-
var getNative$
|
|
2158
|
+
var getNative$6 = _getNative,
|
|
2159
2159
|
root$9 = _root;
|
|
2160
2160
|
|
|
2161
2161
|
/* Built-in method references that are verified to be native. */
|
|
2162
|
-
var WeakMap$2 = getNative$
|
|
2162
|
+
var WeakMap$2 = getNative$6(root$9, 'WeakMap');
|
|
2163
2163
|
|
|
2164
2164
|
var _WeakMap = WeakMap$2;
|
|
2165
2165
|
|
|
@@ -2501,10 +2501,10 @@ var _realNames = realNames$1;
|
|
|
2501
2501
|
var realNames = _realNames;
|
|
2502
2502
|
|
|
2503
2503
|
/** Used for built-in method references. */
|
|
2504
|
-
var objectProto$
|
|
2504
|
+
var objectProto$e = Object.prototype;
|
|
2505
2505
|
|
|
2506
2506
|
/** Used to check objects for own properties. */
|
|
2507
|
-
var hasOwnProperty$
|
|
2507
|
+
var hasOwnProperty$c = objectProto$e.hasOwnProperty;
|
|
2508
2508
|
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Gets the name of `func`.
|
|
@@ -2516,7 +2516,7 @@ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
|
|
|
2516
2516
|
function getFuncName$1(func) {
|
|
2517
2517
|
var result = (func.name + ''),
|
|
2518
2518
|
array = realNames[result],
|
|
2519
|
-
length = hasOwnProperty$
|
|
2519
|
+
length = hasOwnProperty$c.call(realNames, result) ? array.length : 0;
|
|
2520
2520
|
|
|
2521
2521
|
while (length--) {
|
|
2522
2522
|
var data = array[length],
|
|
@@ -2577,9 +2577,9 @@ var _LodashWrapper = LodashWrapper$2;
|
|
|
2577
2577
|
* // => false
|
|
2578
2578
|
*/
|
|
2579
2579
|
|
|
2580
|
-
var isArray$
|
|
2580
|
+
var isArray$9 = Array.isArray;
|
|
2581
2581
|
|
|
2582
|
-
var isArray_1 = isArray$
|
|
2582
|
+
var isArray_1 = isArray$9;
|
|
2583
2583
|
|
|
2584
2584
|
/**
|
|
2585
2585
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
@@ -2606,11 +2606,11 @@ var isArray_1 = isArray$a;
|
|
|
2606
2606
|
* // => false
|
|
2607
2607
|
*/
|
|
2608
2608
|
|
|
2609
|
-
function isObjectLike$
|
|
2609
|
+
function isObjectLike$a(value) {
|
|
2610
2610
|
return value != null && typeof value == 'object';
|
|
2611
2611
|
}
|
|
2612
2612
|
|
|
2613
|
-
var isObjectLike_1 = isObjectLike$
|
|
2613
|
+
var isObjectLike_1 = isObjectLike$a;
|
|
2614
2614
|
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Copies the values of `source` to `array`.
|
|
@@ -2661,15 +2661,15 @@ var _wrapperClone = wrapperClone$1;
|
|
|
2661
2661
|
var LazyWrapper$1 = _LazyWrapper,
|
|
2662
2662
|
LodashWrapper = _LodashWrapper,
|
|
2663
2663
|
baseLodash = _baseLodash,
|
|
2664
|
-
isArray$
|
|
2665
|
-
isObjectLike$
|
|
2664
|
+
isArray$8 = isArray_1,
|
|
2665
|
+
isObjectLike$9 = isObjectLike_1,
|
|
2666
2666
|
wrapperClone = _wrapperClone;
|
|
2667
2667
|
|
|
2668
2668
|
/** Used for built-in method references. */
|
|
2669
|
-
var objectProto$
|
|
2669
|
+
var objectProto$d = Object.prototype;
|
|
2670
2670
|
|
|
2671
2671
|
/** Used to check objects for own properties. */
|
|
2672
|
-
var hasOwnProperty$
|
|
2672
|
+
var hasOwnProperty$b = objectProto$d.hasOwnProperty;
|
|
2673
2673
|
|
|
2674
2674
|
/**
|
|
2675
2675
|
* Creates a `lodash` object which wraps `value` to enable implicit method
|
|
@@ -2789,11 +2789,11 @@ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
|
2789
2789
|
* // => true
|
|
2790
2790
|
*/
|
|
2791
2791
|
function lodash$1(value) {
|
|
2792
|
-
if (isObjectLike$
|
|
2792
|
+
if (isObjectLike$9(value) && !isArray$8(value) && !(value instanceof LazyWrapper$1)) {
|
|
2793
2793
|
if (value instanceof LodashWrapper) {
|
|
2794
2794
|
return value;
|
|
2795
2795
|
}
|
|
2796
|
-
if (hasOwnProperty$
|
|
2796
|
+
if (hasOwnProperty$b.call(value, '__wrapped__')) {
|
|
2797
2797
|
return wrapperClone(value);
|
|
2798
2798
|
}
|
|
2799
2799
|
}
|
|
@@ -2967,11 +2967,11 @@ function constant$1(value) {
|
|
|
2967
2967
|
|
|
2968
2968
|
var constant_1 = constant$1;
|
|
2969
2969
|
|
|
2970
|
-
var getNative$
|
|
2970
|
+
var getNative$5 = _getNative;
|
|
2971
2971
|
|
|
2972
2972
|
var defineProperty$2 = (function() {
|
|
2973
2973
|
try {
|
|
2974
|
-
var func = getNative$
|
|
2974
|
+
var func = getNative$5(Object, 'defineProperty');
|
|
2975
2975
|
func({}, '', {});
|
|
2976
2976
|
return func;
|
|
2977
2977
|
} catch (e) {}
|
|
@@ -3690,39 +3690,47 @@ function baseTrim$1(string) {
|
|
|
3690
3690
|
|
|
3691
3691
|
var _baseTrim = baseTrim$1;
|
|
3692
3692
|
|
|
3693
|
-
var
|
|
3694
|
-
|
|
3693
|
+
var isSymbol_1;
|
|
3694
|
+
var hasRequiredIsSymbol;
|
|
3695
3695
|
|
|
3696
|
-
|
|
3697
|
-
|
|
3696
|
+
function requireIsSymbol () {
|
|
3697
|
+
if (hasRequiredIsSymbol) return isSymbol_1;
|
|
3698
|
+
hasRequiredIsSymbol = 1;
|
|
3699
|
+
var baseGetTag = _baseGetTag,
|
|
3700
|
+
isObjectLike = isObjectLike_1;
|
|
3698
3701
|
|
|
3699
|
-
/**
|
|
3700
|
-
|
|
3701
|
-
*
|
|
3702
|
-
* @static
|
|
3703
|
-
* @memberOf _
|
|
3704
|
-
* @since 4.0.0
|
|
3705
|
-
* @category Lang
|
|
3706
|
-
* @param {*} value The value to check.
|
|
3707
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
3708
|
-
* @example
|
|
3709
|
-
*
|
|
3710
|
-
* _.isSymbol(Symbol.iterator);
|
|
3711
|
-
* // => true
|
|
3712
|
-
*
|
|
3713
|
-
* _.isSymbol('abc');
|
|
3714
|
-
* // => false
|
|
3715
|
-
*/
|
|
3716
|
-
function isSymbol$3(value) {
|
|
3717
|
-
return typeof value == 'symbol' ||
|
|
3718
|
-
(isObjectLike$9(value) && baseGetTag$5(value) == symbolTag$3);
|
|
3719
|
-
}
|
|
3702
|
+
/** `Object#toString` result references. */
|
|
3703
|
+
var symbolTag = '[object Symbol]';
|
|
3720
3704
|
|
|
3721
|
-
|
|
3705
|
+
/**
|
|
3706
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
3707
|
+
*
|
|
3708
|
+
* @static
|
|
3709
|
+
* @memberOf _
|
|
3710
|
+
* @since 4.0.0
|
|
3711
|
+
* @category Lang
|
|
3712
|
+
* @param {*} value The value to check.
|
|
3713
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
3714
|
+
* @example
|
|
3715
|
+
*
|
|
3716
|
+
* _.isSymbol(Symbol.iterator);
|
|
3717
|
+
* // => true
|
|
3718
|
+
*
|
|
3719
|
+
* _.isSymbol('abc');
|
|
3720
|
+
* // => false
|
|
3721
|
+
*/
|
|
3722
|
+
function isSymbol(value) {
|
|
3723
|
+
return typeof value == 'symbol' ||
|
|
3724
|
+
(isObjectLike(value) && baseGetTag(value) == symbolTag);
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
isSymbol_1 = isSymbol;
|
|
3728
|
+
return isSymbol_1;
|
|
3729
|
+
}
|
|
3722
3730
|
|
|
3723
3731
|
var baseTrim = _baseTrim,
|
|
3724
3732
|
isObject$3 = isObject_1,
|
|
3725
|
-
isSymbol$
|
|
3733
|
+
isSymbol$1 = requireIsSymbol();
|
|
3726
3734
|
|
|
3727
3735
|
/** Used as references for various `Number` constants. */
|
|
3728
3736
|
var NAN = 0 / 0;
|
|
@@ -3766,7 +3774,7 @@ function toNumber$1(value) {
|
|
|
3766
3774
|
if (typeof value == 'number') {
|
|
3767
3775
|
return value;
|
|
3768
3776
|
}
|
|
3769
|
-
if (isSymbol$
|
|
3777
|
+
if (isSymbol$1(value)) {
|
|
3770
3778
|
return NAN;
|
|
3771
3779
|
}
|
|
3772
3780
|
if (isObject$3(value)) {
|
|
@@ -3788,7 +3796,7 @@ var toNumber_1 = toNumber$1;
|
|
|
3788
3796
|
var toNumber = toNumber_1;
|
|
3789
3797
|
|
|
3790
3798
|
/** Used as references for various `Number` constants. */
|
|
3791
|
-
var INFINITY
|
|
3799
|
+
var INFINITY = 1 / 0,
|
|
3792
3800
|
MAX_INTEGER = 1.7976931348623157e+308;
|
|
3793
3801
|
|
|
3794
3802
|
/**
|
|
@@ -3819,7 +3827,7 @@ function toFinite$1(value) {
|
|
|
3819
3827
|
return value === 0 ? value : 0;
|
|
3820
3828
|
}
|
|
3821
3829
|
value = toNumber(value);
|
|
3822
|
-
if (value === INFINITY
|
|
3830
|
+
if (value === INFINITY || value === -INFINITY) {
|
|
3823
3831
|
var sign = (value < 0 ? -1 : 1);
|
|
3824
3832
|
return sign * MAX_INTEGER;
|
|
3825
3833
|
}
|
|
@@ -4071,10 +4079,10 @@ var baseAssignValue$1 = _baseAssignValue,
|
|
|
4071
4079
|
eq$2 = eq_1;
|
|
4072
4080
|
|
|
4073
4081
|
/** Used for built-in method references. */
|
|
4074
|
-
var objectProto$
|
|
4082
|
+
var objectProto$c = Object.prototype;
|
|
4075
4083
|
|
|
4076
4084
|
/** Used to check objects for own properties. */
|
|
4077
|
-
var hasOwnProperty$
|
|
4085
|
+
var hasOwnProperty$a = objectProto$c.hasOwnProperty;
|
|
4078
4086
|
|
|
4079
4087
|
/**
|
|
4080
4088
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -4088,7 +4096,7 @@ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
|
4088
4096
|
*/
|
|
4089
4097
|
function assignValue$2(object, key, value) {
|
|
4090
4098
|
var objValue = object[key];
|
|
4091
|
-
if (!(hasOwnProperty$
|
|
4099
|
+
if (!(hasOwnProperty$a.call(object, key) && eq$2(objValue, value)) ||
|
|
4092
4100
|
(value === undefined && !(key in object))) {
|
|
4093
4101
|
baseAssignValue$1(object, key, value);
|
|
4094
4102
|
}
|
|
@@ -4182,13 +4190,13 @@ var baseIsArguments = _baseIsArguments,
|
|
|
4182
4190
|
isObjectLike$7 = isObjectLike_1;
|
|
4183
4191
|
|
|
4184
4192
|
/** Used for built-in method references. */
|
|
4185
|
-
var objectProto$
|
|
4193
|
+
var objectProto$b = Object.prototype;
|
|
4186
4194
|
|
|
4187
4195
|
/** Used to check objects for own properties. */
|
|
4188
|
-
var hasOwnProperty$
|
|
4196
|
+
var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
4189
4197
|
|
|
4190
4198
|
/** Built-in value references. */
|
|
4191
|
-
var propertyIsEnumerable$1 = objectProto$
|
|
4199
|
+
var propertyIsEnumerable$1 = objectProto$b.propertyIsEnumerable;
|
|
4192
4200
|
|
|
4193
4201
|
/**
|
|
4194
4202
|
* Checks if `value` is likely an `arguments` object.
|
|
@@ -4209,7 +4217,7 @@ var propertyIsEnumerable$1 = objectProto$9.propertyIsEnumerable;
|
|
|
4209
4217
|
* // => false
|
|
4210
4218
|
*/
|
|
4211
4219
|
var isArguments$3 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
4212
|
-
return isObjectLike$7(value) && hasOwnProperty$
|
|
4220
|
+
return isObjectLike$7(value) && hasOwnProperty$9.call(value, 'callee') &&
|
|
4213
4221
|
!propertyIsEnumerable$1.call(value, 'callee');
|
|
4214
4222
|
};
|
|
4215
4223
|
|
|
@@ -4465,16 +4473,16 @@ var isTypedArray_1 = isTypedArray$2;
|
|
|
4465
4473
|
|
|
4466
4474
|
var baseTimes = _baseTimes,
|
|
4467
4475
|
isArguments$2 = isArguments_1,
|
|
4468
|
-
isArray$
|
|
4476
|
+
isArray$7 = isArray_1,
|
|
4469
4477
|
isBuffer$2 = isBufferExports,
|
|
4470
4478
|
isIndex$1 = _isIndex,
|
|
4471
4479
|
isTypedArray$1 = isTypedArray_1;
|
|
4472
4480
|
|
|
4473
4481
|
/** Used for built-in method references. */
|
|
4474
|
-
var objectProto$
|
|
4482
|
+
var objectProto$a = Object.prototype;
|
|
4475
4483
|
|
|
4476
4484
|
/** Used to check objects for own properties. */
|
|
4477
|
-
var hasOwnProperty$
|
|
4485
|
+
var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
4478
4486
|
|
|
4479
4487
|
/**
|
|
4480
4488
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -4485,7 +4493,7 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
|
|
|
4485
4493
|
* @returns {Array} Returns the array of property names.
|
|
4486
4494
|
*/
|
|
4487
4495
|
function arrayLikeKeys$2(value, inherited) {
|
|
4488
|
-
var isArr = isArray$
|
|
4496
|
+
var isArr = isArray$7(value),
|
|
4489
4497
|
isArg = !isArr && isArguments$2(value),
|
|
4490
4498
|
isBuff = !isArr && !isArg && isBuffer$2(value),
|
|
4491
4499
|
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
@@ -4494,7 +4502,7 @@ function arrayLikeKeys$2(value, inherited) {
|
|
|
4494
4502
|
length = result.length;
|
|
4495
4503
|
|
|
4496
4504
|
for (var key in value) {
|
|
4497
|
-
if ((inherited || hasOwnProperty$
|
|
4505
|
+
if ((inherited || hasOwnProperty$8.call(value, key)) &&
|
|
4498
4506
|
!(skipIndexes && (
|
|
4499
4507
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
4500
4508
|
key == 'length' ||
|
|
@@ -4515,7 +4523,7 @@ var _arrayLikeKeys = arrayLikeKeys$2;
|
|
|
4515
4523
|
|
|
4516
4524
|
/** Used for built-in method references. */
|
|
4517
4525
|
|
|
4518
|
-
var objectProto$
|
|
4526
|
+
var objectProto$9 = Object.prototype;
|
|
4519
4527
|
|
|
4520
4528
|
/**
|
|
4521
4529
|
* Checks if `value` is likely a prototype object.
|
|
@@ -4526,7 +4534,7 @@ var objectProto$7 = Object.prototype;
|
|
|
4526
4534
|
*/
|
|
4527
4535
|
function isPrototype$3(value) {
|
|
4528
4536
|
var Ctor = value && value.constructor,
|
|
4529
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
4537
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$9;
|
|
4530
4538
|
|
|
4531
4539
|
return value === proto;
|
|
4532
4540
|
}
|
|
@@ -4561,10 +4569,10 @@ var isPrototype$2 = _isPrototype,
|
|
|
4561
4569
|
nativeKeys = _nativeKeys;
|
|
4562
4570
|
|
|
4563
4571
|
/** Used for built-in method references. */
|
|
4564
|
-
var objectProto$
|
|
4572
|
+
var objectProto$8 = Object.prototype;
|
|
4565
4573
|
|
|
4566
4574
|
/** Used to check objects for own properties. */
|
|
4567
|
-
var hasOwnProperty$
|
|
4575
|
+
var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
|
|
4568
4576
|
|
|
4569
4577
|
/**
|
|
4570
4578
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -4579,7 +4587,7 @@ function baseKeys$1(object) {
|
|
|
4579
4587
|
}
|
|
4580
4588
|
var result = [];
|
|
4581
4589
|
for (var key in Object(object)) {
|
|
4582
|
-
if (hasOwnProperty$
|
|
4590
|
+
if (hasOwnProperty$7.call(object, key) && key != 'constructor') {
|
|
4583
4591
|
result.push(key);
|
|
4584
4592
|
}
|
|
4585
4593
|
}
|
|
@@ -4828,7 +4836,7 @@ var listCacheClear = _listCacheClear,
|
|
|
4828
4836
|
* @constructor
|
|
4829
4837
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
4830
4838
|
*/
|
|
4831
|
-
function ListCache$
|
|
4839
|
+
function ListCache$4(entries) {
|
|
4832
4840
|
var index = -1,
|
|
4833
4841
|
length = entries == null ? 0 : entries.length;
|
|
4834
4842
|
|
|
@@ -4840,15 +4848,15 @@ function ListCache$3(entries) {
|
|
|
4840
4848
|
}
|
|
4841
4849
|
|
|
4842
4850
|
// Add methods to `ListCache`.
|
|
4843
|
-
ListCache$
|
|
4844
|
-
ListCache$
|
|
4845
|
-
ListCache$
|
|
4846
|
-
ListCache$
|
|
4847
|
-
ListCache$
|
|
4851
|
+
ListCache$4.prototype.clear = listCacheClear;
|
|
4852
|
+
ListCache$4.prototype['delete'] = listCacheDelete;
|
|
4853
|
+
ListCache$4.prototype.get = listCacheGet;
|
|
4854
|
+
ListCache$4.prototype.has = listCacheHas;
|
|
4855
|
+
ListCache$4.prototype.set = listCacheSet;
|
|
4848
4856
|
|
|
4849
|
-
var _ListCache = ListCache$
|
|
4857
|
+
var _ListCache = ListCache$4;
|
|
4850
4858
|
|
|
4851
|
-
var ListCache$
|
|
4859
|
+
var ListCache$3 = _ListCache;
|
|
4852
4860
|
|
|
4853
4861
|
/**
|
|
4854
4862
|
* Removes all key-value entries from the stack.
|
|
@@ -4858,7 +4866,7 @@ var ListCache$2 = _ListCache;
|
|
|
4858
4866
|
* @memberOf Stack
|
|
4859
4867
|
*/
|
|
4860
4868
|
function stackClear$1() {
|
|
4861
|
-
this.__data__ = new ListCache$
|
|
4869
|
+
this.__data__ = new ListCache$3;
|
|
4862
4870
|
this.size = 0;
|
|
4863
4871
|
}
|
|
4864
4872
|
|
|
@@ -4916,53 +4924,37 @@ function stackHas$1(key) {
|
|
|
4916
4924
|
|
|
4917
4925
|
var _stackHas = stackHas$1;
|
|
4918
4926
|
|
|
4919
|
-
var getNative$
|
|
4927
|
+
var getNative$4 = _getNative,
|
|
4920
4928
|
root$4 = _root;
|
|
4921
4929
|
|
|
4922
4930
|
/* Built-in method references that are verified to be native. */
|
|
4923
|
-
var Map$
|
|
4931
|
+
var Map$3 = getNative$4(root$4, 'Map');
|
|
4924
4932
|
|
|
4925
|
-
var _Map = Map$
|
|
4933
|
+
var _Map = Map$3;
|
|
4926
4934
|
|
|
4927
|
-
var
|
|
4928
|
-
var hasRequired_nativeCreate;
|
|
4935
|
+
var getNative$3 = _getNative;
|
|
4929
4936
|
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
hasRequired_nativeCreate = 1;
|
|
4933
|
-
var getNative = _getNative;
|
|
4934
|
-
|
|
4935
|
-
/* Built-in method references that are verified to be native. */
|
|
4936
|
-
var nativeCreate = getNative(Object, 'create');
|
|
4937
|
-
|
|
4938
|
-
_nativeCreate = nativeCreate;
|
|
4939
|
-
return _nativeCreate;
|
|
4940
|
-
}
|
|
4941
|
-
|
|
4942
|
-
var _hashClear;
|
|
4943
|
-
var hasRequired_hashClear;
|
|
4937
|
+
/* Built-in method references that are verified to be native. */
|
|
4938
|
+
var nativeCreate$4 = getNative$3(Object, 'create');
|
|
4944
4939
|
|
|
4945
|
-
|
|
4946
|
-
if (hasRequired_hashClear) return _hashClear;
|
|
4947
|
-
hasRequired_hashClear = 1;
|
|
4948
|
-
var nativeCreate = require_nativeCreate();
|
|
4940
|
+
var _nativeCreate = nativeCreate$4;
|
|
4949
4941
|
|
|
4950
|
-
|
|
4951
|
-
* Removes all key-value entries from the hash.
|
|
4952
|
-
*
|
|
4953
|
-
* @private
|
|
4954
|
-
* @name clear
|
|
4955
|
-
* @memberOf Hash
|
|
4956
|
-
*/
|
|
4957
|
-
function hashClear() {
|
|
4958
|
-
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
4959
|
-
this.size = 0;
|
|
4960
|
-
}
|
|
4942
|
+
var nativeCreate$3 = _nativeCreate;
|
|
4961
4943
|
|
|
4962
|
-
|
|
4963
|
-
|
|
4944
|
+
/**
|
|
4945
|
+
* Removes all key-value entries from the hash.
|
|
4946
|
+
*
|
|
4947
|
+
* @private
|
|
4948
|
+
* @name clear
|
|
4949
|
+
* @memberOf Hash
|
|
4950
|
+
*/
|
|
4951
|
+
function hashClear$1() {
|
|
4952
|
+
this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
|
|
4953
|
+
this.size = 0;
|
|
4964
4954
|
}
|
|
4965
4955
|
|
|
4956
|
+
var _hashClear = hashClear$1;
|
|
4957
|
+
|
|
4966
4958
|
/**
|
|
4967
4959
|
* Removes `key` and its value from the hash.
|
|
4968
4960
|
*
|
|
@@ -4974,196 +4966,148 @@ function require_hashClear () {
|
|
|
4974
4966
|
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
4975
4967
|
*/
|
|
4976
4968
|
|
|
4977
|
-
|
|
4978
|
-
var
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
if (hasRequired_hashDelete) return _hashDelete;
|
|
4982
|
-
hasRequired_hashDelete = 1;
|
|
4983
|
-
function hashDelete(key) {
|
|
4984
|
-
var result = this.has(key) && delete this.__data__[key];
|
|
4985
|
-
this.size -= result ? 1 : 0;
|
|
4986
|
-
return result;
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
_hashDelete = hashDelete;
|
|
4990
|
-
return _hashDelete;
|
|
4969
|
+
function hashDelete$1(key) {
|
|
4970
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
4971
|
+
this.size -= result ? 1 : 0;
|
|
4972
|
+
return result;
|
|
4991
4973
|
}
|
|
4992
4974
|
|
|
4993
|
-
var
|
|
4994
|
-
var hasRequired_hashGet;
|
|
4995
|
-
|
|
4996
|
-
function require_hashGet () {
|
|
4997
|
-
if (hasRequired_hashGet) return _hashGet;
|
|
4998
|
-
hasRequired_hashGet = 1;
|
|
4999
|
-
var nativeCreate = require_nativeCreate();
|
|
4975
|
+
var _hashDelete = hashDelete$1;
|
|
5000
4976
|
|
|
5001
|
-
|
|
5002
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
4977
|
+
var nativeCreate$2 = _nativeCreate;
|
|
5003
4978
|
|
|
5004
|
-
|
|
5005
|
-
|
|
4979
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
4980
|
+
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
5006
4981
|
|
|
5007
|
-
|
|
5008
|
-
|
|
4982
|
+
/** Used for built-in method references. */
|
|
4983
|
+
var objectProto$7 = Object.prototype;
|
|
5009
4984
|
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
*
|
|
5013
|
-
* @private
|
|
5014
|
-
* @name get
|
|
5015
|
-
* @memberOf Hash
|
|
5016
|
-
* @param {string} key The key of the value to get.
|
|
5017
|
-
* @returns {*} Returns the entry value.
|
|
5018
|
-
*/
|
|
5019
|
-
function hashGet(key) {
|
|
5020
|
-
var data = this.__data__;
|
|
5021
|
-
if (nativeCreate) {
|
|
5022
|
-
var result = data[key];
|
|
5023
|
-
return result === HASH_UNDEFINED ? undefined : result;
|
|
5024
|
-
}
|
|
5025
|
-
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
|
5026
|
-
}
|
|
4985
|
+
/** Used to check objects for own properties. */
|
|
4986
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
5027
4987
|
|
|
5028
|
-
|
|
5029
|
-
|
|
4988
|
+
/**
|
|
4989
|
+
* Gets the hash value for `key`.
|
|
4990
|
+
*
|
|
4991
|
+
* @private
|
|
4992
|
+
* @name get
|
|
4993
|
+
* @memberOf Hash
|
|
4994
|
+
* @param {string} key The key of the value to get.
|
|
4995
|
+
* @returns {*} Returns the entry value.
|
|
4996
|
+
*/
|
|
4997
|
+
function hashGet$1(key) {
|
|
4998
|
+
var data = this.__data__;
|
|
4999
|
+
if (nativeCreate$2) {
|
|
5000
|
+
var result = data[key];
|
|
5001
|
+
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
5002
|
+
}
|
|
5003
|
+
return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
|
|
5030
5004
|
}
|
|
5031
5005
|
|
|
5032
|
-
var
|
|
5033
|
-
var hasRequired_hashHas;
|
|
5034
|
-
|
|
5035
|
-
function require_hashHas () {
|
|
5036
|
-
if (hasRequired_hashHas) return _hashHas;
|
|
5037
|
-
hasRequired_hashHas = 1;
|
|
5038
|
-
var nativeCreate = require_nativeCreate();
|
|
5006
|
+
var _hashGet = hashGet$1;
|
|
5039
5007
|
|
|
5040
|
-
|
|
5041
|
-
var objectProto = Object.prototype;
|
|
5008
|
+
var nativeCreate$1 = _nativeCreate;
|
|
5042
5009
|
|
|
5043
|
-
|
|
5044
|
-
|
|
5010
|
+
/** Used for built-in method references. */
|
|
5011
|
+
var objectProto$6 = Object.prototype;
|
|
5045
5012
|
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
*
|
|
5049
|
-
* @private
|
|
5050
|
-
* @name has
|
|
5051
|
-
* @memberOf Hash
|
|
5052
|
-
* @param {string} key The key of the entry to check.
|
|
5053
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5054
|
-
*/
|
|
5055
|
-
function hashHas(key) {
|
|
5056
|
-
var data = this.__data__;
|
|
5057
|
-
return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
|
5058
|
-
}
|
|
5013
|
+
/** Used to check objects for own properties. */
|
|
5014
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
5059
5015
|
|
|
5060
|
-
|
|
5061
|
-
|
|
5016
|
+
/**
|
|
5017
|
+
* Checks if a hash value for `key` exists.
|
|
5018
|
+
*
|
|
5019
|
+
* @private
|
|
5020
|
+
* @name has
|
|
5021
|
+
* @memberOf Hash
|
|
5022
|
+
* @param {string} key The key of the entry to check.
|
|
5023
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5024
|
+
*/
|
|
5025
|
+
function hashHas$1(key) {
|
|
5026
|
+
var data = this.__data__;
|
|
5027
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
|
|
5062
5028
|
}
|
|
5063
5029
|
|
|
5064
|
-
var
|
|
5065
|
-
var hasRequired_hashSet;
|
|
5030
|
+
var _hashHas = hashHas$1;
|
|
5066
5031
|
|
|
5067
|
-
|
|
5068
|
-
if (hasRequired_hashSet) return _hashSet;
|
|
5069
|
-
hasRequired_hashSet = 1;
|
|
5070
|
-
var nativeCreate = require_nativeCreate();
|
|
5032
|
+
var nativeCreate = _nativeCreate;
|
|
5071
5033
|
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
/**
|
|
5076
|
-
* Sets the hash `key` to `value`.
|
|
5077
|
-
*
|
|
5078
|
-
* @private
|
|
5079
|
-
* @name set
|
|
5080
|
-
* @memberOf Hash
|
|
5081
|
-
* @param {string} key The key of the value to set.
|
|
5082
|
-
* @param {*} value The value to set.
|
|
5083
|
-
* @returns {Object} Returns the hash instance.
|
|
5084
|
-
*/
|
|
5085
|
-
function hashSet(key, value) {
|
|
5086
|
-
var data = this.__data__;
|
|
5087
|
-
this.size += this.has(key) ? 0 : 1;
|
|
5088
|
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
|
5089
|
-
return this;
|
|
5090
|
-
}
|
|
5034
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
5035
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
5091
5036
|
|
|
5092
|
-
|
|
5093
|
-
|
|
5037
|
+
/**
|
|
5038
|
+
* Sets the hash `key` to `value`.
|
|
5039
|
+
*
|
|
5040
|
+
* @private
|
|
5041
|
+
* @name set
|
|
5042
|
+
* @memberOf Hash
|
|
5043
|
+
* @param {string} key The key of the value to set.
|
|
5044
|
+
* @param {*} value The value to set.
|
|
5045
|
+
* @returns {Object} Returns the hash instance.
|
|
5046
|
+
*/
|
|
5047
|
+
function hashSet$1(key, value) {
|
|
5048
|
+
var data = this.__data__;
|
|
5049
|
+
this.size += this.has(key) ? 0 : 1;
|
|
5050
|
+
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
5051
|
+
return this;
|
|
5094
5052
|
}
|
|
5095
5053
|
|
|
5096
|
-
var
|
|
5097
|
-
var hasRequired_Hash;
|
|
5098
|
-
|
|
5099
|
-
function require_Hash () {
|
|
5100
|
-
if (hasRequired_Hash) return _Hash;
|
|
5101
|
-
hasRequired_Hash = 1;
|
|
5102
|
-
var hashClear = require_hashClear(),
|
|
5103
|
-
hashDelete = require_hashDelete(),
|
|
5104
|
-
hashGet = require_hashGet(),
|
|
5105
|
-
hashHas = require_hashHas(),
|
|
5106
|
-
hashSet = require_hashSet();
|
|
5054
|
+
var _hashSet = hashSet$1;
|
|
5107
5055
|
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
5114
|
-
*/
|
|
5115
|
-
function Hash(entries) {
|
|
5116
|
-
var index = -1,
|
|
5117
|
-
length = entries == null ? 0 : entries.length;
|
|
5118
|
-
|
|
5119
|
-
this.clear();
|
|
5120
|
-
while (++index < length) {
|
|
5121
|
-
var entry = entries[index];
|
|
5122
|
-
this.set(entry[0], entry[1]);
|
|
5123
|
-
}
|
|
5124
|
-
}
|
|
5056
|
+
var hashClear = _hashClear,
|
|
5057
|
+
hashDelete = _hashDelete,
|
|
5058
|
+
hashGet = _hashGet,
|
|
5059
|
+
hashHas = _hashHas,
|
|
5060
|
+
hashSet = _hashSet;
|
|
5125
5061
|
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5062
|
+
/**
|
|
5063
|
+
* Creates a hash object.
|
|
5064
|
+
*
|
|
5065
|
+
* @private
|
|
5066
|
+
* @constructor
|
|
5067
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
5068
|
+
*/
|
|
5069
|
+
function Hash$1(entries) {
|
|
5070
|
+
var index = -1,
|
|
5071
|
+
length = entries == null ? 0 : entries.length;
|
|
5132
5072
|
|
|
5133
|
-
|
|
5134
|
-
|
|
5073
|
+
this.clear();
|
|
5074
|
+
while (++index < length) {
|
|
5075
|
+
var entry = entries[index];
|
|
5076
|
+
this.set(entry[0], entry[1]);
|
|
5077
|
+
}
|
|
5135
5078
|
}
|
|
5136
5079
|
|
|
5137
|
-
|
|
5138
|
-
|
|
5080
|
+
// Add methods to `Hash`.
|
|
5081
|
+
Hash$1.prototype.clear = hashClear;
|
|
5082
|
+
Hash$1.prototype['delete'] = hashDelete;
|
|
5083
|
+
Hash$1.prototype.get = hashGet;
|
|
5084
|
+
Hash$1.prototype.has = hashHas;
|
|
5085
|
+
Hash$1.prototype.set = hashSet;
|
|
5139
5086
|
|
|
5140
|
-
|
|
5141
|
-
if (hasRequired_mapCacheClear) return _mapCacheClear;
|
|
5142
|
-
hasRequired_mapCacheClear = 1;
|
|
5143
|
-
var Hash = require_Hash(),
|
|
5144
|
-
ListCache = _ListCache,
|
|
5145
|
-
Map = _Map;
|
|
5087
|
+
var _Hash = Hash$1;
|
|
5146
5088
|
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
* @private
|
|
5151
|
-
* @name clear
|
|
5152
|
-
* @memberOf MapCache
|
|
5153
|
-
*/
|
|
5154
|
-
function mapCacheClear() {
|
|
5155
|
-
this.size = 0;
|
|
5156
|
-
this.__data__ = {
|
|
5157
|
-
'hash': new Hash,
|
|
5158
|
-
'map': new (Map || ListCache),
|
|
5159
|
-
'string': new Hash
|
|
5160
|
-
};
|
|
5161
|
-
}
|
|
5089
|
+
var Hash = _Hash,
|
|
5090
|
+
ListCache$2 = _ListCache,
|
|
5091
|
+
Map$2 = _Map;
|
|
5162
5092
|
|
|
5163
|
-
|
|
5164
|
-
|
|
5093
|
+
/**
|
|
5094
|
+
* Removes all key-value entries from the map.
|
|
5095
|
+
*
|
|
5096
|
+
* @private
|
|
5097
|
+
* @name clear
|
|
5098
|
+
* @memberOf MapCache
|
|
5099
|
+
*/
|
|
5100
|
+
function mapCacheClear$1() {
|
|
5101
|
+
this.size = 0;
|
|
5102
|
+
this.__data__ = {
|
|
5103
|
+
'hash': new Hash,
|
|
5104
|
+
'map': new (Map$2 || ListCache$2),
|
|
5105
|
+
'string': new Hash
|
|
5106
|
+
};
|
|
5165
5107
|
}
|
|
5166
5108
|
|
|
5109
|
+
var _mapCacheClear = mapCacheClear$1;
|
|
5110
|
+
|
|
5167
5111
|
/**
|
|
5168
5112
|
* Checks if `value` is suitable for use as unique object key.
|
|
5169
5113
|
*
|
|
@@ -5172,202 +5116,146 @@ function require_mapCacheClear () {
|
|
|
5172
5116
|
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
5173
5117
|
*/
|
|
5174
5118
|
|
|
5175
|
-
|
|
5176
|
-
var
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
hasRequired_isKeyable = 1;
|
|
5181
|
-
function isKeyable(value) {
|
|
5182
|
-
var type = typeof value;
|
|
5183
|
-
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
5184
|
-
? (value !== '__proto__')
|
|
5185
|
-
: (value === null);
|
|
5186
|
-
}
|
|
5187
|
-
|
|
5188
|
-
_isKeyable = isKeyable;
|
|
5189
|
-
return _isKeyable;
|
|
5119
|
+
function isKeyable$1(value) {
|
|
5120
|
+
var type = typeof value;
|
|
5121
|
+
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
5122
|
+
? (value !== '__proto__')
|
|
5123
|
+
: (value === null);
|
|
5190
5124
|
}
|
|
5191
5125
|
|
|
5192
|
-
var
|
|
5193
|
-
var hasRequired_getMapData;
|
|
5126
|
+
var _isKeyable = isKeyable$1;
|
|
5194
5127
|
|
|
5195
|
-
|
|
5196
|
-
if (hasRequired_getMapData) return _getMapData;
|
|
5197
|
-
hasRequired_getMapData = 1;
|
|
5198
|
-
var isKeyable = require_isKeyable();
|
|
5128
|
+
var isKeyable = _isKeyable;
|
|
5199
5129
|
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
}
|
|
5214
|
-
|
|
5215
|
-
_getMapData = getMapData;
|
|
5216
|
-
return _getMapData;
|
|
5130
|
+
/**
|
|
5131
|
+
* Gets the data for `map`.
|
|
5132
|
+
*
|
|
5133
|
+
* @private
|
|
5134
|
+
* @param {Object} map The map to query.
|
|
5135
|
+
* @param {string} key The reference key.
|
|
5136
|
+
* @returns {*} Returns the map data.
|
|
5137
|
+
*/
|
|
5138
|
+
function getMapData$4(map, key) {
|
|
5139
|
+
var data = map.__data__;
|
|
5140
|
+
return isKeyable(key)
|
|
5141
|
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
5142
|
+
: data.map;
|
|
5217
5143
|
}
|
|
5218
5144
|
|
|
5219
|
-
var
|
|
5220
|
-
var hasRequired_mapCacheDelete;
|
|
5145
|
+
var _getMapData = getMapData$4;
|
|
5221
5146
|
|
|
5222
|
-
|
|
5223
|
-
if (hasRequired_mapCacheDelete) return _mapCacheDelete;
|
|
5224
|
-
hasRequired_mapCacheDelete = 1;
|
|
5225
|
-
var getMapData = require_getMapData();
|
|
5226
|
-
|
|
5227
|
-
/**
|
|
5228
|
-
* Removes `key` and its value from the map.
|
|
5229
|
-
*
|
|
5230
|
-
* @private
|
|
5231
|
-
* @name delete
|
|
5232
|
-
* @memberOf MapCache
|
|
5233
|
-
* @param {string} key The key of the value to remove.
|
|
5234
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
5235
|
-
*/
|
|
5236
|
-
function mapCacheDelete(key) {
|
|
5237
|
-
var result = getMapData(this, key)['delete'](key);
|
|
5238
|
-
this.size -= result ? 1 : 0;
|
|
5239
|
-
return result;
|
|
5240
|
-
}
|
|
5147
|
+
var getMapData$3 = _getMapData;
|
|
5241
5148
|
|
|
5242
|
-
|
|
5243
|
-
|
|
5149
|
+
/**
|
|
5150
|
+
* Removes `key` and its value from the map.
|
|
5151
|
+
*
|
|
5152
|
+
* @private
|
|
5153
|
+
* @name delete
|
|
5154
|
+
* @memberOf MapCache
|
|
5155
|
+
* @param {string} key The key of the value to remove.
|
|
5156
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
5157
|
+
*/
|
|
5158
|
+
function mapCacheDelete$1(key) {
|
|
5159
|
+
var result = getMapData$3(this, key)['delete'](key);
|
|
5160
|
+
this.size -= result ? 1 : 0;
|
|
5161
|
+
return result;
|
|
5244
5162
|
}
|
|
5245
5163
|
|
|
5246
|
-
var
|
|
5247
|
-
var hasRequired_mapCacheGet;
|
|
5248
|
-
|
|
5249
|
-
function require_mapCacheGet () {
|
|
5250
|
-
if (hasRequired_mapCacheGet) return _mapCacheGet;
|
|
5251
|
-
hasRequired_mapCacheGet = 1;
|
|
5252
|
-
var getMapData = require_getMapData();
|
|
5164
|
+
var _mapCacheDelete = mapCacheDelete$1;
|
|
5253
5165
|
|
|
5254
|
-
|
|
5255
|
-
* Gets the map value for `key`.
|
|
5256
|
-
*
|
|
5257
|
-
* @private
|
|
5258
|
-
* @name get
|
|
5259
|
-
* @memberOf MapCache
|
|
5260
|
-
* @param {string} key The key of the value to get.
|
|
5261
|
-
* @returns {*} Returns the entry value.
|
|
5262
|
-
*/
|
|
5263
|
-
function mapCacheGet(key) {
|
|
5264
|
-
return getMapData(this, key).get(key);
|
|
5265
|
-
}
|
|
5166
|
+
var getMapData$2 = _getMapData;
|
|
5266
5167
|
|
|
5267
|
-
|
|
5268
|
-
|
|
5168
|
+
/**
|
|
5169
|
+
* Gets the map value for `key`.
|
|
5170
|
+
*
|
|
5171
|
+
* @private
|
|
5172
|
+
* @name get
|
|
5173
|
+
* @memberOf MapCache
|
|
5174
|
+
* @param {string} key The key of the value to get.
|
|
5175
|
+
* @returns {*} Returns the entry value.
|
|
5176
|
+
*/
|
|
5177
|
+
function mapCacheGet$1(key) {
|
|
5178
|
+
return getMapData$2(this, key).get(key);
|
|
5269
5179
|
}
|
|
5270
5180
|
|
|
5271
|
-
var
|
|
5272
|
-
var hasRequired_mapCacheHas;
|
|
5273
|
-
|
|
5274
|
-
function require_mapCacheHas () {
|
|
5275
|
-
if (hasRequired_mapCacheHas) return _mapCacheHas;
|
|
5276
|
-
hasRequired_mapCacheHas = 1;
|
|
5277
|
-
var getMapData = require_getMapData();
|
|
5181
|
+
var _mapCacheGet = mapCacheGet$1;
|
|
5278
5182
|
|
|
5279
|
-
|
|
5280
|
-
* Checks if a map value for `key` exists.
|
|
5281
|
-
*
|
|
5282
|
-
* @private
|
|
5283
|
-
* @name has
|
|
5284
|
-
* @memberOf MapCache
|
|
5285
|
-
* @param {string} key The key of the entry to check.
|
|
5286
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5287
|
-
*/
|
|
5288
|
-
function mapCacheHas(key) {
|
|
5289
|
-
return getMapData(this, key).has(key);
|
|
5290
|
-
}
|
|
5183
|
+
var getMapData$1 = _getMapData;
|
|
5291
5184
|
|
|
5292
|
-
|
|
5293
|
-
|
|
5185
|
+
/**
|
|
5186
|
+
* Checks if a map value for `key` exists.
|
|
5187
|
+
*
|
|
5188
|
+
* @private
|
|
5189
|
+
* @name has
|
|
5190
|
+
* @memberOf MapCache
|
|
5191
|
+
* @param {string} key The key of the entry to check.
|
|
5192
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5193
|
+
*/
|
|
5194
|
+
function mapCacheHas$1(key) {
|
|
5195
|
+
return getMapData$1(this, key).has(key);
|
|
5294
5196
|
}
|
|
5295
5197
|
|
|
5296
|
-
var
|
|
5297
|
-
var hasRequired_mapCacheSet;
|
|
5298
|
-
|
|
5299
|
-
function require_mapCacheSet () {
|
|
5300
|
-
if (hasRequired_mapCacheSet) return _mapCacheSet;
|
|
5301
|
-
hasRequired_mapCacheSet = 1;
|
|
5302
|
-
var getMapData = require_getMapData();
|
|
5198
|
+
var _mapCacheHas = mapCacheHas$1;
|
|
5303
5199
|
|
|
5304
|
-
|
|
5305
|
-
* Sets the map `key` to `value`.
|
|
5306
|
-
*
|
|
5307
|
-
* @private
|
|
5308
|
-
* @name set
|
|
5309
|
-
* @memberOf MapCache
|
|
5310
|
-
* @param {string} key The key of the value to set.
|
|
5311
|
-
* @param {*} value The value to set.
|
|
5312
|
-
* @returns {Object} Returns the map cache instance.
|
|
5313
|
-
*/
|
|
5314
|
-
function mapCacheSet(key, value) {
|
|
5315
|
-
var data = getMapData(this, key),
|
|
5316
|
-
size = data.size;
|
|
5200
|
+
var getMapData = _getMapData;
|
|
5317
5201
|
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5202
|
+
/**
|
|
5203
|
+
* Sets the map `key` to `value`.
|
|
5204
|
+
*
|
|
5205
|
+
* @private
|
|
5206
|
+
* @name set
|
|
5207
|
+
* @memberOf MapCache
|
|
5208
|
+
* @param {string} key The key of the value to set.
|
|
5209
|
+
* @param {*} value The value to set.
|
|
5210
|
+
* @returns {Object} Returns the map cache instance.
|
|
5211
|
+
*/
|
|
5212
|
+
function mapCacheSet$1(key, value) {
|
|
5213
|
+
var data = getMapData(this, key),
|
|
5214
|
+
size = data.size;
|
|
5322
5215
|
|
|
5323
|
-
|
|
5324
|
-
|
|
5216
|
+
data.set(key, value);
|
|
5217
|
+
this.size += data.size == size ? 0 : 1;
|
|
5218
|
+
return this;
|
|
5325
5219
|
}
|
|
5326
5220
|
|
|
5327
|
-
var
|
|
5328
|
-
var hasRequired_MapCache;
|
|
5329
|
-
|
|
5330
|
-
function require_MapCache () {
|
|
5331
|
-
if (hasRequired_MapCache) return _MapCache;
|
|
5332
|
-
hasRequired_MapCache = 1;
|
|
5333
|
-
var mapCacheClear = require_mapCacheClear(),
|
|
5334
|
-
mapCacheDelete = require_mapCacheDelete(),
|
|
5335
|
-
mapCacheGet = require_mapCacheGet(),
|
|
5336
|
-
mapCacheHas = require_mapCacheHas(),
|
|
5337
|
-
mapCacheSet = require_mapCacheSet();
|
|
5221
|
+
var _mapCacheSet = mapCacheSet$1;
|
|
5338
5222
|
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
5345
|
-
*/
|
|
5346
|
-
function MapCache(entries) {
|
|
5347
|
-
var index = -1,
|
|
5348
|
-
length = entries == null ? 0 : entries.length;
|
|
5349
|
-
|
|
5350
|
-
this.clear();
|
|
5351
|
-
while (++index < length) {
|
|
5352
|
-
var entry = entries[index];
|
|
5353
|
-
this.set(entry[0], entry[1]);
|
|
5354
|
-
}
|
|
5355
|
-
}
|
|
5223
|
+
var mapCacheClear = _mapCacheClear,
|
|
5224
|
+
mapCacheDelete = _mapCacheDelete,
|
|
5225
|
+
mapCacheGet = _mapCacheGet,
|
|
5226
|
+
mapCacheHas = _mapCacheHas,
|
|
5227
|
+
mapCacheSet = _mapCacheSet;
|
|
5356
5228
|
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5229
|
+
/**
|
|
5230
|
+
* Creates a map cache object to store key-value pairs.
|
|
5231
|
+
*
|
|
5232
|
+
* @private
|
|
5233
|
+
* @constructor
|
|
5234
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
5235
|
+
*/
|
|
5236
|
+
function MapCache$2(entries) {
|
|
5237
|
+
var index = -1,
|
|
5238
|
+
length = entries == null ? 0 : entries.length;
|
|
5363
5239
|
|
|
5364
|
-
|
|
5365
|
-
|
|
5240
|
+
this.clear();
|
|
5241
|
+
while (++index < length) {
|
|
5242
|
+
var entry = entries[index];
|
|
5243
|
+
this.set(entry[0], entry[1]);
|
|
5244
|
+
}
|
|
5366
5245
|
}
|
|
5367
5246
|
|
|
5247
|
+
// Add methods to `MapCache`.
|
|
5248
|
+
MapCache$2.prototype.clear = mapCacheClear;
|
|
5249
|
+
MapCache$2.prototype['delete'] = mapCacheDelete;
|
|
5250
|
+
MapCache$2.prototype.get = mapCacheGet;
|
|
5251
|
+
MapCache$2.prototype.has = mapCacheHas;
|
|
5252
|
+
MapCache$2.prototype.set = mapCacheSet;
|
|
5253
|
+
|
|
5254
|
+
var _MapCache = MapCache$2;
|
|
5255
|
+
|
|
5368
5256
|
var ListCache$1 = _ListCache,
|
|
5369
5257
|
Map$1 = _Map,
|
|
5370
|
-
MapCache$1 =
|
|
5258
|
+
MapCache$1 = _MapCache;
|
|
5371
5259
|
|
|
5372
5260
|
/** Used as the size to enable large array optimizations. */
|
|
5373
5261
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -5752,7 +5640,7 @@ function copySymbolsIn$1(source, object) {
|
|
|
5752
5640
|
var _copySymbolsIn = copySymbolsIn$1;
|
|
5753
5641
|
|
|
5754
5642
|
var arrayPush$1 = _arrayPush,
|
|
5755
|
-
isArray$
|
|
5643
|
+
isArray$6 = isArray_1;
|
|
5756
5644
|
|
|
5757
5645
|
/**
|
|
5758
5646
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
@@ -5767,7 +5655,7 @@ var arrayPush$1 = _arrayPush,
|
|
|
5767
5655
|
*/
|
|
5768
5656
|
function baseGetAllKeys$2(object, keysFunc, symbolsFunc) {
|
|
5769
5657
|
var result = keysFunc(object);
|
|
5770
|
-
return isArray$
|
|
5658
|
+
return isArray$6(object) ? result : arrayPush$1(result, symbolsFunc(object));
|
|
5771
5659
|
}
|
|
5772
5660
|
|
|
5773
5661
|
var _baseGetAllKeys = baseGetAllKeys$2;
|
|
@@ -5978,11 +5866,11 @@ function cloneRegExp$1(regexp) {
|
|
|
5978
5866
|
|
|
5979
5867
|
var _cloneRegExp = cloneRegExp$1;
|
|
5980
5868
|
|
|
5981
|
-
var Symbol$
|
|
5869
|
+
var Symbol$3 = _Symbol;
|
|
5982
5870
|
|
|
5983
5871
|
/** Used to convert symbols to primitives and strings. */
|
|
5984
|
-
var symbolProto$
|
|
5985
|
-
symbolValueOf$1 = symbolProto$
|
|
5872
|
+
var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : undefined,
|
|
5873
|
+
symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : undefined;
|
|
5986
5874
|
|
|
5987
5875
|
/**
|
|
5988
5876
|
* Creates a clone of the `symbol` object.
|
|
@@ -6220,7 +6108,7 @@ var Stack$2 = _Stack,
|
|
|
6220
6108
|
initCloneArray = _initCloneArray,
|
|
6221
6109
|
initCloneByTag = _initCloneByTag,
|
|
6222
6110
|
initCloneObject = _initCloneObject,
|
|
6223
|
-
isArray$
|
|
6111
|
+
isArray$5 = isArray_1,
|
|
6224
6112
|
isBuffer$1 = isBufferExports,
|
|
6225
6113
|
isMap = isMap_1,
|
|
6226
6114
|
isObject$1 = isObject_1,
|
|
@@ -6309,7 +6197,7 @@ function baseClone$2(value, bitmask, customizer, key, object, stack) {
|
|
|
6309
6197
|
if (!isObject$1(value)) {
|
|
6310
6198
|
return value;
|
|
6311
6199
|
}
|
|
6312
|
-
var isArr = isArray$
|
|
6200
|
+
var isArr = isArray$5(value);
|
|
6313
6201
|
if (isArr) {
|
|
6314
6202
|
result = initCloneArray(value);
|
|
6315
6203
|
if (!isDeep) {
|
|
@@ -6633,7 +6521,7 @@ function setCacheHas$1(value) {
|
|
|
6633
6521
|
|
|
6634
6522
|
var _setCacheHas = setCacheHas$1;
|
|
6635
6523
|
|
|
6636
|
-
var MapCache =
|
|
6524
|
+
var MapCache = _MapCache,
|
|
6637
6525
|
setCacheAdd = _setCacheAdd,
|
|
6638
6526
|
setCacheHas = _setCacheHas;
|
|
6639
6527
|
|
|
@@ -6826,7 +6714,7 @@ function setToArray$1(set) {
|
|
|
6826
6714
|
|
|
6827
6715
|
var _setToArray = setToArray$1;
|
|
6828
6716
|
|
|
6829
|
-
var Symbol$
|
|
6717
|
+
var Symbol$2 = _Symbol,
|
|
6830
6718
|
Uint8Array = _Uint8Array,
|
|
6831
6719
|
eq = eq_1,
|
|
6832
6720
|
equalArrays$1 = _equalArrays,
|
|
@@ -6852,8 +6740,8 @@ var arrayBufferTag = '[object ArrayBuffer]',
|
|
|
6852
6740
|
dataViewTag = '[object DataView]';
|
|
6853
6741
|
|
|
6854
6742
|
/** Used to convert symbols to primitives and strings. */
|
|
6855
|
-
var symbolProto
|
|
6856
|
-
symbolValueOf = symbolProto
|
|
6743
|
+
var symbolProto = Symbol$2 ? Symbol$2.prototype : undefined,
|
|
6744
|
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
6857
6745
|
|
|
6858
6746
|
/**
|
|
6859
6747
|
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
@@ -7035,7 +6923,7 @@ var Stack$1 = _Stack,
|
|
|
7035
6923
|
equalByTag = _equalByTag,
|
|
7036
6924
|
equalObjects = _equalObjects,
|
|
7037
6925
|
getTag = _getTag,
|
|
7038
|
-
isArray$
|
|
6926
|
+
isArray$4 = isArray_1,
|
|
7039
6927
|
isBuffer = isBufferExports,
|
|
7040
6928
|
isTypedArray = isTypedArray_1;
|
|
7041
6929
|
|
|
@@ -7068,8 +6956,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
7068
6956
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
7069
6957
|
*/
|
|
7070
6958
|
function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
|
|
7071
|
-
var objIsArr = isArray$
|
|
7072
|
-
othIsArr = isArray$
|
|
6959
|
+
var objIsArr = isArray$4(object),
|
|
6960
|
+
othIsArr = isArray$4(other),
|
|
7073
6961
|
objTag = objIsArr ? arrayTag : getTag(object),
|
|
7074
6962
|
othTag = othIsArr ? arrayTag : getTag(other);
|
|
7075
6963
|
|
|
@@ -7299,7 +7187,7 @@ function require_isKey () {
|
|
|
7299
7187
|
if (hasRequired_isKey) return _isKey;
|
|
7300
7188
|
hasRequired_isKey = 1;
|
|
7301
7189
|
var isArray = isArray_1,
|
|
7302
|
-
isSymbol =
|
|
7190
|
+
isSymbol = requireIsSymbol();
|
|
7303
7191
|
|
|
7304
7192
|
/** Used to match property names within property paths. */
|
|
7305
7193
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
@@ -7336,7 +7224,7 @@ var hasRequiredMemoize;
|
|
|
7336
7224
|
function requireMemoize () {
|
|
7337
7225
|
if (hasRequiredMemoize) return memoize_1;
|
|
7338
7226
|
hasRequiredMemoize = 1;
|
|
7339
|
-
var MapCache =
|
|
7227
|
+
var MapCache = _MapCache;
|
|
7340
7228
|
|
|
7341
7229
|
/** Error message constants. */
|
|
7342
7230
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -7493,7 +7381,7 @@ function require_stringToPath () {
|
|
|
7493
7381
|
* @returns {Array} Returns the new mapped array.
|
|
7494
7382
|
*/
|
|
7495
7383
|
|
|
7496
|
-
function arrayMap$
|
|
7384
|
+
function arrayMap$1(array, iteratee) {
|
|
7497
7385
|
var index = -1,
|
|
7498
7386
|
length = array == null ? 0 : array.length,
|
|
7499
7387
|
result = Array(length);
|
|
@@ -7504,74 +7392,90 @@ function arrayMap$2(array, iteratee) {
|
|
|
7504
7392
|
return result;
|
|
7505
7393
|
}
|
|
7506
7394
|
|
|
7507
|
-
var _arrayMap = arrayMap$
|
|
7395
|
+
var _arrayMap = arrayMap$1;
|
|
7508
7396
|
|
|
7509
|
-
var
|
|
7510
|
-
|
|
7511
|
-
isArray$4 = isArray_1,
|
|
7512
|
-
isSymbol$1 = isSymbol_1;
|
|
7397
|
+
var _baseToString;
|
|
7398
|
+
var hasRequired_baseToString;
|
|
7513
7399
|
|
|
7514
|
-
|
|
7515
|
-
|
|
7400
|
+
function require_baseToString () {
|
|
7401
|
+
if (hasRequired_baseToString) return _baseToString;
|
|
7402
|
+
hasRequired_baseToString = 1;
|
|
7403
|
+
var Symbol = _Symbol,
|
|
7404
|
+
arrayMap = _arrayMap,
|
|
7405
|
+
isArray = isArray_1,
|
|
7406
|
+
isSymbol = requireIsSymbol();
|
|
7516
7407
|
|
|
7517
|
-
/** Used
|
|
7518
|
-
var
|
|
7519
|
-
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
7408
|
+
/** Used as references for various `Number` constants. */
|
|
7409
|
+
var INFINITY = 1 / 0;
|
|
7520
7410
|
|
|
7521
|
-
/**
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7411
|
+
/** Used to convert symbols to primitives and strings. */
|
|
7412
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
7413
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
7414
|
+
|
|
7415
|
+
/**
|
|
7416
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
7417
|
+
* values to empty strings.
|
|
7418
|
+
*
|
|
7419
|
+
* @private
|
|
7420
|
+
* @param {*} value The value to process.
|
|
7421
|
+
* @returns {string} Returns the string.
|
|
7422
|
+
*/
|
|
7423
|
+
function baseToString(value) {
|
|
7424
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
7425
|
+
if (typeof value == 'string') {
|
|
7426
|
+
return value;
|
|
7427
|
+
}
|
|
7428
|
+
if (isArray(value)) {
|
|
7429
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
7430
|
+
return arrayMap(value, baseToString) + '';
|
|
7431
|
+
}
|
|
7432
|
+
if (isSymbol(value)) {
|
|
7433
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
7434
|
+
}
|
|
7435
|
+
var result = (value + '');
|
|
7436
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
7437
|
+
}
|
|
7438
|
+
|
|
7439
|
+
_baseToString = baseToString;
|
|
7440
|
+
return _baseToString;
|
|
7543
7441
|
}
|
|
7544
7442
|
|
|
7545
|
-
var
|
|
7443
|
+
var toString_1;
|
|
7444
|
+
var hasRequiredToString;
|
|
7546
7445
|
|
|
7547
|
-
|
|
7446
|
+
function requireToString () {
|
|
7447
|
+
if (hasRequiredToString) return toString_1;
|
|
7448
|
+
hasRequiredToString = 1;
|
|
7449
|
+
var baseToString = require_baseToString();
|
|
7548
7450
|
|
|
7549
|
-
/**
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
function toString
|
|
7571
|
-
|
|
7572
|
-
}
|
|
7451
|
+
/**
|
|
7452
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
7453
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
7454
|
+
*
|
|
7455
|
+
* @static
|
|
7456
|
+
* @memberOf _
|
|
7457
|
+
* @since 4.0.0
|
|
7458
|
+
* @category Lang
|
|
7459
|
+
* @param {*} value The value to convert.
|
|
7460
|
+
* @returns {string} Returns the converted string.
|
|
7461
|
+
* @example
|
|
7462
|
+
*
|
|
7463
|
+
* _.toString(null);
|
|
7464
|
+
* // => ''
|
|
7465
|
+
*
|
|
7466
|
+
* _.toString(-0);
|
|
7467
|
+
* // => '-0'
|
|
7468
|
+
*
|
|
7469
|
+
* _.toString([1, 2, 3]);
|
|
7470
|
+
* // => '1,2,3'
|
|
7471
|
+
*/
|
|
7472
|
+
function toString(value) {
|
|
7473
|
+
return value == null ? '' : baseToString(value);
|
|
7474
|
+
}
|
|
7573
7475
|
|
|
7574
|
-
|
|
7476
|
+
toString_1 = toString;
|
|
7477
|
+
return toString_1;
|
|
7478
|
+
}
|
|
7575
7479
|
|
|
7576
7480
|
var _castPath;
|
|
7577
7481
|
var hasRequired_castPath;
|
|
@@ -7582,7 +7486,7 @@ function require_castPath () {
|
|
|
7582
7486
|
var isArray = isArray_1,
|
|
7583
7487
|
isKey = require_isKey(),
|
|
7584
7488
|
stringToPath = require_stringToPath(),
|
|
7585
|
-
toString =
|
|
7489
|
+
toString = requireToString();
|
|
7586
7490
|
|
|
7587
7491
|
/**
|
|
7588
7492
|
* Casts `value` to a path array if it's not one.
|
|
@@ -7609,7 +7513,7 @@ var hasRequired_toKey;
|
|
|
7609
7513
|
function require_toKey () {
|
|
7610
7514
|
if (hasRequired_toKey) return _toKey;
|
|
7611
7515
|
hasRequired_toKey = 1;
|
|
7612
|
-
var isSymbol =
|
|
7516
|
+
var isSymbol = requireIsSymbol();
|
|
7613
7517
|
|
|
7614
7518
|
/** Used as references for various `Number` constants. */
|
|
7615
7519
|
var INFINITY = 1 / 0;
|
|
@@ -8158,10 +8062,10 @@ var rearg_1 = rearg;
|
|
|
8158
8062
|
var arrayMap = _arrayMap,
|
|
8159
8063
|
copyArray = _copyArray,
|
|
8160
8064
|
isArray = isArray_1,
|
|
8161
|
-
isSymbol =
|
|
8065
|
+
isSymbol = requireIsSymbol(),
|
|
8162
8066
|
stringToPath = require_stringToPath(),
|
|
8163
8067
|
toKey = require_toKey(),
|
|
8164
|
-
toString =
|
|
8068
|
+
toString = requireToString();
|
|
8165
8069
|
|
|
8166
8070
|
/**
|
|
8167
8071
|
* Converts `value` to a property path array.
|
|
@@ -8247,6 +8151,22 @@ var createRgba = function (color, alpha) {
|
|
|
8247
8151
|
return color;
|
|
8248
8152
|
};
|
|
8249
8153
|
|
|
8154
|
+
var OnKeyPress = function (_a) {
|
|
8155
|
+
var action = _a.action, keyCode = _a.keyCode;
|
|
8156
|
+
var testKeyCode = useCallback(function (event) {
|
|
8157
|
+
if (event.keyCode === keyCode) {
|
|
8158
|
+
action();
|
|
8159
|
+
}
|
|
8160
|
+
}, [keyCode, action]);
|
|
8161
|
+
useEffect(function () {
|
|
8162
|
+
document.addEventListener('keydown', testKeyCode, false);
|
|
8163
|
+
return function () {
|
|
8164
|
+
document.removeEventListener('keydown', testKeyCode, false);
|
|
8165
|
+
};
|
|
8166
|
+
}, [testKeyCode]);
|
|
8167
|
+
return null;
|
|
8168
|
+
};
|
|
8169
|
+
|
|
8250
8170
|
var DialogOverlay = styled.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) {
|
|
8251
8171
|
var _b = _a.backgroundColor, backgroundColor = _b === void 0 ? 'blue2' : _b;
|
|
8252
8172
|
return createRgba(backgroundColor, 0.6);
|
|
@@ -9205,5 +9125,5 @@ var RadioButton = function (_a) {
|
|
|
9205
9125
|
return (jsxs(Wrapper, { children: [jsxs(Item, { children: [jsx(StyledRadio, __assign({ type: "radio", id: id, name: name, disabled: disabled, onChange: onChange }, rest)), jsx(PaintoverLayer, { disabled: disabled, children: jsx(CenterDot, {}) })] }), label && jsx(Label, { children: label })] }));
|
|
9206
9126
|
};
|
|
9207
9127
|
|
|
9208
|
-
export { Alert, Avatar, Badge, BorderedBox, Button, Card, CardBody, CardImage, Checkbox$1 as Checkbox, CornerDialog, Dropdown, ErrorMessage, FieldLabel, FlagCZ, FlagUSA, H1, H2, H3, H4, H5, H6, H7, Icon, Image, ImageList, Input, Label$2 as Label, LightBox, Line, Link, Logo, Modal, Pagination, Paragraph, Paragraph1, Paragraph2, Paragraph3, Paragraph4, Paragraph5, Portal, ProgressBar, RadioButton, StyledLink as SimpleLink, SpaceAroundWrap, Spinner, Tabs, Tag, Text, MailstepThemeProvider as ThemeProvider, Toast, Toggle, iconDictionary, palletes, themes, useClickOutside, useLightBox, useModal, useTabs };
|
|
9128
|
+
export { Alert, Avatar, Badge, BorderedBox, Button, Card, CardBody, CardImage, Checkbox$1 as Checkbox, CornerDialog, Dropdown, ErrorMessage, FieldLabel, FlagCZ, FlagUSA, H1, H2, H3, H4, H5, H6, H7, Icon, Image, ImageList, Input, OnKeyPress as KeyPress, Label$2 as Label, LightBox, Line, Link, Logo, Modal, Pagination, Paragraph, Paragraph1, Paragraph2, Paragraph3, Paragraph4, Paragraph5, Portal, ProgressBar, RadioButton, StyledLink as SimpleLink, SpaceAroundWrap, Spinner, Tabs, Tag, Text, MailstepThemeProvider as ThemeProvider, Toast, Toggle, createRgba, iconDictionary, palletes, themes, useClickOutside, useLightBox, useModal, useTabs };
|
|
9209
9129
|
//# sourceMappingURL=index.es.js.map
|