@revolist/revogrid 4.9.22 → 4.9.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-a6bcda2f.js → app-globals-c0b20747.js} +2 -2
- package/dist/cjs/{app-globals-a6bcda2f.js.map → app-globals-c0b20747.js.map} +1 -1
- package/dist/cjs/{column.drag.plugin-3644bda6.js → column.drag.plugin-eb1db875.js} +50 -55
- package/dist/cjs/column.drag.plugin-eb1db875.js.map +1 -0
- package/dist/cjs/{column.service-caec759a.js → column.service-6089b047.js} +10 -20
- package/dist/cjs/column.service-6089b047.js.map +1 -0
- package/dist/{esm/debounce-e8e9464a.js → cjs/debounce-ec7a04b4.js} +36 -78
- package/dist/cjs/debounce-ec7a04b4.js.map +1 -0
- package/dist/cjs/{edit.utils-18840bb3.js → edit.utils-093fe9cd.js} +2 -2
- package/dist/cjs/{edit.utils-18840bb3.js.map → edit.utils-093fe9cd.js.map} +1 -1
- package/dist/cjs/{filter.button-1e1e16be.js → filter.button-afb16244.js} +2 -2
- package/dist/cjs/{filter.button-1e1e16be.js.map → filter.button-afb16244.js.map} +1 -1
- package/dist/cjs/{header-cell-renderer-4fd62cec.js → header-cell-renderer-2d56e8f5.js} +3 -3
- package/dist/cjs/{header-cell-renderer-4fd62cec.js.map → header-cell-renderer-2d56e8f5.js.map} +1 -1
- package/dist/cjs/{index-34dfb0db.js → index-10d10c55.js} +14 -20
- package/dist/cjs/index-10d10c55.js.map +1 -0
- package/dist/cjs/{index-71b783e2.js → index-a9ee8eef.js} +290 -854
- package/dist/cjs/index-a9ee8eef.js.map +1 -0
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{key.utils-48b178d1.js → key.utils-1438f2ac.js} +2 -2
- package/dist/cjs/{key.utils-48b178d1.js.map → key.utils-1438f2ac.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/revo-grid.cjs.entry.js +43 -74
- package/dist/cjs/revo-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/revo-grid.cjs.js +3 -3
- package/dist/cjs/revo-grid.cjs.js.map +1 -1
- package/dist/cjs/revogr-attribution_6.cjs.entry.js +10 -10
- package/dist/cjs/revogr-attribution_6.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js +7 -7
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-data_4.cjs.entry.js +24 -47
- package/dist/cjs/revogr-data_4.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-filter-panel.cjs.entry.js +4 -4
- package/dist/cjs/revogr-filter-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/{row-header-utils-baf917a2.js → row-header-utils-eb5949b3.js} +7 -9
- package/dist/cjs/row-header-utils-eb5949b3.js.map +1 -0
- package/dist/cjs/{sorting.sign-54938069.js → sorting.sign-8bf92449.js} +2 -2
- package/dist/cjs/{sorting.sign-54938069.js.map → sorting.sign-8bf92449.js.map} +1 -1
- package/dist/cjs/{text-editor-bdc757b1.js → text-editor-ea3badef.js} +3 -3
- package/dist/cjs/{text-editor-bdc757b1.js.map → text-editor-ea3badef.js.map} +1 -1
- package/dist/cjs/{throttle-b5d436ca.js → throttle-6fecba1e.js} +6 -11
- package/dist/cjs/throttle-6fecba1e.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/revoGrid/revo-grid.js +9 -13
- package/dist/collection/components/revoGrid/revo-grid.js.map +1 -1
- package/dist/collection/services/dimension.provider.js +4 -3
- package/dist/collection/services/dimension.provider.js.map +1 -1
- package/dist/collection/store/dimension/dimension.store.js +19 -6
- package/dist/collection/store/dimension/dimension.store.js.map +1 -1
- package/dist/collection/store/vp/viewport.store.js +5 -7
- package/dist/collection/store/vp/viewport.store.js.map +1 -1
- package/dist/esm/{app-globals-43714036.js → app-globals-3a760941.js} +2 -2
- package/dist/esm/{app-globals-43714036.js.map → app-globals-3a760941.js.map} +1 -1
- package/dist/esm/{column.drag.plugin-49737eae.js → column.drag.plugin-cb25a5e1.js} +47 -52
- package/dist/esm/column.drag.plugin-cb25a5e1.js.map +1 -0
- package/dist/esm/{column.service-dc98409c.js → column.service-407956dd.js} +7 -17
- package/dist/esm/column.service-407956dd.js.map +1 -0
- package/dist/{cjs/debounce-cb5f4e35.js → esm/debounce-7b511afc.js} +26 -88
- package/dist/esm/debounce-7b511afc.js.map +1 -0
- package/dist/esm/{edit.utils-177d6b9e.js → edit.utils-1eeabeab.js} +2 -2
- package/dist/esm/{edit.utils-177d6b9e.js.map → edit.utils-1eeabeab.js.map} +1 -1
- package/dist/esm/{filter.button-91088160.js → filter.button-37373672.js} +2 -2
- package/dist/esm/{filter.button-91088160.js.map → filter.button-37373672.js.map} +1 -1
- package/dist/esm/{header-cell-renderer-07c6f845.js → header-cell-renderer-da468bd2.js} +3 -3
- package/dist/esm/{header-cell-renderer-07c6f845.js.map → header-cell-renderer-da468bd2.js.map} +1 -1
- package/dist/esm/{index-70354f39.js → index-a61f225b.js} +14 -20
- package/dist/esm/index-a61f225b.js.map +1 -0
- package/dist/esm/{index-29a9a87a.js → index-b6586f9b.js} +270 -834
- package/dist/esm/index-b6586f9b.js.map +1 -0
- package/dist/esm/index.js +11 -11
- package/dist/esm/{key.utils-0bbb3bc6.js → key.utils-562c749e.js} +2 -2
- package/dist/esm/{key.utils-0bbb3bc6.js.map → key.utils-562c749e.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/revo-grid.entry.js +39 -70
- package/dist/esm/revo-grid.entry.js.map +1 -1
- package/dist/esm/revo-grid.js +4 -4
- package/dist/esm/revo-grid.js.map +1 -1
- package/dist/esm/revogr-attribution_6.entry.js +10 -10
- package/dist/esm/revogr-attribution_6.entry.js.map +1 -1
- package/dist/esm/revogr-clipboard_3.entry.js +7 -7
- package/dist/esm/revogr-clipboard_3.entry.js.map +1 -1
- package/dist/esm/revogr-data_4.entry.js +20 -43
- package/dist/esm/revogr-data_4.entry.js.map +1 -1
- package/dist/esm/revogr-filter-panel.entry.js +4 -4
- package/dist/esm/revogr-filter-panel.entry.js.map +1 -1
- package/dist/esm/{row-header-utils-32049c13.js → row-header-utils-e043f744.js} +7 -9
- package/dist/esm/row-header-utils-e043f744.js.map +1 -0
- package/dist/esm/{sorting.sign-569a1f3c.js → sorting.sign-1afddea1.js} +2 -2
- package/dist/esm/{sorting.sign-569a1f3c.js.map → sorting.sign-1afddea1.js.map} +1 -1
- package/dist/esm/{text-editor-b1bb2bd3.js → text-editor-654f5d53.js} +3 -3
- package/dist/esm/{text-editor-b1bb2bd3.js.map → text-editor-654f5d53.js.map} +1 -1
- package/dist/esm/{throttle-c6f34cc0.js → throttle-bb3169c7.js} +4 -9
- package/dist/esm/throttle-bb3169c7.js.map +1 -0
- package/dist/revo-grid/app-globals-3a760941.js +5 -0
- package/dist/revo-grid/column.drag.plugin-cb25a5e1.js +5 -0
- package/dist/revo-grid/column.drag.plugin-cb25a5e1.js.map +1 -0
- package/dist/revo-grid/column.service-407956dd.js +5 -0
- package/dist/revo-grid/column.service-407956dd.js.map +1 -0
- package/dist/revo-grid/debounce-7b511afc.js +5 -0
- package/dist/revo-grid/debounce-7b511afc.js.map +1 -0
- package/dist/revo-grid/{edit.utils-177d6b9e.js → edit.utils-1eeabeab.js} +2 -2
- package/dist/revo-grid/{filter.button-91088160.js → filter.button-37373672.js} +2 -2
- package/dist/revo-grid/{header-cell-renderer-07c6f845.js → header-cell-renderer-da468bd2.js} +2 -2
- package/dist/revo-grid/index-a61f225b.js +6 -0
- package/dist/revo-grid/index-a61f225b.js.map +1 -0
- package/dist/revo-grid/index-b6586f9b.js +5 -0
- package/dist/revo-grid/index-b6586f9b.js.map +1 -0
- package/dist/revo-grid/index.esm.js +1 -1
- package/dist/revo-grid/{key.utils-0bbb3bc6.js → key.utils-562c749e.js} +2 -2
- package/dist/revo-grid/revo-grid.entry.js +1 -1
- package/dist/revo-grid/revo-grid.entry.js.map +1 -1
- package/dist/revo-grid/revo-grid.esm.js +1 -1
- package/dist/revo-grid/revo-grid.esm.js.map +1 -1
- package/dist/revo-grid/revogr-attribution_6.entry.js +1 -1
- package/dist/revo-grid/revogr-clipboard_3.entry.js +1 -1
- package/dist/revo-grid/revogr-data_4.entry.js +1 -1
- package/dist/revo-grid/revogr-data_4.entry.js.map +1 -1
- package/dist/revo-grid/revogr-filter-panel.entry.js +1 -1
- package/dist/revo-grid/row-header-utils-e043f744.js +5 -0
- package/dist/revo-grid/row-header-utils-e043f744.js.map +1 -0
- package/dist/revo-grid/{sorting.sign-569a1f3c.js → sorting.sign-1afddea1.js} +2 -2
- package/dist/revo-grid/{text-editor-b1bb2bd3.js → text-editor-654f5d53.js} +2 -2
- package/dist/revo-grid/throttle-bb3169c7.js +5 -0
- package/dist/revo-grid/throttle-bb3169c7.js.map +1 -0
- package/dist/types/store/dimension/dimension.store.d.ts +2 -1
- package/dist/types/store/vp/viewport.store.d.ts +0 -1
- package/hydrate/index.d.ts +4 -4
- package/hydrate/index.js +426 -1128
- package/hydrate/index.mjs +426 -1128
- package/package.json +3 -3
- package/standalone/column.service.js +5 -16
- package/standalone/column.service.js.map +1 -1
- package/standalone/debounce.js +7 -16
- package/standalone/debounce.js.map +1 -1
- package/standalone/dimension.helpers.js +15 -45
- package/standalone/dimension.helpers.js.map +1 -1
- package/standalone/index.js +0 -2
- package/standalone/index.js.map +1 -1
- package/standalone/index2.js +0 -2
- package/standalone/index2.js.map +1 -1
- package/standalone/reduce.js +1319 -474
- package/standalone/reduce.js.map +1 -1
- package/standalone/revo-grid.js +74 -111
- package/standalone/revo-grid.js.map +1 -1
- package/standalone/revogr-data2.js +0 -2
- package/standalone/revogr-data2.js.map +1 -1
- package/standalone/revogr-filter-panel.js +2 -2
- package/standalone/revogr-filter-panel.js.map +1 -1
- package/standalone/revogr-focus2.js +0 -2
- package/standalone/revogr-focus2.js.map +1 -1
- package/standalone/revogr-header2.js +12 -37
- package/standalone/revogr-header2.js.map +1 -1
- package/standalone/revogr-order-editor2.js +2 -4
- package/standalone/revogr-order-editor2.js.map +1 -1
- package/standalone/revogr-overlay-selection2.js +2 -4
- package/standalone/revogr-overlay-selection2.js.map +1 -1
- package/standalone/revogr-row-headers2.js +5 -9
- package/standalone/revogr-row-headers2.js.map +1 -1
- package/standalone/revogr-temp-range2.js +2 -2
- package/standalone/revogr-temp-range2.js.map +1 -1
- package/standalone/revogr-viewport-scroll2.js +2 -2
- package/standalone/revogr-viewport-scroll2.js.map +1 -1
- package/standalone/selection.utils.js +0 -2
- package/standalone/selection.utils.js.map +1 -1
- package/standalone/throttle.js +3 -8
- package/standalone/throttle.js.map +1 -1
- package/standalone/toNumber.js +165 -22
- package/standalone/toNumber.js.map +1 -1
- package/dist/cjs/column.drag.plugin-3644bda6.js.map +0 -1
- package/dist/cjs/column.service-caec759a.js.map +0 -1
- package/dist/cjs/debounce-cb5f4e35.js.map +0 -1
- package/dist/cjs/index-34dfb0db.js.map +0 -1
- package/dist/cjs/index-71b783e2.js.map +0 -1
- package/dist/cjs/row-header-utils-baf917a2.js.map +0 -1
- package/dist/cjs/throttle-b5d436ca.js.map +0 -1
- package/dist/esm/column.drag.plugin-49737eae.js.map +0 -1
- package/dist/esm/column.service-dc98409c.js.map +0 -1
- package/dist/esm/debounce-e8e9464a.js.map +0 -1
- package/dist/esm/index-29a9a87a.js.map +0 -1
- package/dist/esm/index-70354f39.js.map +0 -1
- package/dist/esm/row-header-utils-32049c13.js.map +0 -1
- package/dist/esm/throttle-c6f34cc0.js.map +0 -1
- package/dist/revo-grid/app-globals-43714036.js +0 -5
- package/dist/revo-grid/column.drag.plugin-49737eae.js +0 -5
- package/dist/revo-grid/column.drag.plugin-49737eae.js.map +0 -1
- package/dist/revo-grid/column.service-dc98409c.js +0 -5
- package/dist/revo-grid/column.service-dc98409c.js.map +0 -1
- package/dist/revo-grid/debounce-e8e9464a.js +0 -5
- package/dist/revo-grid/debounce-e8e9464a.js.map +0 -1
- package/dist/revo-grid/index-29a9a87a.js +0 -5
- package/dist/revo-grid/index-29a9a87a.js.map +0 -1
- package/dist/revo-grid/index-70354f39.js +0 -6
- package/dist/revo-grid/index-70354f39.js.map +0 -1
- package/dist/revo-grid/row-header-utils-32049c13.js +0 -5
- package/dist/revo-grid/row-header-utils-32049c13.js.map +0 -1
- package/dist/revo-grid/throttle-c6f34cc0.js +0 -5
- package/dist/revo-grid/throttle-c6f34cc0.js.map +0 -1
- package/standalone/_stringToPath.js +0 -1389
- package/standalone/_stringToPath.js.map +0 -1
- package/standalone/isObjectLike.js +0 -195
- package/standalone/isObjectLike.js.map +0 -1
- /package/dist/revo-grid/{app-globals-43714036.js.map → app-globals-3a760941.js.map} +0 -0
- /package/dist/revo-grid/{edit.utils-177d6b9e.js.map → edit.utils-1eeabeab.js.map} +0 -0
- /package/dist/revo-grid/{filter.button-91088160.js.map → filter.button-37373672.js.map} +0 -0
- /package/dist/revo-grid/{header-cell-renderer-07c6f845.js.map → header-cell-renderer-da468bd2.js.map} +0 -0
- /package/dist/revo-grid/{key.utils-0bbb3bc6.js.map → key.utils-562c749e.js.map} +0 -0
- /package/dist/revo-grid/{sorting.sign-569a1f3c.js.map → sorting.sign-1afddea1.js.map} +0 -0
- /package/dist/revo-grid/{text-editor-b1bb2bd3.js.map → text-editor-654f5d53.js.map} +0 -0
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const debounce$1 = require('./debounce-
|
|
7
|
-
const index = require('./index-
|
|
6
|
+
const debounce$1 = require('./debounce-ec7a04b4.js');
|
|
7
|
+
const index = require('./index-10d10c55.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* All items
|
|
@@ -52,8 +52,7 @@ function isProxy(k) {
|
|
|
52
52
|
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
53
53
|
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
54
54
|
*/
|
|
55
|
-
|
|
56
|
-
function baseFindIndex$1(array, predicate, fromIndex, fromRight) {
|
|
55
|
+
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
57
56
|
var length = array.length,
|
|
58
57
|
index = fromIndex + (fromRight ? 1 : -1);
|
|
59
58
|
|
|
@@ -65,8 +64,6 @@ function baseFindIndex$1(array, predicate, fromIndex, fromRight) {
|
|
|
65
64
|
return -1;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
|
-
var _baseFindIndex = baseFindIndex$1;
|
|
69
|
-
|
|
70
67
|
/**
|
|
71
68
|
* Removes all key-value entries from the list cache.
|
|
72
69
|
*
|
|
@@ -74,14 +71,11 @@ var _baseFindIndex = baseFindIndex$1;
|
|
|
74
71
|
* @name clear
|
|
75
72
|
* @memberOf ListCache
|
|
76
73
|
*/
|
|
77
|
-
|
|
78
|
-
function listCacheClear$1() {
|
|
74
|
+
function listCacheClear() {
|
|
79
75
|
this.__data__ = [];
|
|
80
76
|
this.size = 0;
|
|
81
77
|
}
|
|
82
78
|
|
|
83
|
-
var _listCacheClear = listCacheClear$1;
|
|
84
|
-
|
|
85
79
|
/**
|
|
86
80
|
* Performs a
|
|
87
81
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -114,15 +108,10 @@ var _listCacheClear = listCacheClear$1;
|
|
|
114
108
|
* _.eq(NaN, NaN);
|
|
115
109
|
* // => true
|
|
116
110
|
*/
|
|
117
|
-
|
|
118
|
-
function eq$3(value, other) {
|
|
111
|
+
function eq(value, other) {
|
|
119
112
|
return value === other || (value !== value && other !== other);
|
|
120
113
|
}
|
|
121
114
|
|
|
122
|
-
var eq_1 = eq$3;
|
|
123
|
-
|
|
124
|
-
var eq$2 = eq_1;
|
|
125
|
-
|
|
126
115
|
/**
|
|
127
116
|
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
128
117
|
*
|
|
@@ -131,20 +120,16 @@ var eq$2 = eq_1;
|
|
|
131
120
|
* @param {*} key The key to search for.
|
|
132
121
|
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
133
122
|
*/
|
|
134
|
-
function assocIndexOf
|
|
123
|
+
function assocIndexOf(array, key) {
|
|
135
124
|
var length = array.length;
|
|
136
125
|
while (length--) {
|
|
137
|
-
if (eq
|
|
126
|
+
if (eq(array[length][0], key)) {
|
|
138
127
|
return length;
|
|
139
128
|
}
|
|
140
129
|
}
|
|
141
130
|
return -1;
|
|
142
131
|
}
|
|
143
132
|
|
|
144
|
-
var _assocIndexOf = assocIndexOf$4;
|
|
145
|
-
|
|
146
|
-
var assocIndexOf$3 = _assocIndexOf;
|
|
147
|
-
|
|
148
133
|
/** Used for built-in method references. */
|
|
149
134
|
var arrayProto = Array.prototype;
|
|
150
135
|
|
|
@@ -160,9 +145,9 @@ var splice = arrayProto.splice;
|
|
|
160
145
|
* @param {string} key The key of the value to remove.
|
|
161
146
|
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
162
147
|
*/
|
|
163
|
-
function listCacheDelete
|
|
148
|
+
function listCacheDelete(key) {
|
|
164
149
|
var data = this.__data__,
|
|
165
|
-
index = assocIndexOf
|
|
150
|
+
index = assocIndexOf(data, key);
|
|
166
151
|
|
|
167
152
|
if (index < 0) {
|
|
168
153
|
return false;
|
|
@@ -177,10 +162,6 @@ function listCacheDelete$1(key) {
|
|
|
177
162
|
return true;
|
|
178
163
|
}
|
|
179
164
|
|
|
180
|
-
var _listCacheDelete = listCacheDelete$1;
|
|
181
|
-
|
|
182
|
-
var assocIndexOf$2 = _assocIndexOf;
|
|
183
|
-
|
|
184
165
|
/**
|
|
185
166
|
* Gets the list cache value for `key`.
|
|
186
167
|
*
|
|
@@ -190,17 +171,13 @@ var assocIndexOf$2 = _assocIndexOf;
|
|
|
190
171
|
* @param {string} key The key of the value to get.
|
|
191
172
|
* @returns {*} Returns the entry value.
|
|
192
173
|
*/
|
|
193
|
-
function listCacheGet
|
|
174
|
+
function listCacheGet(key) {
|
|
194
175
|
var data = this.__data__,
|
|
195
|
-
index = assocIndexOf
|
|
176
|
+
index = assocIndexOf(data, key);
|
|
196
177
|
|
|
197
178
|
return index < 0 ? undefined : data[index][1];
|
|
198
179
|
}
|
|
199
180
|
|
|
200
|
-
var _listCacheGet = listCacheGet$1;
|
|
201
|
-
|
|
202
|
-
var assocIndexOf$1 = _assocIndexOf;
|
|
203
|
-
|
|
204
181
|
/**
|
|
205
182
|
* Checks if a list cache value for `key` exists.
|
|
206
183
|
*
|
|
@@ -210,14 +187,10 @@ var assocIndexOf$1 = _assocIndexOf;
|
|
|
210
187
|
* @param {string} key The key of the entry to check.
|
|
211
188
|
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
212
189
|
*/
|
|
213
|
-
function listCacheHas
|
|
214
|
-
return assocIndexOf
|
|
190
|
+
function listCacheHas(key) {
|
|
191
|
+
return assocIndexOf(this.__data__, key) > -1;
|
|
215
192
|
}
|
|
216
193
|
|
|
217
|
-
var _listCacheHas = listCacheHas$1;
|
|
218
|
-
|
|
219
|
-
var assocIndexOf = _assocIndexOf;
|
|
220
|
-
|
|
221
194
|
/**
|
|
222
195
|
* Sets the list cache `key` to `value`.
|
|
223
196
|
*
|
|
@@ -228,7 +201,7 @@ var assocIndexOf = _assocIndexOf;
|
|
|
228
201
|
* @param {*} value The value to set.
|
|
229
202
|
* @returns {Object} Returns the list cache instance.
|
|
230
203
|
*/
|
|
231
|
-
function listCacheSet
|
|
204
|
+
function listCacheSet(key, value) {
|
|
232
205
|
var data = this.__data__,
|
|
233
206
|
index = assocIndexOf(data, key);
|
|
234
207
|
|
|
@@ -241,14 +214,6 @@ function listCacheSet$1(key, value) {
|
|
|
241
214
|
return this;
|
|
242
215
|
}
|
|
243
216
|
|
|
244
|
-
var _listCacheSet = listCacheSet$1;
|
|
245
|
-
|
|
246
|
-
var listCacheClear = _listCacheClear,
|
|
247
|
-
listCacheDelete = _listCacheDelete,
|
|
248
|
-
listCacheGet = _listCacheGet,
|
|
249
|
-
listCacheHas = _listCacheHas,
|
|
250
|
-
listCacheSet = _listCacheSet;
|
|
251
|
-
|
|
252
217
|
/**
|
|
253
218
|
* Creates an list cache object.
|
|
254
219
|
*
|
|
@@ -256,7 +221,7 @@ var listCacheClear = _listCacheClear,
|
|
|
256
221
|
* @constructor
|
|
257
222
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
258
223
|
*/
|
|
259
|
-
function ListCache
|
|
224
|
+
function ListCache(entries) {
|
|
260
225
|
var index = -1,
|
|
261
226
|
length = entries == null ? 0 : entries.length;
|
|
262
227
|
|
|
@@ -268,15 +233,11 @@ function ListCache$4(entries) {
|
|
|
268
233
|
}
|
|
269
234
|
|
|
270
235
|
// Add methods to `ListCache`.
|
|
271
|
-
ListCache
|
|
272
|
-
ListCache
|
|
273
|
-
ListCache
|
|
274
|
-
ListCache
|
|
275
|
-
ListCache
|
|
276
|
-
|
|
277
|
-
var _ListCache = ListCache$4;
|
|
278
|
-
|
|
279
|
-
var ListCache$3 = _ListCache;
|
|
236
|
+
ListCache.prototype.clear = listCacheClear;
|
|
237
|
+
ListCache.prototype['delete'] = listCacheDelete;
|
|
238
|
+
ListCache.prototype.get = listCacheGet;
|
|
239
|
+
ListCache.prototype.has = listCacheHas;
|
|
240
|
+
ListCache.prototype.set = listCacheSet;
|
|
280
241
|
|
|
281
242
|
/**
|
|
282
243
|
* Removes all key-value entries from the stack.
|
|
@@ -285,13 +246,11 @@ var ListCache$3 = _ListCache;
|
|
|
285
246
|
* @name clear
|
|
286
247
|
* @memberOf Stack
|
|
287
248
|
*/
|
|
288
|
-
function stackClear
|
|
289
|
-
this.__data__ = new ListCache
|
|
249
|
+
function stackClear() {
|
|
250
|
+
this.__data__ = new ListCache;
|
|
290
251
|
this.size = 0;
|
|
291
252
|
}
|
|
292
253
|
|
|
293
|
-
var _stackClear = stackClear$1;
|
|
294
|
-
|
|
295
254
|
/**
|
|
296
255
|
* Removes `key` and its value from the stack.
|
|
297
256
|
*
|
|
@@ -301,8 +260,7 @@ var _stackClear = stackClear$1;
|
|
|
301
260
|
* @param {string} key The key of the value to remove.
|
|
302
261
|
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
303
262
|
*/
|
|
304
|
-
|
|
305
|
-
function stackDelete$1(key) {
|
|
263
|
+
function stackDelete(key) {
|
|
306
264
|
var data = this.__data__,
|
|
307
265
|
result = data['delete'](key);
|
|
308
266
|
|
|
@@ -310,8 +268,6 @@ function stackDelete$1(key) {
|
|
|
310
268
|
return result;
|
|
311
269
|
}
|
|
312
270
|
|
|
313
|
-
var _stackDelete = stackDelete$1;
|
|
314
|
-
|
|
315
271
|
/**
|
|
316
272
|
* Gets the stack value for `key`.
|
|
317
273
|
*
|
|
@@ -321,13 +277,10 @@ var _stackDelete = stackDelete$1;
|
|
|
321
277
|
* @param {string} key The key of the value to get.
|
|
322
278
|
* @returns {*} Returns the entry value.
|
|
323
279
|
*/
|
|
324
|
-
|
|
325
|
-
function stackGet$1(key) {
|
|
280
|
+
function stackGet(key) {
|
|
326
281
|
return this.__data__.get(key);
|
|
327
282
|
}
|
|
328
283
|
|
|
329
|
-
var _stackGet = stackGet$1;
|
|
330
|
-
|
|
331
284
|
/**
|
|
332
285
|
* Checks if a stack value for `key` exists.
|
|
333
286
|
*
|
|
@@ -337,16 +290,10 @@ var _stackGet = stackGet$1;
|
|
|
337
290
|
* @param {string} key The key of the entry to check.
|
|
338
291
|
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
339
292
|
*/
|
|
340
|
-
|
|
341
|
-
function stackHas$1(key) {
|
|
293
|
+
function stackHas(key) {
|
|
342
294
|
return this.__data__.has(key);
|
|
343
295
|
}
|
|
344
296
|
|
|
345
|
-
var _stackHas = stackHas$1;
|
|
346
|
-
|
|
347
|
-
var baseGetTag$3 = debounce$1._baseGetTag,
|
|
348
|
-
isObject$3 = debounce$1.isObject_1;
|
|
349
|
-
|
|
350
297
|
/** `Object#toString` result references. */
|
|
351
298
|
var asyncTag = '[object AsyncFunction]',
|
|
352
299
|
funcTag$1 = '[object Function]',
|
|
@@ -370,30 +317,24 @@ var asyncTag = '[object AsyncFunction]',
|
|
|
370
317
|
* _.isFunction(/abc/);
|
|
371
318
|
* // => false
|
|
372
319
|
*/
|
|
373
|
-
function isFunction
|
|
374
|
-
if (!isObject
|
|
320
|
+
function isFunction(value) {
|
|
321
|
+
if (!debounce$1.isObject(value)) {
|
|
375
322
|
return false;
|
|
376
323
|
}
|
|
377
324
|
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
378
325
|
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
379
|
-
var tag = baseGetTag
|
|
326
|
+
var tag = debounce$1.baseGetTag(value);
|
|
380
327
|
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
381
328
|
}
|
|
382
329
|
|
|
383
|
-
var isFunction_1 = isFunction$2;
|
|
384
|
-
|
|
385
|
-
var root$6 = debounce$1._root;
|
|
386
|
-
|
|
387
330
|
/** Used to detect overreaching core-js shims. */
|
|
388
|
-
var coreJsData
|
|
331
|
+
var coreJsData = debounce$1.root['__core-js_shared__'];
|
|
389
332
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
var coreJsData = _coreJsData;
|
|
333
|
+
const coreJsData$1 = coreJsData;
|
|
393
334
|
|
|
394
335
|
/** Used to detect methods masquerading as native. */
|
|
395
336
|
var maskSrcKey = (function() {
|
|
396
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
337
|
+
var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
|
|
397
338
|
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
398
339
|
}());
|
|
399
340
|
|
|
@@ -404,14 +345,11 @@ var maskSrcKey = (function() {
|
|
|
404
345
|
* @param {Function} func The function to check.
|
|
405
346
|
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
406
347
|
*/
|
|
407
|
-
function isMasked
|
|
348
|
+
function isMasked(func) {
|
|
408
349
|
return !!maskSrcKey && (maskSrcKey in func);
|
|
409
350
|
}
|
|
410
351
|
|
|
411
|
-
var _isMasked = isMasked$1;
|
|
412
|
-
|
|
413
352
|
/** Used for built-in method references. */
|
|
414
|
-
|
|
415
353
|
var funcProto$1 = Function.prototype;
|
|
416
354
|
|
|
417
355
|
/** Used to resolve the decompiled source of functions. */
|
|
@@ -424,7 +362,7 @@ var funcToString$1 = funcProto$1.toString;
|
|
|
424
362
|
* @param {Function} func The function to convert.
|
|
425
363
|
* @returns {string} Returns the source code.
|
|
426
364
|
*/
|
|
427
|
-
function toSource
|
|
365
|
+
function toSource(func) {
|
|
428
366
|
if (func != null) {
|
|
429
367
|
try {
|
|
430
368
|
return funcToString$1.call(func);
|
|
@@ -436,13 +374,6 @@ function toSource$2(func) {
|
|
|
436
374
|
return '';
|
|
437
375
|
}
|
|
438
376
|
|
|
439
|
-
var _toSource = toSource$2;
|
|
440
|
-
|
|
441
|
-
var isFunction$1 = isFunction_1,
|
|
442
|
-
isMasked = _isMasked,
|
|
443
|
-
isObject$2 = debounce$1.isObject_1,
|
|
444
|
-
toSource$1 = _toSource;
|
|
445
|
-
|
|
446
377
|
/**
|
|
447
378
|
* Used to match `RegExp`
|
|
448
379
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -476,16 +407,14 @@ var reIsNative = RegExp('^' +
|
|
|
476
407
|
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
477
408
|
* else `false`.
|
|
478
409
|
*/
|
|
479
|
-
function baseIsNative
|
|
480
|
-
if (!isObject
|
|
410
|
+
function baseIsNative(value) {
|
|
411
|
+
if (!debounce$1.isObject(value) || isMasked(value)) {
|
|
481
412
|
return false;
|
|
482
413
|
}
|
|
483
|
-
var pattern = isFunction
|
|
484
|
-
return pattern.test(toSource
|
|
414
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
415
|
+
return pattern.test(toSource(value));
|
|
485
416
|
}
|
|
486
417
|
|
|
487
|
-
var _baseIsNative = baseIsNative$1;
|
|
488
|
-
|
|
489
418
|
/**
|
|
490
419
|
* Gets the value at `key` of `object`.
|
|
491
420
|
*
|
|
@@ -494,16 +423,10 @@ var _baseIsNative = baseIsNative$1;
|
|
|
494
423
|
* @param {string} key The key of the property to get.
|
|
495
424
|
* @returns {*} Returns the property value.
|
|
496
425
|
*/
|
|
497
|
-
|
|
498
|
-
function getValue$1(object, key) {
|
|
426
|
+
function getValue(object, key) {
|
|
499
427
|
return object == null ? undefined : object[key];
|
|
500
428
|
}
|
|
501
429
|
|
|
502
|
-
var _getValue = getValue$1;
|
|
503
|
-
|
|
504
|
-
var baseIsNative = _baseIsNative,
|
|
505
|
-
getValue = _getValue;
|
|
506
|
-
|
|
507
430
|
/**
|
|
508
431
|
* Gets the native function at `key` of `object`.
|
|
509
432
|
*
|
|
@@ -512,29 +435,20 @@ var baseIsNative = _baseIsNative,
|
|
|
512
435
|
* @param {string} key The key of the method to get.
|
|
513
436
|
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
514
437
|
*/
|
|
515
|
-
function getNative
|
|
438
|
+
function getNative(object, key) {
|
|
516
439
|
var value = getValue(object, key);
|
|
517
440
|
return baseIsNative(value) ? value : undefined;
|
|
518
441
|
}
|
|
519
442
|
|
|
520
|
-
var _getNative = getNative$6;
|
|
521
|
-
|
|
522
|
-
var getNative$5 = _getNative,
|
|
523
|
-
root$5 = debounce$1._root;
|
|
524
|
-
|
|
525
443
|
/* Built-in method references that are verified to be native. */
|
|
526
|
-
var Map$
|
|
527
|
-
|
|
528
|
-
var _Map = Map$4;
|
|
444
|
+
var Map$1 = getNative(debounce$1.root, 'Map');
|
|
529
445
|
|
|
530
|
-
|
|
446
|
+
const Map$2 = Map$1;
|
|
531
447
|
|
|
532
448
|
/* Built-in method references that are verified to be native. */
|
|
533
|
-
var nativeCreate
|
|
449
|
+
var nativeCreate = getNative(Object, 'create');
|
|
534
450
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
var nativeCreate$3 = _nativeCreate;
|
|
451
|
+
const nativeCreate$1 = nativeCreate;
|
|
538
452
|
|
|
539
453
|
/**
|
|
540
454
|
* Removes all key-value entries from the hash.
|
|
@@ -543,13 +457,11 @@ var nativeCreate$3 = _nativeCreate;
|
|
|
543
457
|
* @name clear
|
|
544
458
|
* @memberOf Hash
|
|
545
459
|
*/
|
|
546
|
-
function hashClear
|
|
547
|
-
this.__data__ = nativeCreate$
|
|
460
|
+
function hashClear() {
|
|
461
|
+
this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
|
|
548
462
|
this.size = 0;
|
|
549
463
|
}
|
|
550
464
|
|
|
551
|
-
var _hashClear = hashClear$1;
|
|
552
|
-
|
|
553
465
|
/**
|
|
554
466
|
* Removes `key` and its value from the hash.
|
|
555
467
|
*
|
|
@@ -560,17 +472,12 @@ var _hashClear = hashClear$1;
|
|
|
560
472
|
* @param {string} key The key of the value to remove.
|
|
561
473
|
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
562
474
|
*/
|
|
563
|
-
|
|
564
|
-
function hashDelete$1(key) {
|
|
475
|
+
function hashDelete(key) {
|
|
565
476
|
var result = this.has(key) && delete this.__data__[key];
|
|
566
477
|
this.size -= result ? 1 : 0;
|
|
567
478
|
return result;
|
|
568
479
|
}
|
|
569
480
|
|
|
570
|
-
var _hashDelete = hashDelete$1;
|
|
571
|
-
|
|
572
|
-
var nativeCreate$2 = _nativeCreate;
|
|
573
|
-
|
|
574
481
|
/** Used to stand-in for `undefined` hash values. */
|
|
575
482
|
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
576
483
|
|
|
@@ -589,19 +496,15 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
|
|
|
589
496
|
* @param {string} key The key of the value to get.
|
|
590
497
|
* @returns {*} Returns the entry value.
|
|
591
498
|
*/
|
|
592
|
-
function hashGet
|
|
499
|
+
function hashGet(key) {
|
|
593
500
|
var data = this.__data__;
|
|
594
|
-
if (nativeCreate$
|
|
501
|
+
if (nativeCreate$1) {
|
|
595
502
|
var result = data[key];
|
|
596
503
|
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
597
504
|
}
|
|
598
505
|
return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
|
|
599
506
|
}
|
|
600
507
|
|
|
601
|
-
var _hashGet = hashGet$1;
|
|
602
|
-
|
|
603
|
-
var nativeCreate$1 = _nativeCreate;
|
|
604
|
-
|
|
605
508
|
/** Used for built-in method references. */
|
|
606
509
|
var objectProto$7 = Object.prototype;
|
|
607
510
|
|
|
@@ -617,15 +520,11 @@ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
|
|
|
617
520
|
* @param {string} key The key of the entry to check.
|
|
618
521
|
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
619
522
|
*/
|
|
620
|
-
function hashHas
|
|
523
|
+
function hashHas(key) {
|
|
621
524
|
var data = this.__data__;
|
|
622
525
|
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
|
|
623
526
|
}
|
|
624
527
|
|
|
625
|
-
var _hashHas = hashHas$1;
|
|
626
|
-
|
|
627
|
-
var nativeCreate = _nativeCreate;
|
|
628
|
-
|
|
629
528
|
/** Used to stand-in for `undefined` hash values. */
|
|
630
529
|
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
631
530
|
|
|
@@ -639,21 +538,13 @@ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
|
639
538
|
* @param {*} value The value to set.
|
|
640
539
|
* @returns {Object} Returns the hash instance.
|
|
641
540
|
*/
|
|
642
|
-
function hashSet
|
|
541
|
+
function hashSet(key, value) {
|
|
643
542
|
var data = this.__data__;
|
|
644
543
|
this.size += this.has(key) ? 0 : 1;
|
|
645
|
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
544
|
+
data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
646
545
|
return this;
|
|
647
546
|
}
|
|
648
547
|
|
|
649
|
-
var _hashSet = hashSet$1;
|
|
650
|
-
|
|
651
|
-
var hashClear = _hashClear,
|
|
652
|
-
hashDelete = _hashDelete,
|
|
653
|
-
hashGet = _hashGet,
|
|
654
|
-
hashHas = _hashHas,
|
|
655
|
-
hashSet = _hashSet;
|
|
656
|
-
|
|
657
548
|
/**
|
|
658
549
|
* Creates a hash object.
|
|
659
550
|
*
|
|
@@ -661,7 +552,7 @@ var hashClear = _hashClear,
|
|
|
661
552
|
* @constructor
|
|
662
553
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
663
554
|
*/
|
|
664
|
-
function Hash
|
|
555
|
+
function Hash(entries) {
|
|
665
556
|
var index = -1,
|
|
666
557
|
length = entries == null ? 0 : entries.length;
|
|
667
558
|
|
|
@@ -673,17 +564,11 @@ function Hash$1(entries) {
|
|
|
673
564
|
}
|
|
674
565
|
|
|
675
566
|
// Add methods to `Hash`.
|
|
676
|
-
Hash
|
|
677
|
-
Hash
|
|
678
|
-
Hash
|
|
679
|
-
Hash
|
|
680
|
-
Hash
|
|
681
|
-
|
|
682
|
-
var _Hash = Hash$1;
|
|
683
|
-
|
|
684
|
-
var Hash = _Hash,
|
|
685
|
-
ListCache$2 = _ListCache,
|
|
686
|
-
Map$3 = _Map;
|
|
567
|
+
Hash.prototype.clear = hashClear;
|
|
568
|
+
Hash.prototype['delete'] = hashDelete;
|
|
569
|
+
Hash.prototype.get = hashGet;
|
|
570
|
+
Hash.prototype.has = hashHas;
|
|
571
|
+
Hash.prototype.set = hashSet;
|
|
687
572
|
|
|
688
573
|
/**
|
|
689
574
|
* Removes all key-value entries from the map.
|
|
@@ -692,17 +577,15 @@ var Hash = _Hash,
|
|
|
692
577
|
* @name clear
|
|
693
578
|
* @memberOf MapCache
|
|
694
579
|
*/
|
|
695
|
-
function mapCacheClear
|
|
580
|
+
function mapCacheClear() {
|
|
696
581
|
this.size = 0;
|
|
697
582
|
this.__data__ = {
|
|
698
583
|
'hash': new Hash,
|
|
699
|
-
'map': new (Map$
|
|
584
|
+
'map': new (Map$2 || ListCache),
|
|
700
585
|
'string': new Hash
|
|
701
586
|
};
|
|
702
587
|
}
|
|
703
588
|
|
|
704
|
-
var _mapCacheClear = mapCacheClear$1;
|
|
705
|
-
|
|
706
589
|
/**
|
|
707
590
|
* Checks if `value` is suitable for use as unique object key.
|
|
708
591
|
*
|
|
@@ -710,18 +593,13 @@ var _mapCacheClear = mapCacheClear$1;
|
|
|
710
593
|
* @param {*} value The value to check.
|
|
711
594
|
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
712
595
|
*/
|
|
713
|
-
|
|
714
|
-
function isKeyable$1(value) {
|
|
596
|
+
function isKeyable(value) {
|
|
715
597
|
var type = typeof value;
|
|
716
598
|
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
717
599
|
? (value !== '__proto__')
|
|
718
600
|
: (value === null);
|
|
719
601
|
}
|
|
720
602
|
|
|
721
|
-
var _isKeyable = isKeyable$1;
|
|
722
|
-
|
|
723
|
-
var isKeyable = _isKeyable;
|
|
724
|
-
|
|
725
603
|
/**
|
|
726
604
|
* Gets the data for `map`.
|
|
727
605
|
*
|
|
@@ -730,17 +608,13 @@ var isKeyable = _isKeyable;
|
|
|
730
608
|
* @param {string} key The reference key.
|
|
731
609
|
* @returns {*} Returns the map data.
|
|
732
610
|
*/
|
|
733
|
-
function getMapData
|
|
611
|
+
function getMapData(map, key) {
|
|
734
612
|
var data = map.__data__;
|
|
735
613
|
return isKeyable(key)
|
|
736
614
|
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
737
615
|
: data.map;
|
|
738
616
|
}
|
|
739
617
|
|
|
740
|
-
var _getMapData = getMapData$4;
|
|
741
|
-
|
|
742
|
-
var getMapData$3 = _getMapData;
|
|
743
|
-
|
|
744
618
|
/**
|
|
745
619
|
* Removes `key` and its value from the map.
|
|
746
620
|
*
|
|
@@ -750,16 +624,12 @@ var getMapData$3 = _getMapData;
|
|
|
750
624
|
* @param {string} key The key of the value to remove.
|
|
751
625
|
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
752
626
|
*/
|
|
753
|
-
function mapCacheDelete
|
|
754
|
-
var result = getMapData
|
|
627
|
+
function mapCacheDelete(key) {
|
|
628
|
+
var result = getMapData(this, key)['delete'](key);
|
|
755
629
|
this.size -= result ? 1 : 0;
|
|
756
630
|
return result;
|
|
757
631
|
}
|
|
758
632
|
|
|
759
|
-
var _mapCacheDelete = mapCacheDelete$1;
|
|
760
|
-
|
|
761
|
-
var getMapData$2 = _getMapData;
|
|
762
|
-
|
|
763
633
|
/**
|
|
764
634
|
* Gets the map value for `key`.
|
|
765
635
|
*
|
|
@@ -769,14 +639,10 @@ var getMapData$2 = _getMapData;
|
|
|
769
639
|
* @param {string} key The key of the value to get.
|
|
770
640
|
* @returns {*} Returns the entry value.
|
|
771
641
|
*/
|
|
772
|
-
function mapCacheGet
|
|
773
|
-
return getMapData
|
|
642
|
+
function mapCacheGet(key) {
|
|
643
|
+
return getMapData(this, key).get(key);
|
|
774
644
|
}
|
|
775
645
|
|
|
776
|
-
var _mapCacheGet = mapCacheGet$1;
|
|
777
|
-
|
|
778
|
-
var getMapData$1 = _getMapData;
|
|
779
|
-
|
|
780
646
|
/**
|
|
781
647
|
* Checks if a map value for `key` exists.
|
|
782
648
|
*
|
|
@@ -786,14 +652,10 @@ var getMapData$1 = _getMapData;
|
|
|
786
652
|
* @param {string} key The key of the entry to check.
|
|
787
653
|
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
788
654
|
*/
|
|
789
|
-
function mapCacheHas
|
|
790
|
-
return getMapData
|
|
655
|
+
function mapCacheHas(key) {
|
|
656
|
+
return getMapData(this, key).has(key);
|
|
791
657
|
}
|
|
792
658
|
|
|
793
|
-
var _mapCacheHas = mapCacheHas$1;
|
|
794
|
-
|
|
795
|
-
var getMapData = _getMapData;
|
|
796
|
-
|
|
797
659
|
/**
|
|
798
660
|
* Sets the map `key` to `value`.
|
|
799
661
|
*
|
|
@@ -804,7 +666,7 @@ var getMapData = _getMapData;
|
|
|
804
666
|
* @param {*} value The value to set.
|
|
805
667
|
* @returns {Object} Returns the map cache instance.
|
|
806
668
|
*/
|
|
807
|
-
function mapCacheSet
|
|
669
|
+
function mapCacheSet(key, value) {
|
|
808
670
|
var data = getMapData(this, key),
|
|
809
671
|
size = data.size;
|
|
810
672
|
|
|
@@ -813,14 +675,6 @@ function mapCacheSet$1(key, value) {
|
|
|
813
675
|
return this;
|
|
814
676
|
}
|
|
815
677
|
|
|
816
|
-
var _mapCacheSet = mapCacheSet$1;
|
|
817
|
-
|
|
818
|
-
var mapCacheClear = _mapCacheClear,
|
|
819
|
-
mapCacheDelete = _mapCacheDelete,
|
|
820
|
-
mapCacheGet = _mapCacheGet,
|
|
821
|
-
mapCacheHas = _mapCacheHas,
|
|
822
|
-
mapCacheSet = _mapCacheSet;
|
|
823
|
-
|
|
824
678
|
/**
|
|
825
679
|
* Creates a map cache object to store key-value pairs.
|
|
826
680
|
*
|
|
@@ -828,7 +682,7 @@ var mapCacheClear = _mapCacheClear,
|
|
|
828
682
|
* @constructor
|
|
829
683
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
830
684
|
*/
|
|
831
|
-
function MapCache
|
|
685
|
+
function MapCache(entries) {
|
|
832
686
|
var index = -1,
|
|
833
687
|
length = entries == null ? 0 : entries.length;
|
|
834
688
|
|
|
@@ -840,17 +694,11 @@ function MapCache$3(entries) {
|
|
|
840
694
|
}
|
|
841
695
|
|
|
842
696
|
// Add methods to `MapCache`.
|
|
843
|
-
MapCache
|
|
844
|
-
MapCache
|
|
845
|
-
MapCache
|
|
846
|
-
MapCache
|
|
847
|
-
MapCache
|
|
848
|
-
|
|
849
|
-
var _MapCache = MapCache$3;
|
|
850
|
-
|
|
851
|
-
var ListCache$1 = _ListCache,
|
|
852
|
-
Map$2 = _Map,
|
|
853
|
-
MapCache$2 = _MapCache;
|
|
697
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
698
|
+
MapCache.prototype['delete'] = mapCacheDelete;
|
|
699
|
+
MapCache.prototype.get = mapCacheGet;
|
|
700
|
+
MapCache.prototype.has = mapCacheHas;
|
|
701
|
+
MapCache.prototype.set = mapCacheSet;
|
|
854
702
|
|
|
855
703
|
/** Used as the size to enable large array optimizations. */
|
|
856
704
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -865,31 +713,22 @@ var LARGE_ARRAY_SIZE = 200;
|
|
|
865
713
|
* @param {*} value The value to set.
|
|
866
714
|
* @returns {Object} Returns the stack cache instance.
|
|
867
715
|
*/
|
|
868
|
-
function stackSet
|
|
716
|
+
function stackSet(key, value) {
|
|
869
717
|
var data = this.__data__;
|
|
870
|
-
if (data instanceof ListCache
|
|
718
|
+
if (data instanceof ListCache) {
|
|
871
719
|
var pairs = data.__data__;
|
|
872
720
|
if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
873
721
|
pairs.push([key, value]);
|
|
874
722
|
this.size = ++data.size;
|
|
875
723
|
return this;
|
|
876
724
|
}
|
|
877
|
-
data = this.__data__ = new MapCache
|
|
725
|
+
data = this.__data__ = new MapCache(pairs);
|
|
878
726
|
}
|
|
879
727
|
data.set(key, value);
|
|
880
728
|
this.size = data.size;
|
|
881
729
|
return this;
|
|
882
730
|
}
|
|
883
731
|
|
|
884
|
-
var _stackSet = stackSet$1;
|
|
885
|
-
|
|
886
|
-
var ListCache = _ListCache,
|
|
887
|
-
stackClear = _stackClear,
|
|
888
|
-
stackDelete = _stackDelete,
|
|
889
|
-
stackGet = _stackGet,
|
|
890
|
-
stackHas = _stackHas,
|
|
891
|
-
stackSet = _stackSet;
|
|
892
|
-
|
|
893
732
|
/**
|
|
894
733
|
* Creates a stack cache object to store key-value pairs.
|
|
895
734
|
*
|
|
@@ -897,22 +736,19 @@ var ListCache = _ListCache,
|
|
|
897
736
|
* @constructor
|
|
898
737
|
* @param {Array} [entries] The key-value pairs to cache.
|
|
899
738
|
*/
|
|
900
|
-
function Stack
|
|
739
|
+
function Stack(entries) {
|
|
901
740
|
var data = this.__data__ = new ListCache(entries);
|
|
902
741
|
this.size = data.size;
|
|
903
742
|
}
|
|
904
743
|
|
|
905
744
|
// Add methods to `Stack`.
|
|
906
|
-
Stack
|
|
907
|
-
Stack
|
|
908
|
-
Stack
|
|
909
|
-
Stack
|
|
910
|
-
Stack
|
|
911
|
-
|
|
912
|
-
var _Stack = Stack$2;
|
|
745
|
+
Stack.prototype.clear = stackClear;
|
|
746
|
+
Stack.prototype['delete'] = stackDelete;
|
|
747
|
+
Stack.prototype.get = stackGet;
|
|
748
|
+
Stack.prototype.has = stackHas;
|
|
749
|
+
Stack.prototype.set = stackSet;
|
|
913
750
|
|
|
914
751
|
/** Used to stand-in for `undefined` hash values. */
|
|
915
|
-
|
|
916
752
|
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
917
753
|
|
|
918
754
|
/**
|
|
@@ -925,13 +761,11 @@ var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
|
925
761
|
* @param {*} value The value to cache.
|
|
926
762
|
* @returns {Object} Returns the cache instance.
|
|
927
763
|
*/
|
|
928
|
-
function setCacheAdd
|
|
764
|
+
function setCacheAdd(value) {
|
|
929
765
|
this.__data__.set(value, HASH_UNDEFINED);
|
|
930
766
|
return this;
|
|
931
767
|
}
|
|
932
768
|
|
|
933
|
-
var _setCacheAdd = setCacheAdd$1;
|
|
934
|
-
|
|
935
769
|
/**
|
|
936
770
|
* Checks if `value` is in the array cache.
|
|
937
771
|
*
|
|
@@ -941,17 +775,10 @@ var _setCacheAdd = setCacheAdd$1;
|
|
|
941
775
|
* @param {*} value The value to search for.
|
|
942
776
|
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
943
777
|
*/
|
|
944
|
-
|
|
945
|
-
function setCacheHas$1(value) {
|
|
778
|
+
function setCacheHas(value) {
|
|
946
779
|
return this.__data__.has(value);
|
|
947
780
|
}
|
|
948
781
|
|
|
949
|
-
var _setCacheHas = setCacheHas$1;
|
|
950
|
-
|
|
951
|
-
var MapCache$1 = _MapCache,
|
|
952
|
-
setCacheAdd = _setCacheAdd,
|
|
953
|
-
setCacheHas = _setCacheHas;
|
|
954
|
-
|
|
955
782
|
/**
|
|
956
783
|
*
|
|
957
784
|
* Creates an array cache object to store unique values.
|
|
@@ -960,21 +787,19 @@ var MapCache$1 = _MapCache,
|
|
|
960
787
|
* @constructor
|
|
961
788
|
* @param {Array} [values] The values to cache.
|
|
962
789
|
*/
|
|
963
|
-
function SetCache
|
|
790
|
+
function SetCache(values) {
|
|
964
791
|
var index = -1,
|
|
965
792
|
length = values == null ? 0 : values.length;
|
|
966
793
|
|
|
967
|
-
this.__data__ = new MapCache
|
|
794
|
+
this.__data__ = new MapCache;
|
|
968
795
|
while (++index < length) {
|
|
969
796
|
this.add(values[index]);
|
|
970
797
|
}
|
|
971
798
|
}
|
|
972
799
|
|
|
973
800
|
// Add methods to `SetCache`.
|
|
974
|
-
SetCache
|
|
975
|
-
SetCache
|
|
976
|
-
|
|
977
|
-
var _SetCache = SetCache$1;
|
|
801
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
802
|
+
SetCache.prototype.has = setCacheHas;
|
|
978
803
|
|
|
979
804
|
/**
|
|
980
805
|
* A specialized version of `_.some` for arrays without support for iteratee
|
|
@@ -986,8 +811,7 @@ var _SetCache = SetCache$1;
|
|
|
986
811
|
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
987
812
|
* else `false`.
|
|
988
813
|
*/
|
|
989
|
-
|
|
990
|
-
function arraySome$1(array, predicate) {
|
|
814
|
+
function arraySome(array, predicate) {
|
|
991
815
|
var index = -1,
|
|
992
816
|
length = array == null ? 0 : array.length;
|
|
993
817
|
|
|
@@ -999,8 +823,6 @@ function arraySome$1(array, predicate) {
|
|
|
999
823
|
return false;
|
|
1000
824
|
}
|
|
1001
825
|
|
|
1002
|
-
var _arraySome = arraySome$1;
|
|
1003
|
-
|
|
1004
826
|
/**
|
|
1005
827
|
* Checks if a `cache` value for `key` exists.
|
|
1006
828
|
*
|
|
@@ -1009,17 +831,10 @@ var _arraySome = arraySome$1;
|
|
|
1009
831
|
* @param {string} key The key of the entry to check.
|
|
1010
832
|
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1011
833
|
*/
|
|
1012
|
-
|
|
1013
|
-
function cacheHas$1(cache, key) {
|
|
834
|
+
function cacheHas(cache, key) {
|
|
1014
835
|
return cache.has(key);
|
|
1015
836
|
}
|
|
1016
837
|
|
|
1017
|
-
var _cacheHas = cacheHas$1;
|
|
1018
|
-
|
|
1019
|
-
var SetCache = _SetCache,
|
|
1020
|
-
arraySome = _arraySome,
|
|
1021
|
-
cacheHas = _cacheHas;
|
|
1022
|
-
|
|
1023
838
|
/** Used to compose bitmasks for value comparisons. */
|
|
1024
839
|
var COMPARE_PARTIAL_FLAG$5 = 1,
|
|
1025
840
|
COMPARE_UNORDERED_FLAG$3 = 2;
|
|
@@ -1037,7 +852,7 @@ var COMPARE_PARTIAL_FLAG$5 = 1,
|
|
|
1037
852
|
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
1038
853
|
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
1039
854
|
*/
|
|
1040
|
-
function equalArrays
|
|
855
|
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
1041
856
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5,
|
|
1042
857
|
arrLength = array.length,
|
|
1043
858
|
othLength = other.length;
|
|
@@ -1099,14 +914,10 @@ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
|
|
|
1099
914
|
return result;
|
|
1100
915
|
}
|
|
1101
916
|
|
|
1102
|
-
var _equalArrays = equalArrays$2;
|
|
1103
|
-
|
|
1104
|
-
var root$4 = debounce$1._root;
|
|
1105
|
-
|
|
1106
917
|
/** Built-in value references. */
|
|
1107
|
-
var Uint8Array
|
|
918
|
+
var Uint8Array = debounce$1.root.Uint8Array;
|
|
1108
919
|
|
|
1109
|
-
|
|
920
|
+
const Uint8Array$1 = Uint8Array;
|
|
1110
921
|
|
|
1111
922
|
/**
|
|
1112
923
|
* Converts `map` to its key-value pairs.
|
|
@@ -1115,8 +926,7 @@ var _Uint8Array = Uint8Array$1;
|
|
|
1115
926
|
* @param {Object} map The map to convert.
|
|
1116
927
|
* @returns {Array} Returns the key-value pairs.
|
|
1117
928
|
*/
|
|
1118
|
-
|
|
1119
|
-
function mapToArray$1(map) {
|
|
929
|
+
function mapToArray(map) {
|
|
1120
930
|
var index = -1,
|
|
1121
931
|
result = Array(map.size);
|
|
1122
932
|
|
|
@@ -1126,8 +936,6 @@ function mapToArray$1(map) {
|
|
|
1126
936
|
return result;
|
|
1127
937
|
}
|
|
1128
938
|
|
|
1129
|
-
var _mapToArray = mapToArray$1;
|
|
1130
|
-
|
|
1131
939
|
/**
|
|
1132
940
|
* Converts `set` to an array of its values.
|
|
1133
941
|
*
|
|
@@ -1135,8 +943,7 @@ var _mapToArray = mapToArray$1;
|
|
|
1135
943
|
* @param {Object} set The set to convert.
|
|
1136
944
|
* @returns {Array} Returns the values.
|
|
1137
945
|
*/
|
|
1138
|
-
|
|
1139
|
-
function setToArray$1(set) {
|
|
946
|
+
function setToArray(set) {
|
|
1140
947
|
var index = -1,
|
|
1141
948
|
result = Array(set.size);
|
|
1142
949
|
|
|
@@ -1146,15 +953,6 @@ function setToArray$1(set) {
|
|
|
1146
953
|
return result;
|
|
1147
954
|
}
|
|
1148
955
|
|
|
1149
|
-
var _setToArray = setToArray$1;
|
|
1150
|
-
|
|
1151
|
-
var Symbol$1 = debounce$1._Symbol,
|
|
1152
|
-
Uint8Array = _Uint8Array,
|
|
1153
|
-
eq$1 = eq_1,
|
|
1154
|
-
equalArrays$1 = _equalArrays,
|
|
1155
|
-
mapToArray = _mapToArray,
|
|
1156
|
-
setToArray = _setToArray;
|
|
1157
|
-
|
|
1158
956
|
/** Used to compose bitmasks for value comparisons. */
|
|
1159
957
|
var COMPARE_PARTIAL_FLAG$4 = 1,
|
|
1160
958
|
COMPARE_UNORDERED_FLAG$2 = 2;
|
|
@@ -1174,7 +972,7 @@ var arrayBufferTag$1 = '[object ArrayBuffer]',
|
|
|
1174
972
|
dataViewTag$2 = '[object DataView]';
|
|
1175
973
|
|
|
1176
974
|
/** Used to convert symbols to primitives and strings. */
|
|
1177
|
-
var symbolProto$1 =
|
|
975
|
+
var symbolProto$1 = debounce$1.Symbol ? debounce$1.Symbol.prototype : undefined,
|
|
1178
976
|
symbolValueOf = symbolProto$1 ? symbolProto$1.valueOf : undefined;
|
|
1179
977
|
|
|
1180
978
|
/**
|
|
@@ -1194,7 +992,7 @@ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
|
1194
992
|
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
1195
993
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
1196
994
|
*/
|
|
1197
|
-
function equalByTag
|
|
995
|
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
1198
996
|
switch (tag) {
|
|
1199
997
|
case dataViewTag$2:
|
|
1200
998
|
if ((object.byteLength != other.byteLength) ||
|
|
@@ -1206,7 +1004,7 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
|
|
|
1206
1004
|
|
|
1207
1005
|
case arrayBufferTag$1:
|
|
1208
1006
|
if ((object.byteLength != other.byteLength) ||
|
|
1209
|
-
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
|
1007
|
+
!equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
|
|
1210
1008
|
return false;
|
|
1211
1009
|
}
|
|
1212
1010
|
return true;
|
|
@@ -1216,7 +1014,7 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
|
|
|
1216
1014
|
case numberTag$1:
|
|
1217
1015
|
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
1218
1016
|
// Invalid dates are coerced to `NaN`.
|
|
1219
|
-
return eq
|
|
1017
|
+
return eq(+object, +other);
|
|
1220
1018
|
|
|
1221
1019
|
case errorTag$1:
|
|
1222
1020
|
return object.name == other.name && object.message == other.message;
|
|
@@ -1247,7 +1045,7 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
|
|
|
1247
1045
|
|
|
1248
1046
|
// Recursively compare objects (susceptible to call stack limits).
|
|
1249
1047
|
stack.set(object, other);
|
|
1250
|
-
var result = equalArrays
|
|
1048
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
1251
1049
|
stack['delete'](object);
|
|
1252
1050
|
return result;
|
|
1253
1051
|
|
|
@@ -1259,8 +1057,6 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
|
|
|
1259
1057
|
return false;
|
|
1260
1058
|
}
|
|
1261
1059
|
|
|
1262
|
-
var _equalByTag = equalByTag$1;
|
|
1263
|
-
|
|
1264
1060
|
/**
|
|
1265
1061
|
* Appends the elements of `values` to `array`.
|
|
1266
1062
|
*
|
|
@@ -1269,8 +1065,7 @@ var _equalByTag = equalByTag$1;
|
|
|
1269
1065
|
* @param {Array} values The values to append.
|
|
1270
1066
|
* @returns {Array} Returns `array`.
|
|
1271
1067
|
*/
|
|
1272
|
-
|
|
1273
|
-
function arrayPush$1(array, values) {
|
|
1068
|
+
function arrayPush(array, values) {
|
|
1274
1069
|
var index = -1,
|
|
1275
1070
|
length = values.length,
|
|
1276
1071
|
offset = array.length;
|
|
@@ -1281,8 +1076,6 @@ function arrayPush$1(array, values) {
|
|
|
1281
1076
|
return array;
|
|
1282
1077
|
}
|
|
1283
1078
|
|
|
1284
|
-
var _arrayPush = arrayPush$1;
|
|
1285
|
-
|
|
1286
1079
|
/**
|
|
1287
1080
|
* Checks if `value` is classified as an `Array` object.
|
|
1288
1081
|
*
|
|
@@ -1306,13 +1099,9 @@ var _arrayPush = arrayPush$1;
|
|
|
1306
1099
|
* _.isArray(_.noop);
|
|
1307
1100
|
* // => false
|
|
1308
1101
|
*/
|
|
1102
|
+
var isArray = Array.isArray;
|
|
1309
1103
|
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
var isArray_1 = isArray$a;
|
|
1313
|
-
|
|
1314
|
-
var arrayPush = _arrayPush,
|
|
1315
|
-
isArray$9 = isArray_1;
|
|
1104
|
+
const isArray$1 = isArray;
|
|
1316
1105
|
|
|
1317
1106
|
/**
|
|
1318
1107
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
@@ -1325,13 +1114,11 @@ var arrayPush = _arrayPush,
|
|
|
1325
1114
|
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
1326
1115
|
* @returns {Array} Returns the array of property names and symbols.
|
|
1327
1116
|
*/
|
|
1328
|
-
function baseGetAllKeys
|
|
1117
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
1329
1118
|
var result = keysFunc(object);
|
|
1330
|
-
return isArray$
|
|
1119
|
+
return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
1331
1120
|
}
|
|
1332
1121
|
|
|
1333
|
-
var _baseGetAllKeys = baseGetAllKeys$1;
|
|
1334
|
-
|
|
1335
1122
|
/**
|
|
1336
1123
|
* A specialized version of `_.filter` for arrays without support for
|
|
1337
1124
|
* iteratee shorthands.
|
|
@@ -1341,8 +1128,7 @@ var _baseGetAllKeys = baseGetAllKeys$1;
|
|
|
1341
1128
|
* @param {Function} predicate The function invoked per iteration.
|
|
1342
1129
|
* @returns {Array} Returns the new filtered array.
|
|
1343
1130
|
*/
|
|
1344
|
-
|
|
1345
|
-
function arrayFilter$1(array, predicate) {
|
|
1131
|
+
function arrayFilter(array, predicate) {
|
|
1346
1132
|
var index = -1,
|
|
1347
1133
|
length = array == null ? 0 : array.length,
|
|
1348
1134
|
resIndex = 0,
|
|
@@ -1357,8 +1143,6 @@ function arrayFilter$1(array, predicate) {
|
|
|
1357
1143
|
return result;
|
|
1358
1144
|
}
|
|
1359
1145
|
|
|
1360
|
-
var _arrayFilter = arrayFilter$1;
|
|
1361
|
-
|
|
1362
1146
|
/**
|
|
1363
1147
|
* This method returns a new empty array.
|
|
1364
1148
|
*
|
|
@@ -1377,16 +1161,10 @@ var _arrayFilter = arrayFilter$1;
|
|
|
1377
1161
|
* console.log(arrays[0] === arrays[1]);
|
|
1378
1162
|
* // => false
|
|
1379
1163
|
*/
|
|
1380
|
-
|
|
1381
|
-
function stubArray$1() {
|
|
1164
|
+
function stubArray() {
|
|
1382
1165
|
return [];
|
|
1383
1166
|
}
|
|
1384
1167
|
|
|
1385
|
-
var stubArray_1 = stubArray$1;
|
|
1386
|
-
|
|
1387
|
-
var arrayFilter = _arrayFilter,
|
|
1388
|
-
stubArray = stubArray_1;
|
|
1389
|
-
|
|
1390
1168
|
/** Used for built-in method references. */
|
|
1391
1169
|
var objectProto$6 = Object.prototype;
|
|
1392
1170
|
|
|
@@ -1403,7 +1181,7 @@ var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
|
1403
1181
|
* @param {Object} object The object to query.
|
|
1404
1182
|
* @returns {Array} Returns the array of symbols.
|
|
1405
1183
|
*/
|
|
1406
|
-
var getSymbols
|
|
1184
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
1407
1185
|
if (object == null) {
|
|
1408
1186
|
return [];
|
|
1409
1187
|
}
|
|
@@ -1413,7 +1191,7 @@ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
|
|
|
1413
1191
|
});
|
|
1414
1192
|
};
|
|
1415
1193
|
|
|
1416
|
-
|
|
1194
|
+
const getSymbols$1 = getSymbols;
|
|
1417
1195
|
|
|
1418
1196
|
/**
|
|
1419
1197
|
* The base implementation of `_.times` without support for iteratee shorthands
|
|
@@ -1424,8 +1202,7 @@ var _getSymbols = getSymbols$1;
|
|
|
1424
1202
|
* @param {Function} iteratee The function invoked per iteration.
|
|
1425
1203
|
* @returns {Array} Returns the array of results.
|
|
1426
1204
|
*/
|
|
1427
|
-
|
|
1428
|
-
function baseTimes$1(n, iteratee) {
|
|
1205
|
+
function baseTimes(n, iteratee) {
|
|
1429
1206
|
var index = -1,
|
|
1430
1207
|
result = Array(n);
|
|
1431
1208
|
|
|
@@ -1435,11 +1212,6 @@ function baseTimes$1(n, iteratee) {
|
|
|
1435
1212
|
return result;
|
|
1436
1213
|
}
|
|
1437
1214
|
|
|
1438
|
-
var _baseTimes = baseTimes$1;
|
|
1439
|
-
|
|
1440
|
-
var baseGetTag$2 = debounce$1._baseGetTag,
|
|
1441
|
-
isObjectLike$3 = debounce$1.isObjectLike_1;
|
|
1442
|
-
|
|
1443
1215
|
/** `Object#toString` result references. */
|
|
1444
1216
|
var argsTag$2 = '[object Arguments]';
|
|
1445
1217
|
|
|
@@ -1450,15 +1222,10 @@ var argsTag$2 = '[object Arguments]';
|
|
|
1450
1222
|
* @param {*} value The value to check.
|
|
1451
1223
|
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1452
1224
|
*/
|
|
1453
|
-
function baseIsArguments
|
|
1454
|
-
return isObjectLike
|
|
1225
|
+
function baseIsArguments(value) {
|
|
1226
|
+
return debounce$1.isObjectLike(value) && debounce$1.baseGetTag(value) == argsTag$2;
|
|
1455
1227
|
}
|
|
1456
1228
|
|
|
1457
|
-
var _baseIsArguments = baseIsArguments$1;
|
|
1458
|
-
|
|
1459
|
-
var baseIsArguments = _baseIsArguments,
|
|
1460
|
-
isObjectLike$2 = debounce$1.isObjectLike_1;
|
|
1461
|
-
|
|
1462
1229
|
/** Used for built-in method references. */
|
|
1463
1230
|
var objectProto$5 = Object.prototype;
|
|
1464
1231
|
|
|
@@ -1486,14 +1253,12 @@ var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
|
|
|
1486
1253
|
* _.isArguments([1, 2, 3]);
|
|
1487
1254
|
* // => false
|
|
1488
1255
|
*/
|
|
1489
|
-
var isArguments
|
|
1490
|
-
return isObjectLike
|
|
1256
|
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
1257
|
+
return debounce$1.isObjectLike(value) && hasOwnProperty$4.call(value, 'callee') &&
|
|
1491
1258
|
!propertyIsEnumerable.call(value, 'callee');
|
|
1492
1259
|
};
|
|
1493
1260
|
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
var isBuffer$2 = {exports: {}};
|
|
1261
|
+
const isArguments$1 = isArguments;
|
|
1497
1262
|
|
|
1498
1263
|
/**
|
|
1499
1264
|
* This method returns `false`.
|
|
@@ -1508,28 +1273,21 @@ var isBuffer$2 = {exports: {}};
|
|
|
1508
1273
|
* _.times(2, _.stubFalse);
|
|
1509
1274
|
* // => [false, false]
|
|
1510
1275
|
*/
|
|
1511
|
-
|
|
1512
1276
|
function stubFalse() {
|
|
1513
1277
|
return false;
|
|
1514
1278
|
}
|
|
1515
1279
|
|
|
1516
|
-
var stubFalse_1 = stubFalse;
|
|
1517
|
-
|
|
1518
|
-
(function (module, exports) {
|
|
1519
|
-
var root = debounce$1._root,
|
|
1520
|
-
stubFalse = stubFalse_1;
|
|
1521
|
-
|
|
1522
1280
|
/** Detect free variable `exports`. */
|
|
1523
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
1281
|
+
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
1524
1282
|
|
|
1525
1283
|
/** Detect free variable `module`. */
|
|
1526
|
-
var freeModule = freeExports &&
|
|
1284
|
+
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
1527
1285
|
|
|
1528
1286
|
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1529
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1287
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
1530
1288
|
|
|
1531
1289
|
/** Built-in value references. */
|
|
1532
|
-
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
1290
|
+
var Buffer = moduleExports$1 ? debounce$1.root.Buffer : undefined;
|
|
1533
1291
|
|
|
1534
1292
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1535
1293
|
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
@@ -1553,11 +1311,9 @@ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
|
1553
1311
|
*/
|
|
1554
1312
|
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1555
1313
|
|
|
1556
|
-
|
|
1557
|
-
}(isBuffer$2, isBuffer$2.exports));
|
|
1314
|
+
const isBuffer$1 = isBuffer;
|
|
1558
1315
|
|
|
1559
1316
|
/** Used as references for various `Number` constants. */
|
|
1560
|
-
|
|
1561
1317
|
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
1562
1318
|
|
|
1563
1319
|
/** Used to detect unsigned integer values. */
|
|
@@ -1571,7 +1327,7 @@ var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
|
1571
1327
|
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
1572
1328
|
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
1573
1329
|
*/
|
|
1574
|
-
function isIndex
|
|
1330
|
+
function isIndex(value, length) {
|
|
1575
1331
|
var type = typeof value;
|
|
1576
1332
|
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
1577
1333
|
|
|
@@ -1581,10 +1337,7 @@ function isIndex$3(value, length) {
|
|
|
1581
1337
|
(value > -1 && value % 1 == 0 && value < length);
|
|
1582
1338
|
}
|
|
1583
1339
|
|
|
1584
|
-
var _isIndex = isIndex$3;
|
|
1585
|
-
|
|
1586
1340
|
/** Used as references for various `Number` constants. */
|
|
1587
|
-
|
|
1588
1341
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1589
1342
|
|
|
1590
1343
|
/**
|
|
@@ -1613,17 +1366,11 @@ var MAX_SAFE_INTEGER = 9007199254740991;
|
|
|
1613
1366
|
* _.isLength('3');
|
|
1614
1367
|
* // => false
|
|
1615
1368
|
*/
|
|
1616
|
-
function isLength
|
|
1369
|
+
function isLength(value) {
|
|
1617
1370
|
return typeof value == 'number' &&
|
|
1618
1371
|
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
1619
1372
|
}
|
|
1620
1373
|
|
|
1621
|
-
var isLength_1 = isLength$3;
|
|
1622
|
-
|
|
1623
|
-
var baseGetTag$1 = debounce$1._baseGetTag,
|
|
1624
|
-
isLength$2 = isLength_1,
|
|
1625
|
-
isObjectLike$1 = debounce$1.isObjectLike_1;
|
|
1626
|
-
|
|
1627
1374
|
/** `Object#toString` result references. */
|
|
1628
1375
|
var argsTag$1 = '[object Arguments]',
|
|
1629
1376
|
arrayTag$1 = '[object Array]',
|
|
@@ -1674,13 +1421,11 @@ typedArrayTags[weakMapTag$1] = false;
|
|
|
1674
1421
|
* @param {*} value The value to check.
|
|
1675
1422
|
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1676
1423
|
*/
|
|
1677
|
-
function baseIsTypedArray
|
|
1678
|
-
return
|
|
1679
|
-
isLength
|
|
1424
|
+
function baseIsTypedArray(value) {
|
|
1425
|
+
return debounce$1.isObjectLike(value) &&
|
|
1426
|
+
isLength(value.length) && !!typedArrayTags[debounce$1.baseGetTag(value)];
|
|
1680
1427
|
}
|
|
1681
1428
|
|
|
1682
|
-
var _baseIsTypedArray = baseIsTypedArray$1;
|
|
1683
|
-
|
|
1684
1429
|
/**
|
|
1685
1430
|
* The base implementation of `_.unary` without support for storing metadata.
|
|
1686
1431
|
*
|
|
@@ -1688,31 +1433,23 @@ var _baseIsTypedArray = baseIsTypedArray$1;
|
|
|
1688
1433
|
* @param {Function} func The function to cap arguments for.
|
|
1689
1434
|
* @returns {Function} Returns the new capped function.
|
|
1690
1435
|
*/
|
|
1691
|
-
|
|
1692
|
-
function baseUnary$1(func) {
|
|
1436
|
+
function baseUnary(func) {
|
|
1693
1437
|
return function(value) {
|
|
1694
1438
|
return func(value);
|
|
1695
1439
|
};
|
|
1696
1440
|
}
|
|
1697
1441
|
|
|
1698
|
-
var _baseUnary = baseUnary$1;
|
|
1699
|
-
|
|
1700
|
-
var _nodeUtil = {exports: {}};
|
|
1701
|
-
|
|
1702
|
-
(function (module, exports) {
|
|
1703
|
-
var freeGlobal = debounce$1._freeGlobal;
|
|
1704
|
-
|
|
1705
1442
|
/** Detect free variable `exports`. */
|
|
1706
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
1443
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
1707
1444
|
|
|
1708
1445
|
/** Detect free variable `module`. */
|
|
1709
|
-
var freeModule = freeExports &&
|
|
1446
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
1710
1447
|
|
|
1711
1448
|
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1712
1449
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1713
1450
|
|
|
1714
1451
|
/** Detect free variable `process` from Node.js. */
|
|
1715
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
1452
|
+
var freeProcess = moduleExports && debounce$1.freeGlobal.process;
|
|
1716
1453
|
|
|
1717
1454
|
/** Used to access faster Node.js helpers. */
|
|
1718
1455
|
var nodeUtil = (function() {
|
|
@@ -1729,15 +1466,10 @@ var nodeUtil = (function() {
|
|
|
1729
1466
|
} catch (e) {}
|
|
1730
1467
|
}());
|
|
1731
1468
|
|
|
1732
|
-
|
|
1733
|
-
}(_nodeUtil, _nodeUtil.exports));
|
|
1734
|
-
|
|
1735
|
-
var baseIsTypedArray = _baseIsTypedArray,
|
|
1736
|
-
baseUnary = _baseUnary,
|
|
1737
|
-
nodeUtil = _nodeUtil.exports;
|
|
1469
|
+
const nodeUtil$1 = nodeUtil;
|
|
1738
1470
|
|
|
1739
1471
|
/* Node.js helper references. */
|
|
1740
|
-
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
1472
|
+
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
1741
1473
|
|
|
1742
1474
|
/**
|
|
1743
1475
|
* Checks if `value` is classified as a typed array.
|
|
@@ -1756,16 +1488,9 @@ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
|
1756
1488
|
* _.isTypedArray([]);
|
|
1757
1489
|
* // => false
|
|
1758
1490
|
*/
|
|
1759
|
-
var isTypedArray
|
|
1491
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
1760
1492
|
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
var baseTimes = _baseTimes,
|
|
1764
|
-
isArguments$1 = isArguments_1,
|
|
1765
|
-
isArray$8 = isArray_1,
|
|
1766
|
-
isBuffer$1 = isBuffer$2.exports,
|
|
1767
|
-
isIndex$2 = _isIndex,
|
|
1768
|
-
isTypedArray$1 = isTypedArray_1;
|
|
1493
|
+
const isTypedArray$1 = isTypedArray;
|
|
1769
1494
|
|
|
1770
1495
|
/** Used for built-in method references. */
|
|
1771
1496
|
var objectProto$4 = Object.prototype;
|
|
@@ -1781,8 +1506,8 @@ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
|
|
1781
1506
|
* @param {boolean} inherited Specify returning inherited property names.
|
|
1782
1507
|
* @returns {Array} Returns the array of property names.
|
|
1783
1508
|
*/
|
|
1784
|
-
function arrayLikeKeys
|
|
1785
|
-
var isArr = isArray$
|
|
1509
|
+
function arrayLikeKeys(value, inherited) {
|
|
1510
|
+
var isArr = isArray$1(value),
|
|
1786
1511
|
isArg = !isArr && isArguments$1(value),
|
|
1787
1512
|
isBuff = !isArr && !isArg && isBuffer$1(value),
|
|
1788
1513
|
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
@@ -1800,7 +1525,7 @@ function arrayLikeKeys$1(value, inherited) {
|
|
|
1800
1525
|
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1801
1526
|
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
1802
1527
|
// Skip index properties.
|
|
1803
|
-
isIndex
|
|
1528
|
+
isIndex(key, length)
|
|
1804
1529
|
))) {
|
|
1805
1530
|
result.push(key);
|
|
1806
1531
|
}
|
|
@@ -1808,10 +1533,7 @@ function arrayLikeKeys$1(value, inherited) {
|
|
|
1808
1533
|
return result;
|
|
1809
1534
|
}
|
|
1810
1535
|
|
|
1811
|
-
var _arrayLikeKeys = arrayLikeKeys$1;
|
|
1812
|
-
|
|
1813
1536
|
/** Used for built-in method references. */
|
|
1814
|
-
|
|
1815
1537
|
var objectProto$3 = Object.prototype;
|
|
1816
1538
|
|
|
1817
1539
|
/**
|
|
@@ -1821,15 +1543,13 @@ var objectProto$3 = Object.prototype;
|
|
|
1821
1543
|
* @param {*} value The value to check.
|
|
1822
1544
|
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
1823
1545
|
*/
|
|
1824
|
-
function isPrototype
|
|
1546
|
+
function isPrototype(value) {
|
|
1825
1547
|
var Ctor = value && value.constructor,
|
|
1826
1548
|
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$3;
|
|
1827
1549
|
|
|
1828
1550
|
return value === proto;
|
|
1829
1551
|
}
|
|
1830
1552
|
|
|
1831
|
-
var _isPrototype = isPrototype$1;
|
|
1832
|
-
|
|
1833
1553
|
/**
|
|
1834
1554
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
1835
1555
|
*
|
|
@@ -1838,24 +1558,16 @@ var _isPrototype = isPrototype$1;
|
|
|
1838
1558
|
* @param {Function} transform The argument transform.
|
|
1839
1559
|
* @returns {Function} Returns the new function.
|
|
1840
1560
|
*/
|
|
1841
|
-
|
|
1842
|
-
function overArg$1(func, transform) {
|
|
1561
|
+
function overArg(func, transform) {
|
|
1843
1562
|
return function(arg) {
|
|
1844
1563
|
return func(transform(arg));
|
|
1845
1564
|
};
|
|
1846
1565
|
}
|
|
1847
1566
|
|
|
1848
|
-
var _overArg = overArg$1;
|
|
1849
|
-
|
|
1850
|
-
var overArg = _overArg;
|
|
1851
|
-
|
|
1852
1567
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1853
|
-
var nativeKeys
|
|
1854
|
-
|
|
1855
|
-
var _nativeKeys = nativeKeys$1;
|
|
1568
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
1856
1569
|
|
|
1857
|
-
|
|
1858
|
-
nativeKeys = _nativeKeys;
|
|
1570
|
+
const nativeKeys$1 = nativeKeys;
|
|
1859
1571
|
|
|
1860
1572
|
/** Used for built-in method references. */
|
|
1861
1573
|
var objectProto$2 = Object.prototype;
|
|
@@ -1870,9 +1582,9 @@ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
|
1870
1582
|
* @param {Object} object The object to query.
|
|
1871
1583
|
* @returns {Array} Returns the array of property names.
|
|
1872
1584
|
*/
|
|
1873
|
-
function baseKeys
|
|
1585
|
+
function baseKeys(object) {
|
|
1874
1586
|
if (!isPrototype(object)) {
|
|
1875
|
-
return nativeKeys(object);
|
|
1587
|
+
return nativeKeys$1(object);
|
|
1876
1588
|
}
|
|
1877
1589
|
var result = [];
|
|
1878
1590
|
for (var key in Object(object)) {
|
|
@@ -1883,11 +1595,6 @@ function baseKeys$1(object) {
|
|
|
1883
1595
|
return result;
|
|
1884
1596
|
}
|
|
1885
1597
|
|
|
1886
|
-
var _baseKeys = baseKeys$1;
|
|
1887
|
-
|
|
1888
|
-
var isFunction = isFunction_1,
|
|
1889
|
-
isLength$1 = isLength_1;
|
|
1890
|
-
|
|
1891
1598
|
/**
|
|
1892
1599
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
1893
1600
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -1913,16 +1620,10 @@ var isFunction = isFunction_1,
|
|
|
1913
1620
|
* _.isArrayLike(_.noop);
|
|
1914
1621
|
* // => false
|
|
1915
1622
|
*/
|
|
1916
|
-
function isArrayLike
|
|
1917
|
-
return value != null && isLength
|
|
1623
|
+
function isArrayLike(value) {
|
|
1624
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
1918
1625
|
}
|
|
1919
1626
|
|
|
1920
|
-
var isArrayLike_1 = isArrayLike$3;
|
|
1921
|
-
|
|
1922
|
-
var arrayLikeKeys = _arrayLikeKeys,
|
|
1923
|
-
baseKeys = _baseKeys,
|
|
1924
|
-
isArrayLike$2 = isArrayLike_1;
|
|
1925
|
-
|
|
1926
1627
|
/**
|
|
1927
1628
|
* Creates an array of the own enumerable property names of `object`.
|
|
1928
1629
|
*
|
|
@@ -1951,16 +1652,10 @@ var arrayLikeKeys = _arrayLikeKeys,
|
|
|
1951
1652
|
* _.keys('hi');
|
|
1952
1653
|
* // => ['0', '1']
|
|
1953
1654
|
*/
|
|
1954
|
-
function keys
|
|
1955
|
-
return isArrayLike
|
|
1655
|
+
function keys(object) {
|
|
1656
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1956
1657
|
}
|
|
1957
1658
|
|
|
1958
|
-
var keys_1 = keys$3;
|
|
1959
|
-
|
|
1960
|
-
var baseGetAllKeys = _baseGetAllKeys,
|
|
1961
|
-
getSymbols = _getSymbols,
|
|
1962
|
-
keys$2 = keys_1;
|
|
1963
|
-
|
|
1964
1659
|
/**
|
|
1965
1660
|
* Creates an array of own enumerable property names and symbols of `object`.
|
|
1966
1661
|
*
|
|
@@ -1968,14 +1663,10 @@ var baseGetAllKeys = _baseGetAllKeys,
|
|
|
1968
1663
|
* @param {Object} object The object to query.
|
|
1969
1664
|
* @returns {Array} Returns the array of property names and symbols.
|
|
1970
1665
|
*/
|
|
1971
|
-
function getAllKeys
|
|
1972
|
-
return baseGetAllKeys(object, keys
|
|
1666
|
+
function getAllKeys(object) {
|
|
1667
|
+
return baseGetAllKeys(object, keys, getSymbols$1);
|
|
1973
1668
|
}
|
|
1974
1669
|
|
|
1975
|
-
var _getAllKeys = getAllKeys$1;
|
|
1976
|
-
|
|
1977
|
-
var getAllKeys = _getAllKeys;
|
|
1978
|
-
|
|
1979
1670
|
/** Used to compose bitmasks for value comparisons. */
|
|
1980
1671
|
var COMPARE_PARTIAL_FLAG$3 = 1;
|
|
1981
1672
|
|
|
@@ -1998,7 +1689,7 @@ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
|
1998
1689
|
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
1999
1690
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
2000
1691
|
*/
|
|
2001
|
-
function equalObjects
|
|
1692
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
2002
1693
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
|
|
2003
1694
|
objProps = getAllKeys(object),
|
|
2004
1695
|
objLength = objProps.length,
|
|
@@ -2063,47 +1754,25 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
2063
1754
|
return result;
|
|
2064
1755
|
}
|
|
2065
1756
|
|
|
2066
|
-
var _equalObjects = equalObjects$1;
|
|
2067
|
-
|
|
2068
|
-
var getNative$3 = _getNative,
|
|
2069
|
-
root$3 = debounce$1._root;
|
|
2070
|
-
|
|
2071
1757
|
/* Built-in method references that are verified to be native. */
|
|
2072
|
-
var DataView
|
|
2073
|
-
|
|
2074
|
-
var _DataView = DataView$1;
|
|
1758
|
+
var DataView = getNative(debounce$1.root, 'DataView');
|
|
2075
1759
|
|
|
2076
|
-
|
|
2077
|
-
root$2 = debounce$1._root;
|
|
1760
|
+
const DataView$1 = DataView;
|
|
2078
1761
|
|
|
2079
1762
|
/* Built-in method references that are verified to be native. */
|
|
2080
|
-
var Promise$
|
|
1763
|
+
var Promise$1 = getNative(debounce$1.root, 'Promise');
|
|
2081
1764
|
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
var getNative$1 = _getNative,
|
|
2085
|
-
root$1 = debounce$1._root;
|
|
1765
|
+
const Promise$2 = Promise$1;
|
|
2086
1766
|
|
|
2087
1767
|
/* Built-in method references that are verified to be native. */
|
|
2088
|
-
var Set
|
|
2089
|
-
|
|
2090
|
-
var _Set = Set$1;
|
|
1768
|
+
var Set = getNative(debounce$1.root, 'Set');
|
|
2091
1769
|
|
|
2092
|
-
|
|
2093
|
-
root = debounce$1._root;
|
|
1770
|
+
const Set$1 = Set;
|
|
2094
1771
|
|
|
2095
1772
|
/* Built-in method references that are verified to be native. */
|
|
2096
|
-
var WeakMap
|
|
1773
|
+
var WeakMap = getNative(debounce$1.root, 'WeakMap');
|
|
2097
1774
|
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
var DataView = _DataView,
|
|
2101
|
-
Map$1 = _Map,
|
|
2102
|
-
Promise$1 = _Promise,
|
|
2103
|
-
Set = _Set,
|
|
2104
|
-
WeakMap = _WeakMap,
|
|
2105
|
-
baseGetTag = debounce$1._baseGetTag,
|
|
2106
|
-
toSource = _toSource;
|
|
1775
|
+
const WeakMap$1 = WeakMap;
|
|
2107
1776
|
|
|
2108
1777
|
/** `Object#toString` result references. */
|
|
2109
1778
|
var mapTag = '[object Map]',
|
|
@@ -2115,11 +1784,11 @@ var mapTag = '[object Map]',
|
|
|
2115
1784
|
var dataViewTag = '[object DataView]';
|
|
2116
1785
|
|
|
2117
1786
|
/** Used to detect maps, sets, and weakmaps. */
|
|
2118
|
-
var dataViewCtorString = toSource(DataView),
|
|
2119
|
-
mapCtorString = toSource(Map$
|
|
2120
|
-
promiseCtorString = toSource(Promise$
|
|
2121
|
-
setCtorString = toSource(Set),
|
|
2122
|
-
weakMapCtorString = toSource(WeakMap);
|
|
1787
|
+
var dataViewCtorString = toSource(DataView$1),
|
|
1788
|
+
mapCtorString = toSource(Map$2),
|
|
1789
|
+
promiseCtorString = toSource(Promise$2),
|
|
1790
|
+
setCtorString = toSource(Set$1),
|
|
1791
|
+
weakMapCtorString = toSource(WeakMap$1);
|
|
2123
1792
|
|
|
2124
1793
|
/**
|
|
2125
1794
|
* Gets the `toStringTag` of `value`.
|
|
@@ -2128,16 +1797,16 @@ var dataViewCtorString = toSource(DataView),
|
|
|
2128
1797
|
* @param {*} value The value to query.
|
|
2129
1798
|
* @returns {string} Returns the `toStringTag`.
|
|
2130
1799
|
*/
|
|
2131
|
-
var getTag
|
|
1800
|
+
var getTag = debounce$1.baseGetTag;
|
|
2132
1801
|
|
|
2133
1802
|
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
2134
|
-
if ((DataView && getTag
|
|
2135
|
-
(Map$
|
|
2136
|
-
(Promise$
|
|
2137
|
-
(Set && getTag
|
|
2138
|
-
(WeakMap && getTag
|
|
2139
|
-
getTag
|
|
2140
|
-
var result = baseGetTag(value),
|
|
1803
|
+
if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag) ||
|
|
1804
|
+
(Map$2 && getTag(new Map$2) != mapTag) ||
|
|
1805
|
+
(Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
|
|
1806
|
+
(Set$1 && getTag(new Set$1) != setTag) ||
|
|
1807
|
+
(WeakMap$1 && getTag(new WeakMap$1) != weakMapTag)) {
|
|
1808
|
+
getTag = function(value) {
|
|
1809
|
+
var result = debounce$1.baseGetTag(value),
|
|
2141
1810
|
Ctor = result == objectTag$1 ? value.constructor : undefined,
|
|
2142
1811
|
ctorString = Ctor ? toSource(Ctor) : '';
|
|
2143
1812
|
|
|
@@ -2154,16 +1823,7 @@ if ((DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
|
2154
1823
|
};
|
|
2155
1824
|
}
|
|
2156
1825
|
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
var Stack$1 = _Stack,
|
|
2160
|
-
equalArrays = _equalArrays,
|
|
2161
|
-
equalByTag = _equalByTag,
|
|
2162
|
-
equalObjects = _equalObjects,
|
|
2163
|
-
getTag = _getTag,
|
|
2164
|
-
isArray$7 = isArray_1,
|
|
2165
|
-
isBuffer = isBuffer$2.exports,
|
|
2166
|
-
isTypedArray = isTypedArray_1;
|
|
1826
|
+
const getTag$1 = getTag;
|
|
2167
1827
|
|
|
2168
1828
|
/** Used to compose bitmasks for value comparisons. */
|
|
2169
1829
|
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
@@ -2193,11 +1853,11 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
|
|
2193
1853
|
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
2194
1854
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
2195
1855
|
*/
|
|
2196
|
-
function baseIsEqualDeep
|
|
2197
|
-
var objIsArr = isArray$
|
|
2198
|
-
othIsArr = isArray$
|
|
2199
|
-
objTag = objIsArr ? arrayTag : getTag(object),
|
|
2200
|
-
othTag = othIsArr ? arrayTag : getTag(other);
|
|
1856
|
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
1857
|
+
var objIsArr = isArray$1(object),
|
|
1858
|
+
othIsArr = isArray$1(other),
|
|
1859
|
+
objTag = objIsArr ? arrayTag : getTag$1(object),
|
|
1860
|
+
othTag = othIsArr ? arrayTag : getTag$1(other);
|
|
2201
1861
|
|
|
2202
1862
|
objTag = objTag == argsTag ? objectTag : objTag;
|
|
2203
1863
|
othTag = othTag == argsTag ? objectTag : othTag;
|
|
@@ -2206,16 +1866,16 @@ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack)
|
|
|
2206
1866
|
othIsObj = othTag == objectTag,
|
|
2207
1867
|
isSameTag = objTag == othTag;
|
|
2208
1868
|
|
|
2209
|
-
if (isSameTag && isBuffer(object)) {
|
|
2210
|
-
if (!isBuffer(other)) {
|
|
1869
|
+
if (isSameTag && isBuffer$1(object)) {
|
|
1870
|
+
if (!isBuffer$1(other)) {
|
|
2211
1871
|
return false;
|
|
2212
1872
|
}
|
|
2213
1873
|
objIsArr = true;
|
|
2214
1874
|
objIsObj = false;
|
|
2215
1875
|
}
|
|
2216
1876
|
if (isSameTag && !objIsObj) {
|
|
2217
|
-
stack || (stack = new Stack
|
|
2218
|
-
return (objIsArr || isTypedArray(object))
|
|
1877
|
+
stack || (stack = new Stack);
|
|
1878
|
+
return (objIsArr || isTypedArray$1(object))
|
|
2219
1879
|
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
2220
1880
|
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
2221
1881
|
}
|
|
@@ -2227,22 +1887,17 @@ function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack)
|
|
|
2227
1887
|
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
2228
1888
|
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
2229
1889
|
|
|
2230
|
-
stack || (stack = new Stack
|
|
1890
|
+
stack || (stack = new Stack);
|
|
2231
1891
|
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
2232
1892
|
}
|
|
2233
1893
|
}
|
|
2234
1894
|
if (!isSameTag) {
|
|
2235
1895
|
return false;
|
|
2236
1896
|
}
|
|
2237
|
-
stack || (stack = new Stack
|
|
1897
|
+
stack || (stack = new Stack);
|
|
2238
1898
|
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
2239
1899
|
}
|
|
2240
1900
|
|
|
2241
|
-
var _baseIsEqualDeep = baseIsEqualDeep$1;
|
|
2242
|
-
|
|
2243
|
-
var baseIsEqualDeep = _baseIsEqualDeep,
|
|
2244
|
-
isObjectLike = debounce$1.isObjectLike_1;
|
|
2245
|
-
|
|
2246
1901
|
/**
|
|
2247
1902
|
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
2248
1903
|
* and tracks traversed objects.
|
|
@@ -2257,21 +1912,16 @@ var baseIsEqualDeep = _baseIsEqualDeep,
|
|
|
2257
1912
|
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
2258
1913
|
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
2259
1914
|
*/
|
|
2260
|
-
function baseIsEqual
|
|
1915
|
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
2261
1916
|
if (value === other) {
|
|
2262
1917
|
return true;
|
|
2263
1918
|
}
|
|
2264
|
-
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
1919
|
+
if (value == null || other == null || (!debounce$1.isObjectLike(value) && !debounce$1.isObjectLike(other))) {
|
|
2265
1920
|
return value !== value && other !== other;
|
|
2266
1921
|
}
|
|
2267
|
-
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual
|
|
1922
|
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
2268
1923
|
}
|
|
2269
1924
|
|
|
2270
|
-
var _baseIsEqual = baseIsEqual$2;
|
|
2271
|
-
|
|
2272
|
-
var Stack = _Stack,
|
|
2273
|
-
baseIsEqual$1 = _baseIsEqual;
|
|
2274
|
-
|
|
2275
1925
|
/** Used to compose bitmasks for value comparisons. */
|
|
2276
1926
|
var COMPARE_PARTIAL_FLAG$1 = 1,
|
|
2277
1927
|
COMPARE_UNORDERED_FLAG$1 = 2;
|
|
@@ -2286,7 +1936,7 @@ var COMPARE_PARTIAL_FLAG$1 = 1,
|
|
|
2286
1936
|
* @param {Function} [customizer] The function to customize comparisons.
|
|
2287
1937
|
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
|
2288
1938
|
*/
|
|
2289
|
-
function baseIsMatch
|
|
1939
|
+
function baseIsMatch(object, source, matchData, customizer) {
|
|
2290
1940
|
var index = matchData.length,
|
|
2291
1941
|
length = index,
|
|
2292
1942
|
noCustomizer = !customizer;
|
|
@@ -2320,7 +1970,7 @@ function baseIsMatch$1(object, source, matchData, customizer) {
|
|
|
2320
1970
|
var result = customizer(objValue, srcValue, key, object, source, stack);
|
|
2321
1971
|
}
|
|
2322
1972
|
if (!(result === undefined
|
|
2323
|
-
? baseIsEqual
|
|
1973
|
+
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
|
|
2324
1974
|
: result
|
|
2325
1975
|
)) {
|
|
2326
1976
|
return false;
|
|
@@ -2330,10 +1980,6 @@ function baseIsMatch$1(object, source, matchData, customizer) {
|
|
|
2330
1980
|
return true;
|
|
2331
1981
|
}
|
|
2332
1982
|
|
|
2333
|
-
var _baseIsMatch = baseIsMatch$1;
|
|
2334
|
-
|
|
2335
|
-
var isObject$1 = debounce$1.isObject_1;
|
|
2336
|
-
|
|
2337
1983
|
/**
|
|
2338
1984
|
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
|
2339
1985
|
*
|
|
@@ -2342,15 +1988,10 @@ var isObject$1 = debounce$1.isObject_1;
|
|
|
2342
1988
|
* @returns {boolean} Returns `true` if `value` if suitable for strict
|
|
2343
1989
|
* equality comparisons, else `false`.
|
|
2344
1990
|
*/
|
|
2345
|
-
function isStrictComparable
|
|
2346
|
-
return value === value && !
|
|
1991
|
+
function isStrictComparable(value) {
|
|
1992
|
+
return value === value && !debounce$1.isObject(value);
|
|
2347
1993
|
}
|
|
2348
1994
|
|
|
2349
|
-
var _isStrictComparable = isStrictComparable$2;
|
|
2350
|
-
|
|
2351
|
-
var isStrictComparable$1 = _isStrictComparable,
|
|
2352
|
-
keys$1 = keys_1;
|
|
2353
|
-
|
|
2354
1995
|
/**
|
|
2355
1996
|
* Gets the property names, values, and compare flags of `object`.
|
|
2356
1997
|
*
|
|
@@ -2358,21 +1999,19 @@ var isStrictComparable$1 = _isStrictComparable,
|
|
|
2358
1999
|
* @param {Object} object The object to query.
|
|
2359
2000
|
* @returns {Array} Returns the match data of `object`.
|
|
2360
2001
|
*/
|
|
2361
|
-
function getMatchData
|
|
2362
|
-
var result = keys
|
|
2002
|
+
function getMatchData(object) {
|
|
2003
|
+
var result = keys(object),
|
|
2363
2004
|
length = result.length;
|
|
2364
2005
|
|
|
2365
2006
|
while (length--) {
|
|
2366
2007
|
var key = result[length],
|
|
2367
2008
|
value = object[key];
|
|
2368
2009
|
|
|
2369
|
-
result[length] = [key, value, isStrictComparable
|
|
2010
|
+
result[length] = [key, value, isStrictComparable(value)];
|
|
2370
2011
|
}
|
|
2371
2012
|
return result;
|
|
2372
2013
|
}
|
|
2373
2014
|
|
|
2374
|
-
var _getMatchData = getMatchData$1;
|
|
2375
|
-
|
|
2376
2015
|
/**
|
|
2377
2016
|
* A specialized version of `matchesProperty` for source values suitable
|
|
2378
2017
|
* for strict equality comparisons, i.e. `===`.
|
|
@@ -2382,8 +2021,7 @@ var _getMatchData = getMatchData$1;
|
|
|
2382
2021
|
* @param {*} srcValue The value to match.
|
|
2383
2022
|
* @returns {Function} Returns the new spec function.
|
|
2384
2023
|
*/
|
|
2385
|
-
|
|
2386
|
-
function matchesStrictComparable$2(key, srcValue) {
|
|
2024
|
+
function matchesStrictComparable(key, srcValue) {
|
|
2387
2025
|
return function(object) {
|
|
2388
2026
|
if (object == null) {
|
|
2389
2027
|
return false;
|
|
@@ -2393,12 +2031,6 @@ function matchesStrictComparable$2(key, srcValue) {
|
|
|
2393
2031
|
};
|
|
2394
2032
|
}
|
|
2395
2033
|
|
|
2396
|
-
var _matchesStrictComparable = matchesStrictComparable$2;
|
|
2397
|
-
|
|
2398
|
-
var baseIsMatch = _baseIsMatch,
|
|
2399
|
-
getMatchData = _getMatchData,
|
|
2400
|
-
matchesStrictComparable$1 = _matchesStrictComparable;
|
|
2401
|
-
|
|
2402
2034
|
/**
|
|
2403
2035
|
* The base implementation of `_.matches` which doesn't clone `source`.
|
|
2404
2036
|
*
|
|
@@ -2406,21 +2038,16 @@ var baseIsMatch = _baseIsMatch,
|
|
|
2406
2038
|
* @param {Object} source The object of property values to match.
|
|
2407
2039
|
* @returns {Function} Returns the new spec function.
|
|
2408
2040
|
*/
|
|
2409
|
-
function baseMatches
|
|
2041
|
+
function baseMatches(source) {
|
|
2410
2042
|
var matchData = getMatchData(source);
|
|
2411
2043
|
if (matchData.length == 1 && matchData[0][2]) {
|
|
2412
|
-
return matchesStrictComparable
|
|
2044
|
+
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
|
2413
2045
|
}
|
|
2414
2046
|
return function(object) {
|
|
2415
2047
|
return object === source || baseIsMatch(object, source, matchData);
|
|
2416
2048
|
};
|
|
2417
2049
|
}
|
|
2418
2050
|
|
|
2419
|
-
var _baseMatches = baseMatches$1;
|
|
2420
|
-
|
|
2421
|
-
var isArray$6 = isArray_1,
|
|
2422
|
-
isSymbol$4 = debounce$1.isSymbol_1;
|
|
2423
|
-
|
|
2424
2051
|
/** Used to match property names within property paths. */
|
|
2425
2052
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
2426
2053
|
reIsPlainProp = /^\w*$/;
|
|
@@ -2433,23 +2060,19 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
|
2433
2060
|
* @param {Object} [object] The object to query keys on.
|
|
2434
2061
|
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
|
2435
2062
|
*/
|
|
2436
|
-
function isKey
|
|
2437
|
-
if (isArray$
|
|
2063
|
+
function isKey(value, object) {
|
|
2064
|
+
if (isArray$1(value)) {
|
|
2438
2065
|
return false;
|
|
2439
2066
|
}
|
|
2440
2067
|
var type = typeof value;
|
|
2441
2068
|
if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
|
2442
|
-
value == null || isSymbol
|
|
2069
|
+
value == null || debounce$1.isSymbol(value)) {
|
|
2443
2070
|
return true;
|
|
2444
2071
|
}
|
|
2445
2072
|
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
|
2446
2073
|
(object != null && value in Object(object));
|
|
2447
2074
|
}
|
|
2448
2075
|
|
|
2449
|
-
var _isKey = isKey$3;
|
|
2450
|
-
|
|
2451
|
-
var MapCache = _MapCache;
|
|
2452
|
-
|
|
2453
2076
|
/** Error message constants. */
|
|
2454
2077
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
2455
2078
|
|
|
@@ -2497,7 +2120,7 @@ var FUNC_ERROR_TEXT = 'Expected a function';
|
|
|
2497
2120
|
* // Replace `_.memoize.Cache`.
|
|
2498
2121
|
* _.memoize.Cache = WeakMap;
|
|
2499
2122
|
*/
|
|
2500
|
-
function memoize
|
|
2123
|
+
function memoize(func, resolver) {
|
|
2501
2124
|
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
|
2502
2125
|
throw new TypeError(FUNC_ERROR_TEXT);
|
|
2503
2126
|
}
|
|
@@ -2513,16 +2136,12 @@ function memoize$1(func, resolver) {
|
|
|
2513
2136
|
memoized.cache = cache.set(key, result) || cache;
|
|
2514
2137
|
return result;
|
|
2515
2138
|
};
|
|
2516
|
-
memoized.cache = new (memoize
|
|
2139
|
+
memoized.cache = new (memoize.Cache || MapCache);
|
|
2517
2140
|
return memoized;
|
|
2518
2141
|
}
|
|
2519
2142
|
|
|
2520
2143
|
// Expose `MapCache`.
|
|
2521
|
-
memoize
|
|
2522
|
-
|
|
2523
|
-
var memoize_1 = memoize$1;
|
|
2524
|
-
|
|
2525
|
-
var memoize = memoize_1;
|
|
2144
|
+
memoize.Cache = MapCache;
|
|
2526
2145
|
|
|
2527
2146
|
/** Used as the maximum memoize cache size. */
|
|
2528
2147
|
var MAX_MEMOIZE_SIZE = 500;
|
|
@@ -2535,7 +2154,7 @@ var MAX_MEMOIZE_SIZE = 500;
|
|
|
2535
2154
|
* @param {Function} func The function to have its output memoized.
|
|
2536
2155
|
* @returns {Function} Returns the new memoized function.
|
|
2537
2156
|
*/
|
|
2538
|
-
function memoizeCapped
|
|
2157
|
+
function memoizeCapped(func) {
|
|
2539
2158
|
var result = memoize(func, function(key) {
|
|
2540
2159
|
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
2541
2160
|
cache.clear();
|
|
@@ -2547,10 +2166,6 @@ function memoizeCapped$1(func) {
|
|
|
2547
2166
|
return result;
|
|
2548
2167
|
}
|
|
2549
2168
|
|
|
2550
|
-
var _memoizeCapped = memoizeCapped$1;
|
|
2551
|
-
|
|
2552
|
-
var memoizeCapped = _memoizeCapped;
|
|
2553
|
-
|
|
2554
2169
|
/** Used to match property names within property paths. */
|
|
2555
2170
|
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
2556
2171
|
|
|
@@ -2564,7 +2179,7 @@ var reEscapeChar = /\\(\\)?/g;
|
|
|
2564
2179
|
* @param {string} string The string to convert.
|
|
2565
2180
|
* @returns {Array} Returns the property path array.
|
|
2566
2181
|
*/
|
|
2567
|
-
var stringToPath
|
|
2182
|
+
var stringToPath = memoizeCapped(function(string) {
|
|
2568
2183
|
var result = [];
|
|
2569
2184
|
if (string.charCodeAt(0) === 46 /* . */) {
|
|
2570
2185
|
result.push('');
|
|
@@ -2575,7 +2190,7 @@ var stringToPath$1 = memoizeCapped(function(string) {
|
|
|
2575
2190
|
return result;
|
|
2576
2191
|
});
|
|
2577
2192
|
|
|
2578
|
-
|
|
2193
|
+
const stringToPath$1 = stringToPath;
|
|
2579
2194
|
|
|
2580
2195
|
/**
|
|
2581
2196
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -2586,8 +2201,7 @@ var _stringToPath = stringToPath$1;
|
|
|
2586
2201
|
* @param {Function} iteratee The function invoked per iteration.
|
|
2587
2202
|
* @returns {Array} Returns the new mapped array.
|
|
2588
2203
|
*/
|
|
2589
|
-
|
|
2590
|
-
function arrayMap$1(array, iteratee) {
|
|
2204
|
+
function arrayMap(array, iteratee) {
|
|
2591
2205
|
var index = -1,
|
|
2592
2206
|
length = array == null ? 0 : array.length,
|
|
2593
2207
|
result = Array(length);
|
|
@@ -2598,18 +2212,11 @@ function arrayMap$1(array, iteratee) {
|
|
|
2598
2212
|
return result;
|
|
2599
2213
|
}
|
|
2600
2214
|
|
|
2601
|
-
var _arrayMap = arrayMap$1;
|
|
2602
|
-
|
|
2603
|
-
var Symbol = debounce$1._Symbol,
|
|
2604
|
-
arrayMap = _arrayMap,
|
|
2605
|
-
isArray$5 = isArray_1,
|
|
2606
|
-
isSymbol$3 = debounce$1.isSymbol_1;
|
|
2607
|
-
|
|
2608
2215
|
/** Used as references for various `Number` constants. */
|
|
2609
2216
|
var INFINITY$2 = 1 / 0;
|
|
2610
2217
|
|
|
2611
2218
|
/** Used to convert symbols to primitives and strings. */
|
|
2612
|
-
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
2219
|
+
var symbolProto = debounce$1.Symbol ? debounce$1.Symbol.prototype : undefined,
|
|
2613
2220
|
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
2614
2221
|
|
|
2615
2222
|
/**
|
|
@@ -2620,26 +2227,22 @@ var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
|
2620
2227
|
* @param {*} value The value to process.
|
|
2621
2228
|
* @returns {string} Returns the string.
|
|
2622
2229
|
*/
|
|
2623
|
-
function baseToString
|
|
2230
|
+
function baseToString(value) {
|
|
2624
2231
|
// Exit early for strings to avoid a performance hit in some environments.
|
|
2625
2232
|
if (typeof value == 'string') {
|
|
2626
2233
|
return value;
|
|
2627
2234
|
}
|
|
2628
|
-
if (isArray$
|
|
2235
|
+
if (isArray$1(value)) {
|
|
2629
2236
|
// Recursively convert values (susceptible to call stack limits).
|
|
2630
|
-
return arrayMap(value, baseToString
|
|
2237
|
+
return arrayMap(value, baseToString) + '';
|
|
2631
2238
|
}
|
|
2632
|
-
if (isSymbol
|
|
2239
|
+
if (debounce$1.isSymbol(value)) {
|
|
2633
2240
|
return symbolToString ? symbolToString.call(value) : '';
|
|
2634
2241
|
}
|
|
2635
2242
|
var result = (value + '');
|
|
2636
2243
|
return (result == '0' && (1 / value) == -INFINITY$2) ? '-0' : result;
|
|
2637
2244
|
}
|
|
2638
2245
|
|
|
2639
|
-
var _baseToString = baseToString$1;
|
|
2640
|
-
|
|
2641
|
-
var baseToString = _baseToString;
|
|
2642
|
-
|
|
2643
2246
|
/**
|
|
2644
2247
|
* Converts `value` to a string. An empty string is returned for `null`
|
|
2645
2248
|
* and `undefined` values. The sign of `-0` is preserved.
|
|
@@ -2661,17 +2264,10 @@ var baseToString = _baseToString;
|
|
|
2661
2264
|
* _.toString([1, 2, 3]);
|
|
2662
2265
|
* // => '1,2,3'
|
|
2663
2266
|
*/
|
|
2664
|
-
function toString
|
|
2267
|
+
function toString(value) {
|
|
2665
2268
|
return value == null ? '' : baseToString(value);
|
|
2666
2269
|
}
|
|
2667
2270
|
|
|
2668
|
-
var toString_1 = toString$1;
|
|
2669
|
-
|
|
2670
|
-
var isArray$4 = isArray_1,
|
|
2671
|
-
isKey$2 = _isKey,
|
|
2672
|
-
stringToPath = _stringToPath,
|
|
2673
|
-
toString = toString_1;
|
|
2674
|
-
|
|
2675
2271
|
/**
|
|
2676
2272
|
* Casts `value` to a path array if it's not one.
|
|
2677
2273
|
*
|
|
@@ -2680,17 +2276,13 @@ var isArray$4 = isArray_1,
|
|
|
2680
2276
|
* @param {Object} [object] The object to query keys on.
|
|
2681
2277
|
* @returns {Array} Returns the cast property path array.
|
|
2682
2278
|
*/
|
|
2683
|
-
function castPath
|
|
2684
|
-
if (isArray$
|
|
2279
|
+
function castPath(value, object) {
|
|
2280
|
+
if (isArray$1(value)) {
|
|
2685
2281
|
return value;
|
|
2686
2282
|
}
|
|
2687
|
-
return isKey
|
|
2283
|
+
return isKey(value, object) ? [value] : stringToPath$1(toString(value));
|
|
2688
2284
|
}
|
|
2689
2285
|
|
|
2690
|
-
var _castPath = castPath$2;
|
|
2691
|
-
|
|
2692
|
-
var isSymbol$2 = debounce$1.isSymbol_1;
|
|
2693
|
-
|
|
2694
2286
|
/** Used as references for various `Number` constants. */
|
|
2695
2287
|
var INFINITY$1 = 1 / 0;
|
|
2696
2288
|
|
|
@@ -2701,19 +2293,14 @@ var INFINITY$1 = 1 / 0;
|
|
|
2701
2293
|
* @param {*} value The value to inspect.
|
|
2702
2294
|
* @returns {string|symbol} Returns the key.
|
|
2703
2295
|
*/
|
|
2704
|
-
function toKey
|
|
2705
|
-
if (typeof value == 'string' || isSymbol
|
|
2296
|
+
function toKey(value) {
|
|
2297
|
+
if (typeof value == 'string' || debounce$1.isSymbol(value)) {
|
|
2706
2298
|
return value;
|
|
2707
2299
|
}
|
|
2708
2300
|
var result = (value + '');
|
|
2709
2301
|
return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
|
|
2710
2302
|
}
|
|
2711
2303
|
|
|
2712
|
-
var _toKey = toKey$4;
|
|
2713
|
-
|
|
2714
|
-
var castPath$1 = _castPath,
|
|
2715
|
-
toKey$3 = _toKey;
|
|
2716
|
-
|
|
2717
2304
|
/**
|
|
2718
2305
|
* The base implementation of `_.get` without support for default values.
|
|
2719
2306
|
*
|
|
@@ -2722,22 +2309,18 @@ var castPath$1 = _castPath,
|
|
|
2722
2309
|
* @param {Array|string} path The path of the property to get.
|
|
2723
2310
|
* @returns {*} Returns the resolved value.
|
|
2724
2311
|
*/
|
|
2725
|
-
function baseGet
|
|
2726
|
-
path = castPath
|
|
2312
|
+
function baseGet(object, path) {
|
|
2313
|
+
path = castPath(path, object);
|
|
2727
2314
|
|
|
2728
2315
|
var index = 0,
|
|
2729
2316
|
length = path.length;
|
|
2730
2317
|
|
|
2731
2318
|
while (object != null && index < length) {
|
|
2732
|
-
object = object[toKey
|
|
2319
|
+
object = object[toKey(path[index++])];
|
|
2733
2320
|
}
|
|
2734
2321
|
return (index && index == length) ? object : undefined;
|
|
2735
2322
|
}
|
|
2736
2323
|
|
|
2737
|
-
var _baseGet = baseGet$2;
|
|
2738
|
-
|
|
2739
|
-
var baseGet$1 = _baseGet;
|
|
2740
|
-
|
|
2741
2324
|
/**
|
|
2742
2325
|
* Gets the value at `path` of `object`. If the resolved value is
|
|
2743
2326
|
* `undefined`, the `defaultValue` is returned in its place.
|
|
@@ -2763,13 +2346,11 @@ var baseGet$1 = _baseGet;
|
|
|
2763
2346
|
* _.get(object, 'a.b.c', 'default');
|
|
2764
2347
|
* // => 'default'
|
|
2765
2348
|
*/
|
|
2766
|
-
function get
|
|
2767
|
-
var result = object == null ? undefined : baseGet
|
|
2349
|
+
function get(object, path, defaultValue) {
|
|
2350
|
+
var result = object == null ? undefined : baseGet(object, path);
|
|
2768
2351
|
return result === undefined ? defaultValue : result;
|
|
2769
2352
|
}
|
|
2770
2353
|
|
|
2771
|
-
var get_1 = get$1;
|
|
2772
|
-
|
|
2773
2354
|
/**
|
|
2774
2355
|
* The base implementation of `_.hasIn` without support for deep paths.
|
|
2775
2356
|
*
|
|
@@ -2778,20 +2359,10 @@ var get_1 = get$1;
|
|
|
2778
2359
|
* @param {Array|string} key The key to check.
|
|
2779
2360
|
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
|
2780
2361
|
*/
|
|
2781
|
-
|
|
2782
|
-
function baseHasIn$1(object, key) {
|
|
2362
|
+
function baseHasIn(object, key) {
|
|
2783
2363
|
return object != null && key in Object(object);
|
|
2784
2364
|
}
|
|
2785
2365
|
|
|
2786
|
-
var _baseHasIn = baseHasIn$1;
|
|
2787
|
-
|
|
2788
|
-
var castPath = _castPath,
|
|
2789
|
-
isArguments = isArguments_1,
|
|
2790
|
-
isArray$3 = isArray_1,
|
|
2791
|
-
isIndex$1 = _isIndex,
|
|
2792
|
-
isLength = isLength_1,
|
|
2793
|
-
toKey$2 = _toKey;
|
|
2794
|
-
|
|
2795
2366
|
/**
|
|
2796
2367
|
* Checks if `path` exists on `object`.
|
|
2797
2368
|
*
|
|
@@ -2801,7 +2372,7 @@ var castPath = _castPath,
|
|
|
2801
2372
|
* @param {Function} hasFunc The function to check properties.
|
|
2802
2373
|
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
|
2803
2374
|
*/
|
|
2804
|
-
function hasPath
|
|
2375
|
+
function hasPath(object, path, hasFunc) {
|
|
2805
2376
|
path = castPath(path, object);
|
|
2806
2377
|
|
|
2807
2378
|
var index = -1,
|
|
@@ -2809,7 +2380,7 @@ function hasPath$1(object, path, hasFunc) {
|
|
|
2809
2380
|
result = false;
|
|
2810
2381
|
|
|
2811
2382
|
while (++index < length) {
|
|
2812
|
-
var key = toKey
|
|
2383
|
+
var key = toKey(path[index]);
|
|
2813
2384
|
if (!(result = object != null && hasFunc(object, key))) {
|
|
2814
2385
|
break;
|
|
2815
2386
|
}
|
|
@@ -2819,15 +2390,10 @@ function hasPath$1(object, path, hasFunc) {
|
|
|
2819
2390
|
return result;
|
|
2820
2391
|
}
|
|
2821
2392
|
length = object == null ? 0 : object.length;
|
|
2822
|
-
return !!length && isLength(length) && isIndex
|
|
2823
|
-
(isArray$
|
|
2393
|
+
return !!length && isLength(length) && isIndex(key, length) &&
|
|
2394
|
+
(isArray$1(object) || isArguments$1(object));
|
|
2824
2395
|
}
|
|
2825
2396
|
|
|
2826
|
-
var _hasPath = hasPath$1;
|
|
2827
|
-
|
|
2828
|
-
var baseHasIn = _baseHasIn,
|
|
2829
|
-
hasPath = _hasPath;
|
|
2830
|
-
|
|
2831
2397
|
/**
|
|
2832
2398
|
* Checks if `path` is a direct or inherited property of `object`.
|
|
2833
2399
|
*
|
|
@@ -2854,20 +2420,10 @@ var baseHasIn = _baseHasIn,
|
|
|
2854
2420
|
* _.hasIn(object, 'b');
|
|
2855
2421
|
* // => false
|
|
2856
2422
|
*/
|
|
2857
|
-
function hasIn
|
|
2423
|
+
function hasIn(object, path) {
|
|
2858
2424
|
return object != null && hasPath(object, path, baseHasIn);
|
|
2859
2425
|
}
|
|
2860
2426
|
|
|
2861
|
-
var hasIn_1 = hasIn$1;
|
|
2862
|
-
|
|
2863
|
-
var baseIsEqual = _baseIsEqual,
|
|
2864
|
-
get = get_1,
|
|
2865
|
-
hasIn = hasIn_1,
|
|
2866
|
-
isKey$1 = _isKey,
|
|
2867
|
-
isStrictComparable = _isStrictComparable,
|
|
2868
|
-
matchesStrictComparable = _matchesStrictComparable,
|
|
2869
|
-
toKey$1 = _toKey;
|
|
2870
|
-
|
|
2871
2427
|
/** Used to compose bitmasks for value comparisons. */
|
|
2872
2428
|
var COMPARE_PARTIAL_FLAG = 1,
|
|
2873
2429
|
COMPARE_UNORDERED_FLAG = 2;
|
|
@@ -2880,9 +2436,9 @@ var COMPARE_PARTIAL_FLAG = 1,
|
|
|
2880
2436
|
* @param {*} srcValue The value to match.
|
|
2881
2437
|
* @returns {Function} Returns the new spec function.
|
|
2882
2438
|
*/
|
|
2883
|
-
function baseMatchesProperty
|
|
2884
|
-
if (isKey
|
|
2885
|
-
return matchesStrictComparable(toKey
|
|
2439
|
+
function baseMatchesProperty(path, srcValue) {
|
|
2440
|
+
if (isKey(path) && isStrictComparable(srcValue)) {
|
|
2441
|
+
return matchesStrictComparable(toKey(path), srcValue);
|
|
2886
2442
|
}
|
|
2887
2443
|
return function(object) {
|
|
2888
2444
|
var objValue = get(object, path);
|
|
@@ -2892,8 +2448,6 @@ function baseMatchesProperty$1(path, srcValue) {
|
|
|
2892
2448
|
};
|
|
2893
2449
|
}
|
|
2894
2450
|
|
|
2895
|
-
var _baseMatchesProperty = baseMatchesProperty$1;
|
|
2896
|
-
|
|
2897
2451
|
/**
|
|
2898
2452
|
* This method returns the first argument it receives.
|
|
2899
2453
|
*
|
|
@@ -2910,13 +2464,10 @@ var _baseMatchesProperty = baseMatchesProperty$1;
|
|
|
2910
2464
|
* console.log(_.identity(object) === object);
|
|
2911
2465
|
* // => true
|
|
2912
2466
|
*/
|
|
2913
|
-
|
|
2914
|
-
function identity$3(value) {
|
|
2467
|
+
function identity(value) {
|
|
2915
2468
|
return value;
|
|
2916
2469
|
}
|
|
2917
2470
|
|
|
2918
|
-
var identity_1 = identity$3;
|
|
2919
|
-
|
|
2920
2471
|
/**
|
|
2921
2472
|
* The base implementation of `_.property` without support for deep paths.
|
|
2922
2473
|
*
|
|
@@ -2924,17 +2475,12 @@ var identity_1 = identity$3;
|
|
|
2924
2475
|
* @param {string} key The key of the property to get.
|
|
2925
2476
|
* @returns {Function} Returns the new accessor function.
|
|
2926
2477
|
*/
|
|
2927
|
-
|
|
2928
|
-
function baseProperty$1(key) {
|
|
2478
|
+
function baseProperty(key) {
|
|
2929
2479
|
return function(object) {
|
|
2930
2480
|
return object == null ? undefined : object[key];
|
|
2931
2481
|
};
|
|
2932
2482
|
}
|
|
2933
2483
|
|
|
2934
|
-
var _baseProperty = baseProperty$1;
|
|
2935
|
-
|
|
2936
|
-
var baseGet = _baseGet;
|
|
2937
|
-
|
|
2938
2484
|
/**
|
|
2939
2485
|
* A specialized version of `baseProperty` which supports deep paths.
|
|
2940
2486
|
*
|
|
@@ -2942,19 +2488,12 @@ var baseGet = _baseGet;
|
|
|
2942
2488
|
* @param {Array|string} path The path of the property to get.
|
|
2943
2489
|
* @returns {Function} Returns the new accessor function.
|
|
2944
2490
|
*/
|
|
2945
|
-
function basePropertyDeep
|
|
2491
|
+
function basePropertyDeep(path) {
|
|
2946
2492
|
return function(object) {
|
|
2947
2493
|
return baseGet(object, path);
|
|
2948
2494
|
};
|
|
2949
2495
|
}
|
|
2950
2496
|
|
|
2951
|
-
var _basePropertyDeep = basePropertyDeep$1;
|
|
2952
|
-
|
|
2953
|
-
var baseProperty = _baseProperty,
|
|
2954
|
-
basePropertyDeep = _basePropertyDeep,
|
|
2955
|
-
isKey = _isKey,
|
|
2956
|
-
toKey = _toKey;
|
|
2957
|
-
|
|
2958
2497
|
/**
|
|
2959
2498
|
* Creates a function that returns the value at `path` of a given object.
|
|
2960
2499
|
*
|
|
@@ -2977,18 +2516,10 @@ var baseProperty = _baseProperty,
|
|
|
2977
2516
|
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
|
|
2978
2517
|
* // => [1, 2]
|
|
2979
2518
|
*/
|
|
2980
|
-
function property
|
|
2519
|
+
function property(path) {
|
|
2981
2520
|
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
|
|
2982
2521
|
}
|
|
2983
2522
|
|
|
2984
|
-
var property_1 = property$1;
|
|
2985
|
-
|
|
2986
|
-
var baseMatches = _baseMatches,
|
|
2987
|
-
baseMatchesProperty = _baseMatchesProperty,
|
|
2988
|
-
identity$2 = identity_1,
|
|
2989
|
-
isArray$2 = isArray_1,
|
|
2990
|
-
property = property_1;
|
|
2991
|
-
|
|
2992
2523
|
/**
|
|
2993
2524
|
* The base implementation of `_.iteratee`.
|
|
2994
2525
|
*
|
|
@@ -2996,27 +2527,23 @@ var baseMatches = _baseMatches,
|
|
|
2996
2527
|
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
|
2997
2528
|
* @returns {Function} Returns the iteratee.
|
|
2998
2529
|
*/
|
|
2999
|
-
function baseIteratee
|
|
2530
|
+
function baseIteratee(value) {
|
|
3000
2531
|
// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
|
|
3001
2532
|
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
|
|
3002
2533
|
if (typeof value == 'function') {
|
|
3003
2534
|
return value;
|
|
3004
2535
|
}
|
|
3005
2536
|
if (value == null) {
|
|
3006
|
-
return identity
|
|
2537
|
+
return identity;
|
|
3007
2538
|
}
|
|
3008
2539
|
if (typeof value == 'object') {
|
|
3009
|
-
return isArray$
|
|
2540
|
+
return isArray$1(value)
|
|
3010
2541
|
? baseMatchesProperty(value[0], value[1])
|
|
3011
2542
|
: baseMatches(value);
|
|
3012
2543
|
}
|
|
3013
2544
|
return property(value);
|
|
3014
2545
|
}
|
|
3015
2546
|
|
|
3016
|
-
var _baseIteratee = baseIteratee$2;
|
|
3017
|
-
|
|
3018
|
-
var toNumber = debounce$1.toNumber_1;
|
|
3019
|
-
|
|
3020
2547
|
/** Used as references for various `Number` constants. */
|
|
3021
2548
|
var INFINITY = 1 / 0,
|
|
3022
2549
|
MAX_INTEGER = 1.7976931348623157e+308;
|
|
@@ -3044,11 +2571,11 @@ var INFINITY = 1 / 0,
|
|
|
3044
2571
|
* _.toFinite('3.2');
|
|
3045
2572
|
* // => 3.2
|
|
3046
2573
|
*/
|
|
3047
|
-
function toFinite
|
|
2574
|
+
function toFinite(value) {
|
|
3048
2575
|
if (!value) {
|
|
3049
2576
|
return value === 0 ? value : 0;
|
|
3050
2577
|
}
|
|
3051
|
-
value = toNumber(value);
|
|
2578
|
+
value = debounce$1.toNumber(value);
|
|
3052
2579
|
if (value === INFINITY || value === -INFINITY) {
|
|
3053
2580
|
var sign = (value < 0 ? -1 : 1);
|
|
3054
2581
|
return sign * MAX_INTEGER;
|
|
@@ -3056,10 +2583,6 @@ function toFinite$2(value) {
|
|
|
3056
2583
|
return value === value ? value : 0;
|
|
3057
2584
|
}
|
|
3058
2585
|
|
|
3059
|
-
var toFinite_1 = toFinite$2;
|
|
3060
|
-
|
|
3061
|
-
var toFinite$1 = toFinite_1;
|
|
3062
|
-
|
|
3063
2586
|
/**
|
|
3064
2587
|
* Converts `value` to an integer.
|
|
3065
2588
|
*
|
|
@@ -3086,19 +2609,13 @@ var toFinite$1 = toFinite_1;
|
|
|
3086
2609
|
* _.toInteger('3.2');
|
|
3087
2610
|
* // => 3
|
|
3088
2611
|
*/
|
|
3089
|
-
function toInteger
|
|
3090
|
-
var result = toFinite
|
|
2612
|
+
function toInteger(value) {
|
|
2613
|
+
var result = toFinite(value),
|
|
3091
2614
|
remainder = result % 1;
|
|
3092
2615
|
|
|
3093
2616
|
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
3094
2617
|
}
|
|
3095
2618
|
|
|
3096
|
-
var toInteger_1 = toInteger$1;
|
|
3097
|
-
|
|
3098
|
-
var baseFindIndex = _baseFindIndex,
|
|
3099
|
-
baseIteratee$1 = _baseIteratee,
|
|
3100
|
-
toInteger = toInteger_1;
|
|
3101
|
-
|
|
3102
2619
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
3103
2620
|
var nativeMax$1 = Math.max;
|
|
3104
2621
|
|
|
@@ -3146,13 +2663,10 @@ function findIndex(array, predicate, fromIndex) {
|
|
|
3146
2663
|
if (index < 0) {
|
|
3147
2664
|
index = nativeMax$1(length + index, 0);
|
|
3148
2665
|
}
|
|
3149
|
-
return baseFindIndex(array, baseIteratee
|
|
2666
|
+
return baseFindIndex(array, baseIteratee(predicate), index);
|
|
3150
2667
|
}
|
|
3151
2668
|
|
|
3152
|
-
var findIndex_1 = findIndex;
|
|
3153
|
-
|
|
3154
2669
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
3155
|
-
|
|
3156
2670
|
var nativeCeil = Math.ceil,
|
|
3157
2671
|
nativeMax = Math.max;
|
|
3158
2672
|
|
|
@@ -3167,7 +2681,7 @@ var nativeCeil = Math.ceil,
|
|
|
3167
2681
|
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
3168
2682
|
* @returns {Array} Returns the range of numbers.
|
|
3169
2683
|
*/
|
|
3170
|
-
function baseRange
|
|
2684
|
+
function baseRange(start, end, step, fromRight) {
|
|
3171
2685
|
var index = -1,
|
|
3172
2686
|
length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
|
|
3173
2687
|
result = Array(length);
|
|
@@ -3179,13 +2693,6 @@ function baseRange$1(start, end, step, fromRight) {
|
|
|
3179
2693
|
return result;
|
|
3180
2694
|
}
|
|
3181
2695
|
|
|
3182
|
-
var _baseRange = baseRange$1;
|
|
3183
|
-
|
|
3184
|
-
var eq = eq_1,
|
|
3185
|
-
isArrayLike$1 = isArrayLike_1,
|
|
3186
|
-
isIndex = _isIndex,
|
|
3187
|
-
isObject = debounce$1.isObject_1;
|
|
3188
|
-
|
|
3189
2696
|
/**
|
|
3190
2697
|
* Checks if the given arguments are from an iteratee call.
|
|
3191
2698
|
*
|
|
@@ -3196,13 +2703,13 @@ var eq = eq_1,
|
|
|
3196
2703
|
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
3197
2704
|
* else `false`.
|
|
3198
2705
|
*/
|
|
3199
|
-
function isIterateeCall
|
|
3200
|
-
if (!isObject(object)) {
|
|
2706
|
+
function isIterateeCall(value, index, object) {
|
|
2707
|
+
if (!debounce$1.isObject(object)) {
|
|
3201
2708
|
return false;
|
|
3202
2709
|
}
|
|
3203
2710
|
var type = typeof index;
|
|
3204
2711
|
if (type == 'number'
|
|
3205
|
-
? (isArrayLike
|
|
2712
|
+
? (isArrayLike(object) && isIndex(index, object.length))
|
|
3206
2713
|
: (type == 'string' && index in object)
|
|
3207
2714
|
) {
|
|
3208
2715
|
return eq(object[index], value);
|
|
@@ -3210,12 +2717,6 @@ function isIterateeCall$1(value, index, object) {
|
|
|
3210
2717
|
return false;
|
|
3211
2718
|
}
|
|
3212
2719
|
|
|
3213
|
-
var _isIterateeCall = isIterateeCall$1;
|
|
3214
|
-
|
|
3215
|
-
var baseRange = _baseRange,
|
|
3216
|
-
isIterateeCall = _isIterateeCall,
|
|
3217
|
-
toFinite = toFinite_1;
|
|
3218
|
-
|
|
3219
2720
|
/**
|
|
3220
2721
|
* Creates a `_.range` or `_.rangeRight` function.
|
|
3221
2722
|
*
|
|
@@ -3223,7 +2724,7 @@ var baseRange = _baseRange,
|
|
|
3223
2724
|
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
3224
2725
|
* @returns {Function} Returns the new range function.
|
|
3225
2726
|
*/
|
|
3226
|
-
function createRange
|
|
2727
|
+
function createRange(fromRight) {
|
|
3227
2728
|
return function(start, end, step) {
|
|
3228
2729
|
if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
|
|
3229
2730
|
end = step = undefined;
|
|
@@ -3241,10 +2742,6 @@ function createRange$1(fromRight) {
|
|
|
3241
2742
|
};
|
|
3242
2743
|
}
|
|
3243
2744
|
|
|
3244
|
-
var _createRange = createRange$1;
|
|
3245
|
-
|
|
3246
|
-
var createRange = _createRange;
|
|
3247
|
-
|
|
3248
2745
|
/**
|
|
3249
2746
|
* Creates an array of numbers (positive and/or negative) progressing from
|
|
3250
2747
|
* `start` up to, but not including, `end`. A step of `-1` is used if a negative
|
|
@@ -3288,7 +2785,7 @@ var createRange = _createRange;
|
|
|
3288
2785
|
*/
|
|
3289
2786
|
var range$1 = createRange();
|
|
3290
2787
|
|
|
3291
|
-
|
|
2788
|
+
const range$2 = range$1;
|
|
3292
2789
|
|
|
3293
2790
|
const appendToMap = (map, propName, value) => {
|
|
3294
2791
|
const items = map.get(propName);
|
|
@@ -3551,7 +3048,7 @@ class DataStore {
|
|
|
3551
3048
|
}
|
|
3552
3049
|
// clear items
|
|
3553
3050
|
this.store.set('items', []);
|
|
3554
|
-
const items =
|
|
3051
|
+
const items = range$2(0, (source === null || source === void 0 ? void 0 : source.length) || 0);
|
|
3555
3052
|
// set proxy first
|
|
3556
3053
|
setStore(this.store, {
|
|
3557
3054
|
source,
|
|
@@ -3648,7 +3145,7 @@ function setItems(store, items) {
|
|
|
3648
3145
|
function getSourceItemVirtualIndexByProp(store, prop) {
|
|
3649
3146
|
const items = store.get('items');
|
|
3650
3147
|
const source = store.get('source');
|
|
3651
|
-
const physicalIndex =
|
|
3148
|
+
const physicalIndex = findIndex(source, { prop });
|
|
3652
3149
|
return items.indexOf(physicalIndex);
|
|
3653
3150
|
}
|
|
3654
3151
|
|
|
@@ -3664,8 +3161,7 @@ function getSourceItemVirtualIndexByProp(store, prop) {
|
|
|
3664
3161
|
* the initial value.
|
|
3665
3162
|
* @returns {*} Returns the accumulated value.
|
|
3666
3163
|
*/
|
|
3667
|
-
|
|
3668
|
-
function arrayReduce$1(array, iteratee, accumulator, initAccum) {
|
|
3164
|
+
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
|
3669
3165
|
var index = -1,
|
|
3670
3166
|
length = array == null ? 0 : array.length;
|
|
3671
3167
|
|
|
@@ -3678,8 +3174,6 @@ function arrayReduce$1(array, iteratee, accumulator, initAccum) {
|
|
|
3678
3174
|
return accumulator;
|
|
3679
3175
|
}
|
|
3680
3176
|
|
|
3681
|
-
var _arrayReduce = arrayReduce$1;
|
|
3682
|
-
|
|
3683
3177
|
/**
|
|
3684
3178
|
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
3685
3179
|
*
|
|
@@ -3687,8 +3181,7 @@ var _arrayReduce = arrayReduce$1;
|
|
|
3687
3181
|
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
3688
3182
|
* @returns {Function} Returns the new base function.
|
|
3689
3183
|
*/
|
|
3690
|
-
|
|
3691
|
-
function createBaseFor$1(fromRight) {
|
|
3184
|
+
function createBaseFor(fromRight) {
|
|
3692
3185
|
return function(object, iteratee, keysFunc) {
|
|
3693
3186
|
var index = -1,
|
|
3694
3187
|
iterable = Object(object),
|
|
@@ -3705,10 +3198,6 @@ function createBaseFor$1(fromRight) {
|
|
|
3705
3198
|
};
|
|
3706
3199
|
}
|
|
3707
3200
|
|
|
3708
|
-
var _createBaseFor = createBaseFor$1;
|
|
3709
|
-
|
|
3710
|
-
var createBaseFor = _createBaseFor;
|
|
3711
|
-
|
|
3712
3201
|
/**
|
|
3713
3202
|
* The base implementation of `baseForOwn` which iterates over `object`
|
|
3714
3203
|
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
|
@@ -3720,12 +3209,9 @@ var createBaseFor = _createBaseFor;
|
|
|
3720
3209
|
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
3721
3210
|
* @returns {Object} Returns `object`.
|
|
3722
3211
|
*/
|
|
3723
|
-
var baseFor
|
|
3212
|
+
var baseFor = createBaseFor();
|
|
3724
3213
|
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
var baseFor = _baseFor,
|
|
3728
|
-
keys = keys_1;
|
|
3214
|
+
const baseFor$1 = baseFor;
|
|
3729
3215
|
|
|
3730
3216
|
/**
|
|
3731
3217
|
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
|
@@ -3735,14 +3221,10 @@ var baseFor = _baseFor,
|
|
|
3735
3221
|
* @param {Function} iteratee The function invoked per iteration.
|
|
3736
3222
|
* @returns {Object} Returns `object`.
|
|
3737
3223
|
*/
|
|
3738
|
-
function baseForOwn
|
|
3739
|
-
return object && baseFor(object, iteratee, keys);
|
|
3224
|
+
function baseForOwn(object, iteratee) {
|
|
3225
|
+
return object && baseFor$1(object, iteratee, keys);
|
|
3740
3226
|
}
|
|
3741
3227
|
|
|
3742
|
-
var _baseForOwn = baseForOwn$1;
|
|
3743
|
-
|
|
3744
|
-
var isArrayLike = isArrayLike_1;
|
|
3745
|
-
|
|
3746
3228
|
/**
|
|
3747
3229
|
* Creates a `baseEach` or `baseEachRight` function.
|
|
3748
3230
|
*
|
|
@@ -3751,7 +3233,7 @@ var isArrayLike = isArrayLike_1;
|
|
|
3751
3233
|
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
3752
3234
|
* @returns {Function} Returns the new base function.
|
|
3753
3235
|
*/
|
|
3754
|
-
function createBaseEach
|
|
3236
|
+
function createBaseEach(eachFunc, fromRight) {
|
|
3755
3237
|
return function(collection, iteratee) {
|
|
3756
3238
|
if (collection == null) {
|
|
3757
3239
|
return collection;
|
|
@@ -3772,11 +3254,6 @@ function createBaseEach$1(eachFunc, fromRight) {
|
|
|
3772
3254
|
};
|
|
3773
3255
|
}
|
|
3774
3256
|
|
|
3775
|
-
var _createBaseEach = createBaseEach$1;
|
|
3776
|
-
|
|
3777
|
-
var baseForOwn = _baseForOwn,
|
|
3778
|
-
createBaseEach = _createBaseEach;
|
|
3779
|
-
|
|
3780
3257
|
/**
|
|
3781
3258
|
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
|
3782
3259
|
*
|
|
@@ -3785,9 +3262,9 @@ var baseForOwn = _baseForOwn,
|
|
|
3785
3262
|
* @param {Function} iteratee The function invoked per iteration.
|
|
3786
3263
|
* @returns {Array|Object} Returns `collection`.
|
|
3787
3264
|
*/
|
|
3788
|
-
var baseEach
|
|
3265
|
+
var baseEach = createBaseEach(baseForOwn);
|
|
3789
3266
|
|
|
3790
|
-
|
|
3267
|
+
const baseEach$1 = baseEach;
|
|
3791
3268
|
|
|
3792
3269
|
/**
|
|
3793
3270
|
* The base implementation of `_.reduce` and `_.reduceRight`, without support
|
|
@@ -3802,8 +3279,7 @@ var _baseEach = baseEach$2;
|
|
|
3802
3279
|
* @param {Function} eachFunc The function to iterate over `collection`.
|
|
3803
3280
|
* @returns {*} Returns the accumulated value.
|
|
3804
3281
|
*/
|
|
3805
|
-
|
|
3806
|
-
function baseReduce$1(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
3282
|
+
function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
3807
3283
|
eachFunc(collection, function(value, index, collection) {
|
|
3808
3284
|
accumulator = initAccum
|
|
3809
3285
|
? (initAccum = false, value)
|
|
@@ -3812,14 +3288,6 @@ function baseReduce$1(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
|
3812
3288
|
return accumulator;
|
|
3813
3289
|
}
|
|
3814
3290
|
|
|
3815
|
-
var _baseReduce = baseReduce$1;
|
|
3816
|
-
|
|
3817
|
-
var arrayReduce = _arrayReduce,
|
|
3818
|
-
baseEach$1 = _baseEach,
|
|
3819
|
-
baseIteratee = _baseIteratee,
|
|
3820
|
-
baseReduce = _baseReduce,
|
|
3821
|
-
isArray$1 = isArray_1;
|
|
3822
|
-
|
|
3823
3291
|
/**
|
|
3824
3292
|
* Reduces `collection` to a value which is the accumulated result of running
|
|
3825
3293
|
* each element in `collection` thru `iteratee`, where each successive
|
|
@@ -3864,8 +3332,6 @@ function reduce(collection, iteratee, accumulator) {
|
|
|
3864
3332
|
return func(collection, baseIteratee(iteratee), accumulator, initAccum, baseEach$1);
|
|
3865
3333
|
}
|
|
3866
3334
|
|
|
3867
|
-
var reduce_1 = reduce;
|
|
3868
|
-
|
|
3869
3335
|
/**
|
|
3870
3336
|
* A specialized version of `_.forEach` for arrays without support for
|
|
3871
3337
|
* iteratee shorthands.
|
|
@@ -3875,8 +3341,7 @@ var reduce_1 = reduce;
|
|
|
3875
3341
|
* @param {Function} iteratee The function invoked per iteration.
|
|
3876
3342
|
* @returns {Array} Returns `array`.
|
|
3877
3343
|
*/
|
|
3878
|
-
|
|
3879
|
-
function arrayEach$1(array, iteratee) {
|
|
3344
|
+
function arrayEach(array, iteratee) {
|
|
3880
3345
|
var index = -1,
|
|
3881
3346
|
length = array == null ? 0 : array.length;
|
|
3882
3347
|
|
|
@@ -3888,10 +3353,6 @@ function arrayEach$1(array, iteratee) {
|
|
|
3888
3353
|
return array;
|
|
3889
3354
|
}
|
|
3890
3355
|
|
|
3891
|
-
var _arrayEach = arrayEach$1;
|
|
3892
|
-
|
|
3893
|
-
var identity$1 = identity_1;
|
|
3894
|
-
|
|
3895
3356
|
/**
|
|
3896
3357
|
* Casts `value` to `identity` if it's not a function.
|
|
3897
3358
|
*
|
|
@@ -3899,17 +3360,10 @@ var identity$1 = identity_1;
|
|
|
3899
3360
|
* @param {*} value The value to inspect.
|
|
3900
3361
|
* @returns {Function} Returns cast function.
|
|
3901
3362
|
*/
|
|
3902
|
-
function castFunction
|
|
3903
|
-
return typeof value == 'function' ? value : identity
|
|
3363
|
+
function castFunction(value) {
|
|
3364
|
+
return typeof value == 'function' ? value : identity;
|
|
3904
3365
|
}
|
|
3905
3366
|
|
|
3906
|
-
var _castFunction = castFunction$1;
|
|
3907
|
-
|
|
3908
|
-
var arrayEach = _arrayEach,
|
|
3909
|
-
baseEach = _baseEach,
|
|
3910
|
-
castFunction = _castFunction,
|
|
3911
|
-
isArray = isArray_1;
|
|
3912
|
-
|
|
3913
3367
|
/**
|
|
3914
3368
|
* Iterates over elements of `collection` and invokes `iteratee` for each element.
|
|
3915
3369
|
* The iteratee is invoked with three arguments: (value, index|key, collection).
|
|
@@ -3941,16 +3395,10 @@ var arrayEach = _arrayEach,
|
|
|
3941
3395
|
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
|
3942
3396
|
*/
|
|
3943
3397
|
function forEach(collection, iteratee) {
|
|
3944
|
-
var func = isArray(collection) ? arrayEach : baseEach;
|
|
3398
|
+
var func = isArray$1(collection) ? arrayEach : baseEach$1;
|
|
3945
3399
|
return func(collection, castFunction(iteratee));
|
|
3946
3400
|
}
|
|
3947
3401
|
|
|
3948
|
-
var forEach_1 = forEach;
|
|
3949
|
-
|
|
3950
|
-
var each = forEach_1;
|
|
3951
|
-
|
|
3952
|
-
var isSymbol$1 = debounce$1.isSymbol_1;
|
|
3953
|
-
|
|
3954
3402
|
/** Used as references for the maximum length and index of an array. */
|
|
3955
3403
|
var MAX_ARRAY_LENGTH$1 = 4294967295,
|
|
3956
3404
|
MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH$1 - 1;
|
|
@@ -3972,7 +3420,7 @@ var nativeFloor = Math.floor,
|
|
|
3972
3420
|
* @returns {number} Returns the index at which `value` should be inserted
|
|
3973
3421
|
* into `array`.
|
|
3974
3422
|
*/
|
|
3975
|
-
function baseSortedIndexBy
|
|
3423
|
+
function baseSortedIndexBy(array, value, iteratee, retHighest) {
|
|
3976
3424
|
var low = 0,
|
|
3977
3425
|
high = array == null ? 0 : array.length;
|
|
3978
3426
|
if (high === 0) {
|
|
@@ -3982,7 +3430,7 @@ function baseSortedIndexBy$1(array, value, iteratee, retHighest) {
|
|
|
3982
3430
|
value = iteratee(value);
|
|
3983
3431
|
var valIsNaN = value !== value,
|
|
3984
3432
|
valIsNull = value === null,
|
|
3985
|
-
valIsSymbol =
|
|
3433
|
+
valIsSymbol = debounce$1.isSymbol(value),
|
|
3986
3434
|
valIsUndefined = value === undefined;
|
|
3987
3435
|
|
|
3988
3436
|
while (low < high) {
|
|
@@ -3991,7 +3439,7 @@ function baseSortedIndexBy$1(array, value, iteratee, retHighest) {
|
|
|
3991
3439
|
othIsDefined = computed !== undefined,
|
|
3992
3440
|
othIsNull = computed === null,
|
|
3993
3441
|
othIsReflexive = computed === computed,
|
|
3994
|
-
othIsSymbol =
|
|
3442
|
+
othIsSymbol = debounce$1.isSymbol(computed);
|
|
3995
3443
|
|
|
3996
3444
|
if (valIsNaN) {
|
|
3997
3445
|
var setLow = retHighest || othIsReflexive;
|
|
@@ -4015,12 +3463,6 @@ function baseSortedIndexBy$1(array, value, iteratee, retHighest) {
|
|
|
4015
3463
|
return nativeMin(high, MAX_ARRAY_INDEX);
|
|
4016
3464
|
}
|
|
4017
3465
|
|
|
4018
|
-
var _baseSortedIndexBy = baseSortedIndexBy$1;
|
|
4019
|
-
|
|
4020
|
-
var baseSortedIndexBy = _baseSortedIndexBy,
|
|
4021
|
-
identity = identity_1,
|
|
4022
|
-
isSymbol = debounce$1.isSymbol_1;
|
|
4023
|
-
|
|
4024
3466
|
/** Used as references for the maximum length and index of an array. */
|
|
4025
3467
|
var MAX_ARRAY_LENGTH = 4294967295,
|
|
4026
3468
|
HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
|
|
@@ -4037,7 +3479,7 @@ var MAX_ARRAY_LENGTH = 4294967295,
|
|
|
4037
3479
|
* @returns {number} Returns the index at which `value` should be inserted
|
|
4038
3480
|
* into `array`.
|
|
4039
3481
|
*/
|
|
4040
|
-
function baseSortedIndex
|
|
3482
|
+
function baseSortedIndex(array, value, retHighest) {
|
|
4041
3483
|
var low = 0,
|
|
4042
3484
|
high = array == null ? low : array.length;
|
|
4043
3485
|
|
|
@@ -4046,7 +3488,7 @@ function baseSortedIndex$1(array, value, retHighest) {
|
|
|
4046
3488
|
var mid = (low + high) >>> 1,
|
|
4047
3489
|
computed = array[mid];
|
|
4048
3490
|
|
|
4049
|
-
if (computed !== null && !isSymbol(computed) &&
|
|
3491
|
+
if (computed !== null && !debounce$1.isSymbol(computed) &&
|
|
4050
3492
|
(retHighest ? (computed <= value) : (computed < value))) {
|
|
4051
3493
|
low = mid + 1;
|
|
4052
3494
|
} else {
|
|
@@ -4058,10 +3500,6 @@ function baseSortedIndex$1(array, value, retHighest) {
|
|
|
4058
3500
|
return baseSortedIndexBy(array, value, identity, retHighest);
|
|
4059
3501
|
}
|
|
4060
3502
|
|
|
4061
|
-
var _baseSortedIndex = baseSortedIndex$1;
|
|
4062
|
-
|
|
4063
|
-
var baseSortedIndex = _baseSortedIndex;
|
|
4064
|
-
|
|
4065
3503
|
/**
|
|
4066
3504
|
* Uses a binary search to determine the lowest index at which `value`
|
|
4067
3505
|
* should be inserted into `array` in order to maintain its sort order.
|
|
@@ -4083,8 +3521,6 @@ function sortedIndex(array, value) {
|
|
|
4083
3521
|
return baseSortedIndex(array, value);
|
|
4084
3522
|
}
|
|
4085
3523
|
|
|
4086
|
-
var sortedIndex_1 = sortedIndex;
|
|
4087
|
-
|
|
4088
3524
|
/**
|
|
4089
3525
|
* Pre-calculation
|
|
4090
3526
|
* Dimension custom sizes for each cell
|
|
@@ -4098,12 +3534,12 @@ function calculateDimensionData(originItemSize, newSizes = {}) {
|
|
|
4098
3534
|
const sizes = Object.assign({}, newSizes);
|
|
4099
3535
|
// prepare order sorted new sizes and calculate changed real size
|
|
4100
3536
|
let newIndexes = [];
|
|
4101
|
-
|
|
3537
|
+
forEach(newSizes, (_, i) => {
|
|
4102
3538
|
const index = parseInt(i, 10);
|
|
4103
|
-
newIndexes[
|
|
3539
|
+
newIndexes[sortedIndex(newIndexes, index)] = index;
|
|
4104
3540
|
});
|
|
4105
3541
|
// fill new coordinates based on what is changed
|
|
4106
|
-
|
|
3542
|
+
reduce(newIndexes, (previous, itemIndex, i) => {
|
|
4107
3543
|
const newItem = {
|
|
4108
3544
|
itemIndex,
|
|
4109
3545
|
start: 0,
|
|
@@ -4139,7 +3575,7 @@ const getItemByPosition = ({ indexes, positionIndexes, originItemSize, positionI
|
|
|
4139
3575
|
start: 0,
|
|
4140
3576
|
end: 0,
|
|
4141
3577
|
};
|
|
4142
|
-
const currentPlace = indexes.length ?
|
|
3578
|
+
const currentPlace = indexes.length ? sortedIndex(positionIndexes, pos) : 0;
|
|
4143
3579
|
// not found or first index
|
|
4144
3580
|
if (!currentPlace) {
|
|
4145
3581
|
item.itemIndex = Math.floor(pos / originItemSize);
|
|
@@ -4171,7 +3607,7 @@ function getItemByIndex(dimension, index) {
|
|
|
4171
3607
|
return dimension.indexToItem[index];
|
|
4172
3608
|
}
|
|
4173
3609
|
const currentPlace = dimension.indexes.length
|
|
4174
|
-
?
|
|
3610
|
+
? sortedIndex(dimension.indexes, index)
|
|
4175
3611
|
: 0;
|
|
4176
3612
|
// not found or first index
|
|
4177
3613
|
if (!currentPlace) {
|
|
@@ -4440,42 +3876,42 @@ exports.ROW_FOCUSED_CLASS = ROW_FOCUSED_CLASS;
|
|
|
4440
3876
|
exports.ROW_HEADER_TYPE = ROW_HEADER_TYPE;
|
|
4441
3877
|
exports.SELECTION_BORDER_CLASS = SELECTION_BORDER_CLASS;
|
|
4442
3878
|
exports.TMP_SELECTION_BG_CLASS = TMP_SELECTION_BG_CLASS;
|
|
4443
|
-
exports._baseEach = _baseEach;
|
|
4444
|
-
exports._baseIteratee = _baseIteratee;
|
|
4445
|
-
exports._baseKeys = _baseKeys;
|
|
4446
|
-
exports._baseProperty = _baseProperty;
|
|
4447
|
-
exports._getNative = _getNative;
|
|
4448
|
-
exports._getTag = _getTag;
|
|
4449
|
-
exports._isIterateeCall = _isIterateeCall;
|
|
4450
3879
|
exports.applyMixins = applyMixins;
|
|
3880
|
+
exports.baseEach = baseEach$1;
|
|
3881
|
+
exports.baseIteratee = baseIteratee;
|
|
3882
|
+
exports.baseKeys = baseKeys;
|
|
3883
|
+
exports.baseProperty = baseProperty;
|
|
4451
3884
|
exports.calculateDimensionData = calculateDimensionData;
|
|
4452
3885
|
exports.createStore = createStore;
|
|
4453
|
-
exports.
|
|
4454
|
-
exports.findIndex_1 = findIndex_1;
|
|
3886
|
+
exports.findIndex = findIndex;
|
|
4455
3887
|
exports.findPositionInArray = findPositionInArray;
|
|
3888
|
+
exports.forEach = forEach;
|
|
4456
3889
|
exports.gatherTrimmedItems = gatherTrimmedItems;
|
|
4457
3890
|
exports.getItemByIndex = getItemByIndex;
|
|
4458
3891
|
exports.getItemByPosition = getItemByPosition;
|
|
3892
|
+
exports.getNative = getNative;
|
|
4459
3893
|
exports.getPhysical = getPhysical;
|
|
4460
3894
|
exports.getScrollbarSize = getScrollbarSize;
|
|
4461
3895
|
exports.getSourceItem = getSourceItem;
|
|
4462
3896
|
exports.getSourceItemVirtualIndexByProp = getSourceItemVirtualIndexByProp;
|
|
3897
|
+
exports.getTag = getTag$1;
|
|
4463
3898
|
exports.getVisibleSourceItem = getVisibleSourceItem;
|
|
4464
|
-
exports.
|
|
4465
|
-
exports.
|
|
3899
|
+
exports.isArray = isArray$1;
|
|
3900
|
+
exports.isArrayLike = isArrayLike;
|
|
3901
|
+
exports.isIterateeCall = isIterateeCall;
|
|
4466
3902
|
exports.mergeSortedArray = mergeSortedArray;
|
|
4467
3903
|
exports.proxyPlugin = proxyPlugin;
|
|
4468
3904
|
exports.pushSorted = pushSorted;
|
|
4469
3905
|
exports.range = range;
|
|
4470
|
-
exports.
|
|
4471
|
-
exports.
|
|
3906
|
+
exports.range$1 = range$2;
|
|
3907
|
+
exports.reduce = reduce;
|
|
4472
3908
|
exports.scaleValue = scaleValue;
|
|
4473
3909
|
exports.setItems = setItems;
|
|
4474
3910
|
exports.setSourceByPhysicalIndex = setSourceByPhysicalIndex;
|
|
4475
3911
|
exports.setSourceByVirtualIndex = setSourceByVirtualIndex;
|
|
4476
3912
|
exports.setStore = setStore;
|
|
4477
3913
|
exports.timeout = timeout;
|
|
4478
|
-
exports.
|
|
3914
|
+
exports.toInteger = toInteger;
|
|
4479
3915
|
exports.trimmedPlugin = trimmedPlugin;
|
|
4480
3916
|
|
|
4481
|
-
//# sourceMappingURL=index-
|
|
3917
|
+
//# sourceMappingURL=index-a9ee8eef.js.map
|