@daoyi/nmtl-ui 2.0.1-beta.47 → 2.0.1-beta.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/lib/components/{Autocomplete-5439ff22.js → Autocomplete-aa4a8d6c.js} +4 -2
  2. package/lib/components/Autocomplete.js +7 -6
  3. package/lib/components/Avatar.js +2 -4
  4. package/lib/components/BackTop.js +28 -1
  5. package/lib/components/BarChart.js +634 -4
  6. package/lib/components/Breadcrumbs.js +2 -4
  7. package/lib/components/{Button-63c7e9f3.js → Button-2f8f0493.js} +2 -1
  8. package/lib/components/Button.js +3 -5
  9. package/lib/components/Carousel.js +4659 -7
  10. package/lib/components/CollapseContent.js +3 -5
  11. package/lib/components/ContactModal-a44e2a42.js +10759 -0
  12. package/lib/components/ContactModal.js +14 -9
  13. package/lib/components/{Drawer-af3ed21a.js → Drawer-dd8942f1.js} +2 -2
  14. package/lib/components/Drawer.js +5 -7
  15. package/lib/components/Dropdown.js +2 -3
  16. package/lib/components/{Empty-70f040a9.js → Empty-3637b766.js} +2 -1
  17. package/lib/components/Empty.js +3 -5
  18. package/lib/components/ExportButton.js +3 -5
  19. package/lib/components/ExtraTools-55dad795.js +3479 -0
  20. package/lib/components/ExtraTools.js +6 -7
  21. package/lib/components/Filter.js +691 -5
  22. package/lib/components/Footer.js +14 -9
  23. package/lib/components/ForwardLink-4759cf99.js +105 -0
  24. package/lib/components/ForwardLink.js +9 -106
  25. package/lib/components/Header.js +10 -9
  26. package/lib/components/Image.js +7 -4
  27. package/lib/components/Input.js +2 -4
  28. package/lib/components/InputMethod.js +10861 -4
  29. package/lib/components/{KeywordSearch-224f84c1.js → KeywordSearch-2d01266e.js} +3 -2
  30. package/lib/components/KeywordSearch.js +8 -7
  31. package/lib/components/KeywordTicker.js +24 -16
  32. package/lib/components/Keywords.js +30 -5
  33. package/lib/components/Loading.js +2 -4
  34. package/lib/components/MUITheme.js +2375 -3
  35. package/lib/components/{Modal-a7591b98.js → Modal-572e17ea.js} +4 -3
  36. package/lib/components/Modal.js +5 -7
  37. package/lib/components/{MoreButton-f15ca38e.js → MoreButton-80996b5f.js} +2 -1
  38. package/lib/components/MoreButton.js +3 -5
  39. package/lib/components/Radio.js +1 -4
  40. package/lib/components/SNA.js +1416 -5
  41. package/lib/components/{Select-98a8e973.js → Select-5533b506.js} +3 -2
  42. package/lib/components/Select.js +4 -6
  43. package/lib/components/{Spin-690a3597.js → Spin-ebf79c17.js} +2 -1
  44. package/lib/components/Spin.js +3 -5
  45. package/lib/components/{Tooltip-b7eb966d.js → Tooltip-907eaa2e.js} +2 -1
  46. package/lib/components/Tooltip.js +3 -5
  47. package/lib/components/_commonjsHelpers-70de2c37.js +28 -0
  48. package/lib/components/createSvgIcon-48da8b6e.js +576 -0
  49. package/lib/components/dataExport-d55d6fa3.js +92 -0
  50. package/lib/components/debounce-127da66c.js +355 -0
  51. package/lib/components/defaultTheme-19a14721.js +1485 -0
  52. package/lib/components/hoist-non-react-statics.cjs-3f408ad2.js +105 -0
  53. package/lib/components/index-7b60a97d.js +481 -0
  54. package/lib/components/index-f491ebce.js +61 -0
  55. package/lib/components/isObjectLike-e111475d.js +190 -0
  56. package/lib/components/style-inject.es-1f59c1d0.js +28 -0
  57. package/lib/components/transform-3a04288b.js +5475 -0
  58. package/lib/utils/domToImage.js +771 -1
  59. package/lib/utils/exportXlsx.js +36 -1
  60. package/lib/utils/historyAppendSearch.js +480 -1
  61. package/package.json +1 -1
  62. package/lib/components/ContactModal-a59bc808.js +0 -924
  63. package/lib/components/ExtraTools-f10a66a8.js +0 -818
  64. package/lib/components/dataExport-f418e6fe.js +0 -56
  65. package/lib/components/vendor-851c6356.js +0 -41940
  66. package/lib/utils/vendor-3ec75cc9.js +0 -1289
@@ -1,10 +1,2382 @@
1
1
  import React__default from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { s as styleInject, Q as createTheme, R as merge_1 } from './vendor-851c6356.js';
3
+ import { a as _baseGetTag, b as isObject_1, _ as _root, i as isObjectLike_1, c as _freeGlobal } from './isObjectLike-e111475d.js';
4
4
  import { CssBaseline } from '@material-ui/core';
5
+ import { d as defaultTheme, c as createTheme } from './defaultTheme-19a14721.js';
5
6
  import 'react-is';
6
- import { ThemeProvider } from '@material-ui/styles';
7
- import 'react-dom';
7
+ import { withThemeCreator, ThemeProvider } from '@material-ui/styles';
8
+ import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
+ import './_commonjsHelpers-70de2c37.js';
10
+
11
+ /**
12
+ * Removes all key-value entries from the list cache.
13
+ *
14
+ * @private
15
+ * @name clear
16
+ * @memberOf ListCache
17
+ */
18
+
19
+ function listCacheClear$1() {
20
+ this.__data__ = [];
21
+ this.size = 0;
22
+ }
23
+
24
+ var _listCacheClear = listCacheClear$1;
25
+
26
+ /**
27
+ * Performs a
28
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
29
+ * comparison between two values to determine if they are equivalent.
30
+ *
31
+ * @static
32
+ * @memberOf _
33
+ * @since 4.0.0
34
+ * @category Lang
35
+ * @param {*} value The value to compare.
36
+ * @param {*} other The other value to compare.
37
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
38
+ * @example
39
+ *
40
+ * var object = { 'a': 1 };
41
+ * var other = { 'a': 1 };
42
+ *
43
+ * _.eq(object, object);
44
+ * // => true
45
+ *
46
+ * _.eq(object, other);
47
+ * // => false
48
+ *
49
+ * _.eq('a', 'a');
50
+ * // => true
51
+ *
52
+ * _.eq('a', Object('a'));
53
+ * // => false
54
+ *
55
+ * _.eq(NaN, NaN);
56
+ * // => true
57
+ */
58
+
59
+ function eq$4(value, other) {
60
+ return value === other || (value !== value && other !== other);
61
+ }
62
+
63
+ var eq_1 = eq$4;
64
+
65
+ var eq$3 = eq_1;
66
+
67
+ /**
68
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
69
+ *
70
+ * @private
71
+ * @param {Array} array The array to inspect.
72
+ * @param {*} key The key to search for.
73
+ * @returns {number} Returns the index of the matched value, else `-1`.
74
+ */
75
+ function assocIndexOf$4(array, key) {
76
+ var length = array.length;
77
+ while (length--) {
78
+ if (eq$3(array[length][0], key)) {
79
+ return length;
80
+ }
81
+ }
82
+ return -1;
83
+ }
84
+
85
+ var _assocIndexOf = assocIndexOf$4;
86
+
87
+ var assocIndexOf$3 = _assocIndexOf;
88
+
89
+ /** Used for built-in method references. */
90
+ var arrayProto = Array.prototype;
91
+
92
+ /** Built-in value references. */
93
+ var splice = arrayProto.splice;
94
+
95
+ /**
96
+ * Removes `key` and its value from the list cache.
97
+ *
98
+ * @private
99
+ * @name delete
100
+ * @memberOf ListCache
101
+ * @param {string} key The key of the value to remove.
102
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
103
+ */
104
+ function listCacheDelete$1(key) {
105
+ var data = this.__data__,
106
+ index = assocIndexOf$3(data, key);
107
+
108
+ if (index < 0) {
109
+ return false;
110
+ }
111
+ var lastIndex = data.length - 1;
112
+ if (index == lastIndex) {
113
+ data.pop();
114
+ } else {
115
+ splice.call(data, index, 1);
116
+ }
117
+ --this.size;
118
+ return true;
119
+ }
120
+
121
+ var _listCacheDelete = listCacheDelete$1;
122
+
123
+ var assocIndexOf$2 = _assocIndexOf;
124
+
125
+ /**
126
+ * Gets the list cache value for `key`.
127
+ *
128
+ * @private
129
+ * @name get
130
+ * @memberOf ListCache
131
+ * @param {string} key The key of the value to get.
132
+ * @returns {*} Returns the entry value.
133
+ */
134
+ function listCacheGet$1(key) {
135
+ var data = this.__data__,
136
+ index = assocIndexOf$2(data, key);
137
+
138
+ return index < 0 ? undefined : data[index][1];
139
+ }
140
+
141
+ var _listCacheGet = listCacheGet$1;
142
+
143
+ var assocIndexOf$1 = _assocIndexOf;
144
+
145
+ /**
146
+ * Checks if a list cache value for `key` exists.
147
+ *
148
+ * @private
149
+ * @name has
150
+ * @memberOf ListCache
151
+ * @param {string} key The key of the entry to check.
152
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
153
+ */
154
+ function listCacheHas$1(key) {
155
+ return assocIndexOf$1(this.__data__, key) > -1;
156
+ }
157
+
158
+ var _listCacheHas = listCacheHas$1;
159
+
160
+ var assocIndexOf = _assocIndexOf;
161
+
162
+ /**
163
+ * Sets the list cache `key` to `value`.
164
+ *
165
+ * @private
166
+ * @name set
167
+ * @memberOf ListCache
168
+ * @param {string} key The key of the value to set.
169
+ * @param {*} value The value to set.
170
+ * @returns {Object} Returns the list cache instance.
171
+ */
172
+ function listCacheSet$1(key, value) {
173
+ var data = this.__data__,
174
+ index = assocIndexOf(data, key);
175
+
176
+ if (index < 0) {
177
+ ++this.size;
178
+ data.push([key, value]);
179
+ } else {
180
+ data[index][1] = value;
181
+ }
182
+ return this;
183
+ }
184
+
185
+ var _listCacheSet = listCacheSet$1;
186
+
187
+ var listCacheClear = _listCacheClear,
188
+ listCacheDelete = _listCacheDelete,
189
+ listCacheGet = _listCacheGet,
190
+ listCacheHas = _listCacheHas,
191
+ listCacheSet = _listCacheSet;
192
+
193
+ /**
194
+ * Creates an list cache object.
195
+ *
196
+ * @private
197
+ * @constructor
198
+ * @param {Array} [entries] The key-value pairs to cache.
199
+ */
200
+ function ListCache$4(entries) {
201
+ var index = -1,
202
+ length = entries == null ? 0 : entries.length;
203
+
204
+ this.clear();
205
+ while (++index < length) {
206
+ var entry = entries[index];
207
+ this.set(entry[0], entry[1]);
208
+ }
209
+ }
210
+
211
+ // Add methods to `ListCache`.
212
+ ListCache$4.prototype.clear = listCacheClear;
213
+ ListCache$4.prototype['delete'] = listCacheDelete;
214
+ ListCache$4.prototype.get = listCacheGet;
215
+ ListCache$4.prototype.has = listCacheHas;
216
+ ListCache$4.prototype.set = listCacheSet;
217
+
218
+ var _ListCache = ListCache$4;
219
+
220
+ var ListCache$3 = _ListCache;
221
+
222
+ /**
223
+ * Removes all key-value entries from the stack.
224
+ *
225
+ * @private
226
+ * @name clear
227
+ * @memberOf Stack
228
+ */
229
+ function stackClear$1() {
230
+ this.__data__ = new ListCache$3;
231
+ this.size = 0;
232
+ }
233
+
234
+ var _stackClear = stackClear$1;
235
+
236
+ /**
237
+ * Removes `key` and its value from the stack.
238
+ *
239
+ * @private
240
+ * @name delete
241
+ * @memberOf Stack
242
+ * @param {string} key The key of the value to remove.
243
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
244
+ */
245
+
246
+ function stackDelete$1(key) {
247
+ var data = this.__data__,
248
+ result = data['delete'](key);
249
+
250
+ this.size = data.size;
251
+ return result;
252
+ }
253
+
254
+ var _stackDelete = stackDelete$1;
255
+
256
+ /**
257
+ * Gets the stack value for `key`.
258
+ *
259
+ * @private
260
+ * @name get
261
+ * @memberOf Stack
262
+ * @param {string} key The key of the value to get.
263
+ * @returns {*} Returns the entry value.
264
+ */
265
+
266
+ function stackGet$1(key) {
267
+ return this.__data__.get(key);
268
+ }
269
+
270
+ var _stackGet = stackGet$1;
271
+
272
+ /**
273
+ * Checks if a stack value for `key` exists.
274
+ *
275
+ * @private
276
+ * @name has
277
+ * @memberOf Stack
278
+ * @param {string} key The key of the entry to check.
279
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
280
+ */
281
+
282
+ function stackHas$1(key) {
283
+ return this.__data__.has(key);
284
+ }
285
+
286
+ var _stackHas = stackHas$1;
287
+
288
+ var baseGetTag$3 = _baseGetTag,
289
+ isObject$6 = isObject_1;
290
+
291
+ /** `Object#toString` result references. */
292
+ var asyncTag = '[object AsyncFunction]',
293
+ funcTag$1 = '[object Function]',
294
+ genTag = '[object GeneratorFunction]',
295
+ proxyTag = '[object Proxy]';
296
+
297
+ /**
298
+ * Checks if `value` is classified as a `Function` object.
299
+ *
300
+ * @static
301
+ * @memberOf _
302
+ * @since 0.1.0
303
+ * @category Lang
304
+ * @param {*} value The value to check.
305
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
306
+ * @example
307
+ *
308
+ * _.isFunction(_);
309
+ * // => true
310
+ *
311
+ * _.isFunction(/abc/);
312
+ * // => false
313
+ */
314
+ function isFunction$3(value) {
315
+ if (!isObject$6(value)) {
316
+ return false;
317
+ }
318
+ // The use of `Object#toString` avoids issues with the `typeof` operator
319
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
320
+ var tag = baseGetTag$3(value);
321
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
322
+ }
323
+
324
+ var isFunction_1 = isFunction$3;
325
+
326
+ var root$2 = _root;
327
+
328
+ /** Used to detect overreaching core-js shims. */
329
+ var coreJsData$1 = root$2['__core-js_shared__'];
330
+
331
+ var _coreJsData = coreJsData$1;
332
+
333
+ var coreJsData = _coreJsData;
334
+
335
+ /** Used to detect methods masquerading as native. */
336
+ var maskSrcKey = (function() {
337
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
338
+ return uid ? ('Symbol(src)_1.' + uid) : '';
339
+ }());
340
+
341
+ /**
342
+ * Checks if `func` has its source masked.
343
+ *
344
+ * @private
345
+ * @param {Function} func The function to check.
346
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
347
+ */
348
+ function isMasked$1(func) {
349
+ return !!maskSrcKey && (maskSrcKey in func);
350
+ }
351
+
352
+ var _isMasked = isMasked$1;
353
+
354
+ /** Used for built-in method references. */
355
+
356
+ var funcProto$2 = Function.prototype;
357
+
358
+ /** Used to resolve the decompiled source of functions. */
359
+ var funcToString$2 = funcProto$2.toString;
360
+
361
+ /**
362
+ * Converts `func` to its source code.
363
+ *
364
+ * @private
365
+ * @param {Function} func The function to convert.
366
+ * @returns {string} Returns the source code.
367
+ */
368
+ function toSource$1(func) {
369
+ if (func != null) {
370
+ try {
371
+ return funcToString$2.call(func);
372
+ } catch (e) {}
373
+ try {
374
+ return (func + '');
375
+ } catch (e) {}
376
+ }
377
+ return '';
378
+ }
379
+
380
+ var _toSource = toSource$1;
381
+
382
+ var isFunction$2 = isFunction_1,
383
+ isMasked = _isMasked,
384
+ isObject$5 = isObject_1,
385
+ toSource = _toSource;
386
+
387
+ /**
388
+ * Used to match `RegExp`
389
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
390
+ */
391
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
392
+
393
+ /** Used to detect host constructors (Safari). */
394
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
395
+
396
+ /** Used for built-in method references. */
397
+ var funcProto$1 = Function.prototype,
398
+ objectProto$8 = Object.prototype;
399
+
400
+ /** Used to resolve the decompiled source of functions. */
401
+ var funcToString$1 = funcProto$1.toString;
402
+
403
+ /** Used to check objects for own properties. */
404
+ var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
405
+
406
+ /** Used to detect if a method is native. */
407
+ var reIsNative = RegExp('^' +
408
+ funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
409
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
410
+ );
411
+
412
+ /**
413
+ * The base implementation of `_.isNative` without bad shim checks.
414
+ *
415
+ * @private
416
+ * @param {*} value The value to check.
417
+ * @returns {boolean} Returns `true` if `value` is a native function,
418
+ * else `false`.
419
+ */
420
+ function baseIsNative$1(value) {
421
+ if (!isObject$5(value) || isMasked(value)) {
422
+ return false;
423
+ }
424
+ var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
425
+ return pattern.test(toSource(value));
426
+ }
427
+
428
+ var _baseIsNative = baseIsNative$1;
429
+
430
+ /**
431
+ * Gets the value at `key` of `object`.
432
+ *
433
+ * @private
434
+ * @param {Object} [object] The object to query.
435
+ * @param {string} key The key of the property to get.
436
+ * @returns {*} Returns the property value.
437
+ */
438
+
439
+ function getValue$1(object, key) {
440
+ return object == null ? undefined : object[key];
441
+ }
442
+
443
+ var _getValue = getValue$1;
444
+
445
+ var baseIsNative = _baseIsNative,
446
+ getValue = _getValue;
447
+
448
+ /**
449
+ * Gets the native function at `key` of `object`.
450
+ *
451
+ * @private
452
+ * @param {Object} object The object to query.
453
+ * @param {string} key The key of the method to get.
454
+ * @returns {*} Returns the function if it's native, else `undefined`.
455
+ */
456
+ function getNative$3(object, key) {
457
+ var value = getValue(object, key);
458
+ return baseIsNative(value) ? value : undefined;
459
+ }
460
+
461
+ var _getNative = getNative$3;
462
+
463
+ var getNative$2 = _getNative,
464
+ root$1 = _root;
465
+
466
+ /* Built-in method references that are verified to be native. */
467
+ var Map$2 = getNative$2(root$1, 'Map');
468
+
469
+ var _Map = Map$2;
470
+
471
+ var getNative$1 = _getNative;
472
+
473
+ /* Built-in method references that are verified to be native. */
474
+ var nativeCreate$4 = getNative$1(Object, 'create');
475
+
476
+ var _nativeCreate = nativeCreate$4;
477
+
478
+ var nativeCreate$3 = _nativeCreate;
479
+
480
+ /**
481
+ * Removes all key-value entries from the hash.
482
+ *
483
+ * @private
484
+ * @name clear
485
+ * @memberOf Hash
486
+ */
487
+ function hashClear$1() {
488
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
489
+ this.size = 0;
490
+ }
491
+
492
+ var _hashClear = hashClear$1;
493
+
494
+ /**
495
+ * Removes `key` and its value from the hash.
496
+ *
497
+ * @private
498
+ * @name delete
499
+ * @memberOf Hash
500
+ * @param {Object} hash The hash to modify.
501
+ * @param {string} key The key of the value to remove.
502
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
503
+ */
504
+
505
+ function hashDelete$1(key) {
506
+ var result = this.has(key) && delete this.__data__[key];
507
+ this.size -= result ? 1 : 0;
508
+ return result;
509
+ }
510
+
511
+ var _hashDelete = hashDelete$1;
512
+
513
+ var nativeCreate$2 = _nativeCreate;
514
+
515
+ /** Used to stand-in for `undefined` hash values. */
516
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
517
+
518
+ /** Used for built-in method references. */
519
+ var objectProto$7 = Object.prototype;
520
+
521
+ /** Used to check objects for own properties. */
522
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
523
+
524
+ /**
525
+ * Gets the hash value for `key`.
526
+ *
527
+ * @private
528
+ * @name get
529
+ * @memberOf Hash
530
+ * @param {string} key The key of the value to get.
531
+ * @returns {*} Returns the entry value.
532
+ */
533
+ function hashGet$1(key) {
534
+ var data = this.__data__;
535
+ if (nativeCreate$2) {
536
+ var result = data[key];
537
+ return result === HASH_UNDEFINED$1 ? undefined : result;
538
+ }
539
+ return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
540
+ }
541
+
542
+ var _hashGet = hashGet$1;
543
+
544
+ var nativeCreate$1 = _nativeCreate;
545
+
546
+ /** Used for built-in method references. */
547
+ var objectProto$6 = Object.prototype;
548
+
549
+ /** Used to check objects for own properties. */
550
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
551
+
552
+ /**
553
+ * Checks if a hash value for `key` exists.
554
+ *
555
+ * @private
556
+ * @name has
557
+ * @memberOf Hash
558
+ * @param {string} key The key of the entry to check.
559
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
560
+ */
561
+ function hashHas$1(key) {
562
+ var data = this.__data__;
563
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
564
+ }
565
+
566
+ var _hashHas = hashHas$1;
567
+
568
+ var nativeCreate = _nativeCreate;
569
+
570
+ /** Used to stand-in for `undefined` hash values. */
571
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
572
+
573
+ /**
574
+ * Sets the hash `key` to `value`.
575
+ *
576
+ * @private
577
+ * @name set
578
+ * @memberOf Hash
579
+ * @param {string} key The key of the value to set.
580
+ * @param {*} value The value to set.
581
+ * @returns {Object} Returns the hash instance.
582
+ */
583
+ function hashSet$1(key, value) {
584
+ var data = this.__data__;
585
+ this.size += this.has(key) ? 0 : 1;
586
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
587
+ return this;
588
+ }
589
+
590
+ var _hashSet = hashSet$1;
591
+
592
+ var hashClear = _hashClear,
593
+ hashDelete = _hashDelete,
594
+ hashGet = _hashGet,
595
+ hashHas = _hashHas,
596
+ hashSet = _hashSet;
597
+
598
+ /**
599
+ * Creates a hash object.
600
+ *
601
+ * @private
602
+ * @constructor
603
+ * @param {Array} [entries] The key-value pairs to cache.
604
+ */
605
+ function Hash$1(entries) {
606
+ var index = -1,
607
+ length = entries == null ? 0 : entries.length;
608
+
609
+ this.clear();
610
+ while (++index < length) {
611
+ var entry = entries[index];
612
+ this.set(entry[0], entry[1]);
613
+ }
614
+ }
615
+
616
+ // Add methods to `Hash`.
617
+ Hash$1.prototype.clear = hashClear;
618
+ Hash$1.prototype['delete'] = hashDelete;
619
+ Hash$1.prototype.get = hashGet;
620
+ Hash$1.prototype.has = hashHas;
621
+ Hash$1.prototype.set = hashSet;
622
+
623
+ var _Hash = Hash$1;
624
+
625
+ var Hash = _Hash,
626
+ ListCache$2 = _ListCache,
627
+ Map$1 = _Map;
628
+
629
+ /**
630
+ * Removes all key-value entries from the map.
631
+ *
632
+ * @private
633
+ * @name clear
634
+ * @memberOf MapCache
635
+ */
636
+ function mapCacheClear$1() {
637
+ this.size = 0;
638
+ this.__data__ = {
639
+ 'hash': new Hash,
640
+ 'map': new (Map$1 || ListCache$2),
641
+ 'string': new Hash
642
+ };
643
+ }
644
+
645
+ var _mapCacheClear = mapCacheClear$1;
646
+
647
+ /**
648
+ * Checks if `value` is suitable for use as unique object key.
649
+ *
650
+ * @private
651
+ * @param {*} value The value to check.
652
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
653
+ */
654
+
655
+ function isKeyable$1(value) {
656
+ var type = typeof value;
657
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
658
+ ? (value !== '__proto__')
659
+ : (value === null);
660
+ }
661
+
662
+ var _isKeyable = isKeyable$1;
663
+
664
+ var isKeyable = _isKeyable;
665
+
666
+ /**
667
+ * Gets the data for `map`.
668
+ *
669
+ * @private
670
+ * @param {Object} map The map to query.
671
+ * @param {string} key The reference key.
672
+ * @returns {*} Returns the map data.
673
+ */
674
+ function getMapData$4(map, key) {
675
+ var data = map.__data__;
676
+ return isKeyable(key)
677
+ ? data[typeof key == 'string' ? 'string' : 'hash']
678
+ : data.map;
679
+ }
680
+
681
+ var _getMapData = getMapData$4;
682
+
683
+ var getMapData$3 = _getMapData;
684
+
685
+ /**
686
+ * Removes `key` and its value from the map.
687
+ *
688
+ * @private
689
+ * @name delete
690
+ * @memberOf MapCache
691
+ * @param {string} key The key of the value to remove.
692
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
693
+ */
694
+ function mapCacheDelete$1(key) {
695
+ var result = getMapData$3(this, key)['delete'](key);
696
+ this.size -= result ? 1 : 0;
697
+ return result;
698
+ }
699
+
700
+ var _mapCacheDelete = mapCacheDelete$1;
701
+
702
+ var getMapData$2 = _getMapData;
703
+
704
+ /**
705
+ * Gets the map value for `key`.
706
+ *
707
+ * @private
708
+ * @name get
709
+ * @memberOf MapCache
710
+ * @param {string} key The key of the value to get.
711
+ * @returns {*} Returns the entry value.
712
+ */
713
+ function mapCacheGet$1(key) {
714
+ return getMapData$2(this, key).get(key);
715
+ }
716
+
717
+ var _mapCacheGet = mapCacheGet$1;
718
+
719
+ var getMapData$1 = _getMapData;
720
+
721
+ /**
722
+ * Checks if a map value for `key` exists.
723
+ *
724
+ * @private
725
+ * @name has
726
+ * @memberOf MapCache
727
+ * @param {string} key The key of the entry to check.
728
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
729
+ */
730
+ function mapCacheHas$1(key) {
731
+ return getMapData$1(this, key).has(key);
732
+ }
733
+
734
+ var _mapCacheHas = mapCacheHas$1;
735
+
736
+ var getMapData = _getMapData;
737
+
738
+ /**
739
+ * Sets the map `key` to `value`.
740
+ *
741
+ * @private
742
+ * @name set
743
+ * @memberOf MapCache
744
+ * @param {string} key The key of the value to set.
745
+ * @param {*} value The value to set.
746
+ * @returns {Object} Returns the map cache instance.
747
+ */
748
+ function mapCacheSet$1(key, value) {
749
+ var data = getMapData(this, key),
750
+ size = data.size;
751
+
752
+ data.set(key, value);
753
+ this.size += data.size == size ? 0 : 1;
754
+ return this;
755
+ }
756
+
757
+ var _mapCacheSet = mapCacheSet$1;
758
+
759
+ var mapCacheClear = _mapCacheClear,
760
+ mapCacheDelete = _mapCacheDelete,
761
+ mapCacheGet = _mapCacheGet,
762
+ mapCacheHas = _mapCacheHas,
763
+ mapCacheSet = _mapCacheSet;
764
+
765
+ /**
766
+ * Creates a map cache object to store key-value pairs.
767
+ *
768
+ * @private
769
+ * @constructor
770
+ * @param {Array} [entries] The key-value pairs to cache.
771
+ */
772
+ function MapCache$1(entries) {
773
+ var index = -1,
774
+ length = entries == null ? 0 : entries.length;
775
+
776
+ this.clear();
777
+ while (++index < length) {
778
+ var entry = entries[index];
779
+ this.set(entry[0], entry[1]);
780
+ }
781
+ }
782
+
783
+ // Add methods to `MapCache`.
784
+ MapCache$1.prototype.clear = mapCacheClear;
785
+ MapCache$1.prototype['delete'] = mapCacheDelete;
786
+ MapCache$1.prototype.get = mapCacheGet;
787
+ MapCache$1.prototype.has = mapCacheHas;
788
+ MapCache$1.prototype.set = mapCacheSet;
789
+
790
+ var _MapCache = MapCache$1;
791
+
792
+ var ListCache$1 = _ListCache,
793
+ Map = _Map,
794
+ MapCache = _MapCache;
795
+
796
+ /** Used as the size to enable large array optimizations. */
797
+ var LARGE_ARRAY_SIZE = 200;
798
+
799
+ /**
800
+ * Sets the stack `key` to `value`.
801
+ *
802
+ * @private
803
+ * @name set
804
+ * @memberOf Stack
805
+ * @param {string} key The key of the value to set.
806
+ * @param {*} value The value to set.
807
+ * @returns {Object} Returns the stack cache instance.
808
+ */
809
+ function stackSet$1(key, value) {
810
+ var data = this.__data__;
811
+ if (data instanceof ListCache$1) {
812
+ var pairs = data.__data__;
813
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
814
+ pairs.push([key, value]);
815
+ this.size = ++data.size;
816
+ return this;
817
+ }
818
+ data = this.__data__ = new MapCache(pairs);
819
+ }
820
+ data.set(key, value);
821
+ this.size = data.size;
822
+ return this;
823
+ }
824
+
825
+ var _stackSet = stackSet$1;
826
+
827
+ var ListCache = _ListCache,
828
+ stackClear = _stackClear,
829
+ stackDelete = _stackDelete,
830
+ stackGet = _stackGet,
831
+ stackHas = _stackHas,
832
+ stackSet = _stackSet;
833
+
834
+ /**
835
+ * Creates a stack cache object to store key-value pairs.
836
+ *
837
+ * @private
838
+ * @constructor
839
+ * @param {Array} [entries] The key-value pairs to cache.
840
+ */
841
+ function Stack$1(entries) {
842
+ var data = this.__data__ = new ListCache(entries);
843
+ this.size = data.size;
844
+ }
845
+
846
+ // Add methods to `Stack`.
847
+ Stack$1.prototype.clear = stackClear;
848
+ Stack$1.prototype['delete'] = stackDelete;
849
+ Stack$1.prototype.get = stackGet;
850
+ Stack$1.prototype.has = stackHas;
851
+ Stack$1.prototype.set = stackSet;
852
+
853
+ var _Stack = Stack$1;
854
+
855
+ var getNative = _getNative;
856
+
857
+ var defineProperty$2 = (function() {
858
+ try {
859
+ var func = getNative(Object, 'defineProperty');
860
+ func({}, '', {});
861
+ return func;
862
+ } catch (e) {}
863
+ }());
864
+
865
+ var _defineProperty = defineProperty$2;
866
+
867
+ var defineProperty$1 = _defineProperty;
868
+
869
+ /**
870
+ * The base implementation of `assignValue` and `assignMergeValue` without
871
+ * value checks.
872
+ *
873
+ * @private
874
+ * @param {Object} object The object to modify.
875
+ * @param {string} key The key of the property to assign.
876
+ * @param {*} value The value to assign.
877
+ */
878
+ function baseAssignValue$3(object, key, value) {
879
+ if (key == '__proto__' && defineProperty$1) {
880
+ defineProperty$1(object, key, {
881
+ 'configurable': true,
882
+ 'enumerable': true,
883
+ 'value': value,
884
+ 'writable': true
885
+ });
886
+ } else {
887
+ object[key] = value;
888
+ }
889
+ }
890
+
891
+ var _baseAssignValue = baseAssignValue$3;
892
+
893
+ var baseAssignValue$2 = _baseAssignValue,
894
+ eq$2 = eq_1;
895
+
896
+ /**
897
+ * This function is like `assignValue` except that it doesn't assign
898
+ * `undefined` values.
899
+ *
900
+ * @private
901
+ * @param {Object} object The object to modify.
902
+ * @param {string} key The key of the property to assign.
903
+ * @param {*} value The value to assign.
904
+ */
905
+ function assignMergeValue$2(object, key, value) {
906
+ if ((value !== undefined && !eq$2(object[key], value)) ||
907
+ (value === undefined && !(key in object))) {
908
+ baseAssignValue$2(object, key, value);
909
+ }
910
+ }
911
+
912
+ var _assignMergeValue = assignMergeValue$2;
913
+
914
+ /**
915
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
916
+ *
917
+ * @private
918
+ * @param {boolean} [fromRight] Specify iterating from right to left.
919
+ * @returns {Function} Returns the new base function.
920
+ */
921
+
922
+ function createBaseFor$1(fromRight) {
923
+ return function(object, iteratee, keysFunc) {
924
+ var index = -1,
925
+ iterable = Object(object),
926
+ props = keysFunc(object),
927
+ length = props.length;
928
+
929
+ while (length--) {
930
+ var key = props[fromRight ? length : ++index];
931
+ if (iteratee(iterable[key], key, iterable) === false) {
932
+ break;
933
+ }
934
+ }
935
+ return object;
936
+ };
937
+ }
938
+
939
+ var _createBaseFor = createBaseFor$1;
940
+
941
+ var createBaseFor = _createBaseFor;
942
+
943
+ /**
944
+ * The base implementation of `baseForOwn` which iterates over `object`
945
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
946
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
947
+ *
948
+ * @private
949
+ * @param {Object} object The object to iterate over.
950
+ * @param {Function} iteratee The function invoked per iteration.
951
+ * @param {Function} keysFunc The function to get the keys of `object`.
952
+ * @returns {Object} Returns `object`.
953
+ */
954
+ var baseFor$1 = createBaseFor();
955
+
956
+ var _baseFor = baseFor$1;
957
+
958
+ var _cloneBuffer = {exports: {}};
959
+
960
+ (function (module, exports) {
961
+ var root = _root;
962
+
963
+ /** Detect free variable `exports`. */
964
+ var freeExports = exports && !exports.nodeType && exports;
965
+
966
+ /** Detect free variable `module`. */
967
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
968
+
969
+ /** Detect the popular CommonJS extension `module.exports`. */
970
+ var moduleExports = freeModule && freeModule.exports === freeExports;
971
+
972
+ /** Built-in value references. */
973
+ var Buffer = moduleExports ? root.Buffer : undefined,
974
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
975
+
976
+ /**
977
+ * Creates a clone of `buffer`.
978
+ *
979
+ * @private
980
+ * @param {Buffer} buffer The buffer to clone.
981
+ * @param {boolean} [isDeep] Specify a deep clone.
982
+ * @returns {Buffer} Returns the cloned buffer.
983
+ */
984
+ function cloneBuffer(buffer, isDeep) {
985
+ if (isDeep) {
986
+ return buffer.slice();
987
+ }
988
+ var length = buffer.length,
989
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
990
+
991
+ buffer.copy(result);
992
+ return result;
993
+ }
994
+
995
+ module.exports = cloneBuffer;
996
+ } (_cloneBuffer, _cloneBuffer.exports));
997
+
998
+ var root = _root;
999
+
1000
+ /** Built-in value references. */
1001
+ var Uint8Array$1 = root.Uint8Array;
1002
+
1003
+ var _Uint8Array = Uint8Array$1;
1004
+
1005
+ var Uint8Array = _Uint8Array;
1006
+
1007
+ /**
1008
+ * Creates a clone of `arrayBuffer`.
1009
+ *
1010
+ * @private
1011
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
1012
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
1013
+ */
1014
+ function cloneArrayBuffer$1(arrayBuffer) {
1015
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1016
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
1017
+ return result;
1018
+ }
1019
+
1020
+ var _cloneArrayBuffer = cloneArrayBuffer$1;
1021
+
1022
+ var cloneArrayBuffer = _cloneArrayBuffer;
1023
+
1024
+ /**
1025
+ * Creates a clone of `typedArray`.
1026
+ *
1027
+ * @private
1028
+ * @param {Object} typedArray The typed array to clone.
1029
+ * @param {boolean} [isDeep] Specify a deep clone.
1030
+ * @returns {Object} Returns the cloned typed array.
1031
+ */
1032
+ function cloneTypedArray$1(typedArray, isDeep) {
1033
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1034
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1035
+ }
1036
+
1037
+ var _cloneTypedArray = cloneTypedArray$1;
1038
+
1039
+ /**
1040
+ * Copies the values of `source` to `array`.
1041
+ *
1042
+ * @private
1043
+ * @param {Array} source The array to copy values from.
1044
+ * @param {Array} [array=[]] The array to copy values to.
1045
+ * @returns {Array} Returns `array`.
1046
+ */
1047
+
1048
+ function copyArray$1(source, array) {
1049
+ var index = -1,
1050
+ length = source.length;
1051
+
1052
+ array || (array = Array(length));
1053
+ while (++index < length) {
1054
+ array[index] = source[index];
1055
+ }
1056
+ return array;
1057
+ }
1058
+
1059
+ var _copyArray = copyArray$1;
1060
+
1061
+ var isObject$4 = isObject_1;
1062
+
1063
+ /** Built-in value references. */
1064
+ var objectCreate = Object.create;
1065
+
1066
+ /**
1067
+ * The base implementation of `_.create` without support for assigning
1068
+ * properties to the created object.
1069
+ *
1070
+ * @private
1071
+ * @param {Object} proto The object to inherit from.
1072
+ * @returns {Object} Returns the new object.
1073
+ */
1074
+ var baseCreate$1 = (function() {
1075
+ function object() {}
1076
+ return function(proto) {
1077
+ if (!isObject$4(proto)) {
1078
+ return {};
1079
+ }
1080
+ if (objectCreate) {
1081
+ return objectCreate(proto);
1082
+ }
1083
+ object.prototype = proto;
1084
+ var result = new object;
1085
+ object.prototype = undefined;
1086
+ return result;
1087
+ };
1088
+ }());
1089
+
1090
+ var _baseCreate = baseCreate$1;
1091
+
1092
+ /**
1093
+ * Creates a unary function that invokes `func` with its argument transformed.
1094
+ *
1095
+ * @private
1096
+ * @param {Function} func The function to wrap.
1097
+ * @param {Function} transform The argument transform.
1098
+ * @returns {Function} Returns the new function.
1099
+ */
1100
+
1101
+ function overArg$1(func, transform) {
1102
+ return function(arg) {
1103
+ return func(transform(arg));
1104
+ };
1105
+ }
1106
+
1107
+ var _overArg = overArg$1;
1108
+
1109
+ var overArg = _overArg;
1110
+
1111
+ /** Built-in value references. */
1112
+ var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
1113
+
1114
+ var _getPrototype = getPrototype$2;
1115
+
1116
+ /** Used for built-in method references. */
1117
+
1118
+ var objectProto$5 = Object.prototype;
1119
+
1120
+ /**
1121
+ * Checks if `value` is likely a prototype object.
1122
+ *
1123
+ * @private
1124
+ * @param {*} value The value to check.
1125
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
1126
+ */
1127
+ function isPrototype$2(value) {
1128
+ var Ctor = value && value.constructor,
1129
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$5;
1130
+
1131
+ return value === proto;
1132
+ }
1133
+
1134
+ var _isPrototype = isPrototype$2;
1135
+
1136
+ var baseCreate = _baseCreate,
1137
+ getPrototype$1 = _getPrototype,
1138
+ isPrototype$1 = _isPrototype;
1139
+
1140
+ /**
1141
+ * Initializes an object clone.
1142
+ *
1143
+ * @private
1144
+ * @param {Object} object The object to clone.
1145
+ * @returns {Object} Returns the initialized clone.
1146
+ */
1147
+ function initCloneObject$1(object) {
1148
+ return (typeof object.constructor == 'function' && !isPrototype$1(object))
1149
+ ? baseCreate(getPrototype$1(object))
1150
+ : {};
1151
+ }
1152
+
1153
+ var _initCloneObject = initCloneObject$1;
1154
+
1155
+ var baseGetTag$2 = _baseGetTag,
1156
+ isObjectLike$4 = isObjectLike_1;
1157
+
1158
+ /** `Object#toString` result references. */
1159
+ var argsTag$1 = '[object Arguments]';
1160
+
1161
+ /**
1162
+ * The base implementation of `_.isArguments`.
1163
+ *
1164
+ * @private
1165
+ * @param {*} value The value to check.
1166
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1167
+ */
1168
+ function baseIsArguments$1(value) {
1169
+ return isObjectLike$4(value) && baseGetTag$2(value) == argsTag$1;
1170
+ }
1171
+
1172
+ var _baseIsArguments = baseIsArguments$1;
1173
+
1174
+ var baseIsArguments = _baseIsArguments,
1175
+ isObjectLike$3 = isObjectLike_1;
1176
+
1177
+ /** Used for built-in method references. */
1178
+ var objectProto$4 = Object.prototype;
1179
+
1180
+ /** Used to check objects for own properties. */
1181
+ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
1182
+
1183
+ /** Built-in value references. */
1184
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
1185
+
1186
+ /**
1187
+ * Checks if `value` is likely an `arguments` object.
1188
+ *
1189
+ * @static
1190
+ * @memberOf _
1191
+ * @since 0.1.0
1192
+ * @category Lang
1193
+ * @param {*} value The value to check.
1194
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1195
+ * else `false`.
1196
+ * @example
1197
+ *
1198
+ * _.isArguments(function() { return arguments; }());
1199
+ * // => true
1200
+ *
1201
+ * _.isArguments([1, 2, 3]);
1202
+ * // => false
1203
+ */
1204
+ var isArguments$2 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
1205
+ return isObjectLike$3(value) && hasOwnProperty$4.call(value, 'callee') &&
1206
+ !propertyIsEnumerable.call(value, 'callee');
1207
+ };
1208
+
1209
+ var isArguments_1 = isArguments$2;
1210
+
1211
+ /**
1212
+ * Checks if `value` is classified as an `Array` object.
1213
+ *
1214
+ * @static
1215
+ * @memberOf _
1216
+ * @since 0.1.0
1217
+ * @category Lang
1218
+ * @param {*} value The value to check.
1219
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1220
+ * @example
1221
+ *
1222
+ * _.isArray([1, 2, 3]);
1223
+ * // => true
1224
+ *
1225
+ * _.isArray(document.body.children);
1226
+ * // => false
1227
+ *
1228
+ * _.isArray('abc');
1229
+ * // => false
1230
+ *
1231
+ * _.isArray(_.noop);
1232
+ * // => false
1233
+ */
1234
+
1235
+ var isArray$2 = Array.isArray;
1236
+
1237
+ var isArray_1 = isArray$2;
1238
+
1239
+ /** Used as references for various `Number` constants. */
1240
+
1241
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
1242
+
1243
+ /**
1244
+ * Checks if `value` is a valid array-like length.
1245
+ *
1246
+ * **Note:** This method is loosely based on
1247
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1248
+ *
1249
+ * @static
1250
+ * @memberOf _
1251
+ * @since 4.0.0
1252
+ * @category Lang
1253
+ * @param {*} value The value to check.
1254
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1255
+ * @example
1256
+ *
1257
+ * _.isLength(3);
1258
+ * // => true
1259
+ *
1260
+ * _.isLength(Number.MIN_VALUE);
1261
+ * // => false
1262
+ *
1263
+ * _.isLength(Infinity);
1264
+ * // => false
1265
+ *
1266
+ * _.isLength('3');
1267
+ * // => false
1268
+ */
1269
+ function isLength$2(value) {
1270
+ return typeof value == 'number' &&
1271
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
1272
+ }
1273
+
1274
+ var isLength_1 = isLength$2;
1275
+
1276
+ var isFunction$1 = isFunction_1,
1277
+ isLength$1 = isLength_1;
1278
+
1279
+ /**
1280
+ * Checks if `value` is array-like. A value is considered array-like if it's
1281
+ * not a function and has a `value.length` that's an integer greater than or
1282
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1283
+ *
1284
+ * @static
1285
+ * @memberOf _
1286
+ * @since 4.0.0
1287
+ * @category Lang
1288
+ * @param {*} value The value to check.
1289
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1290
+ * @example
1291
+ *
1292
+ * _.isArrayLike([1, 2, 3]);
1293
+ * // => true
1294
+ *
1295
+ * _.isArrayLike(document.body.children);
1296
+ * // => true
1297
+ *
1298
+ * _.isArrayLike('abc');
1299
+ * // => true
1300
+ *
1301
+ * _.isArrayLike(_.noop);
1302
+ * // => false
1303
+ */
1304
+ function isArrayLike$3(value) {
1305
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
1306
+ }
1307
+
1308
+ var isArrayLike_1 = isArrayLike$3;
1309
+
1310
+ var isArrayLike$2 = isArrayLike_1,
1311
+ isObjectLike$2 = isObjectLike_1;
1312
+
1313
+ /**
1314
+ * This method is like `_.isArrayLike` except that it also checks if `value`
1315
+ * is an object.
1316
+ *
1317
+ * @static
1318
+ * @memberOf _
1319
+ * @since 4.0.0
1320
+ * @category Lang
1321
+ * @param {*} value The value to check.
1322
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
1323
+ * else `false`.
1324
+ * @example
1325
+ *
1326
+ * _.isArrayLikeObject([1, 2, 3]);
1327
+ * // => true
1328
+ *
1329
+ * _.isArrayLikeObject(document.body.children);
1330
+ * // => true
1331
+ *
1332
+ * _.isArrayLikeObject('abc');
1333
+ * // => false
1334
+ *
1335
+ * _.isArrayLikeObject(_.noop);
1336
+ * // => false
1337
+ */
1338
+ function isArrayLikeObject$1(value) {
1339
+ return isObjectLike$2(value) && isArrayLike$2(value);
1340
+ }
1341
+
1342
+ var isArrayLikeObject_1 = isArrayLikeObject$1;
1343
+
1344
+ var isBuffer$2 = {exports: {}};
1345
+
1346
+ /**
1347
+ * This method returns `false`.
1348
+ *
1349
+ * @static
1350
+ * @memberOf _
1351
+ * @since 4.13.0
1352
+ * @category Util
1353
+ * @returns {boolean} Returns `false`.
1354
+ * @example
1355
+ *
1356
+ * _.times(2, _.stubFalse);
1357
+ * // => [false, false]
1358
+ */
1359
+
1360
+ function stubFalse() {
1361
+ return false;
1362
+ }
1363
+
1364
+ var stubFalse_1 = stubFalse;
1365
+
1366
+ (function (module, exports) {
1367
+ var root = _root,
1368
+ stubFalse = stubFalse_1;
1369
+
1370
+ /** Detect free variable `exports`. */
1371
+ var freeExports = exports && !exports.nodeType && exports;
1372
+
1373
+ /** Detect free variable `module`. */
1374
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
1375
+
1376
+ /** Detect the popular CommonJS extension `module.exports`. */
1377
+ var moduleExports = freeModule && freeModule.exports === freeExports;
1378
+
1379
+ /** Built-in value references. */
1380
+ var Buffer = moduleExports ? root.Buffer : undefined;
1381
+
1382
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1383
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
1384
+
1385
+ /**
1386
+ * Checks if `value` is a buffer.
1387
+ *
1388
+ * @static
1389
+ * @memberOf _
1390
+ * @since 4.3.0
1391
+ * @category Lang
1392
+ * @param {*} value The value to check.
1393
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1394
+ * @example
1395
+ *
1396
+ * _.isBuffer(new Buffer(2));
1397
+ * // => true
1398
+ *
1399
+ * _.isBuffer(new Uint8Array(2));
1400
+ * // => false
1401
+ */
1402
+ var isBuffer = nativeIsBuffer || stubFalse;
1403
+
1404
+ module.exports = isBuffer;
1405
+ } (isBuffer$2, isBuffer$2.exports));
1406
+
1407
+ var baseGetTag$1 = _baseGetTag,
1408
+ getPrototype = _getPrototype,
1409
+ isObjectLike$1 = isObjectLike_1;
1410
+
1411
+ /** `Object#toString` result references. */
1412
+ var objectTag$1 = '[object Object]';
1413
+
1414
+ /** Used for built-in method references. */
1415
+ var funcProto = Function.prototype,
1416
+ objectProto$3 = Object.prototype;
1417
+
1418
+ /** Used to resolve the decompiled source of functions. */
1419
+ var funcToString = funcProto.toString;
1420
+
1421
+ /** Used to check objects for own properties. */
1422
+ var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
1423
+
1424
+ /** Used to infer the `Object` constructor. */
1425
+ var objectCtorString = funcToString.call(Object);
1426
+
1427
+ /**
1428
+ * Checks if `value` is a plain object, that is, an object created by the
1429
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
1430
+ *
1431
+ * @static
1432
+ * @memberOf _
1433
+ * @since 0.8.0
1434
+ * @category Lang
1435
+ * @param {*} value The value to check.
1436
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
1437
+ * @example
1438
+ *
1439
+ * function Foo() {
1440
+ * this.a = 1;
1441
+ * }
1442
+ *
1443
+ * _.isPlainObject(new Foo);
1444
+ * // => false
1445
+ *
1446
+ * _.isPlainObject([1, 2, 3]);
1447
+ * // => false
1448
+ *
1449
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
1450
+ * // => true
1451
+ *
1452
+ * _.isPlainObject(Object.create(null));
1453
+ * // => true
1454
+ */
1455
+ function isPlainObject$1(value) {
1456
+ if (!isObjectLike$1(value) || baseGetTag$1(value) != objectTag$1) {
1457
+ return false;
1458
+ }
1459
+ var proto = getPrototype(value);
1460
+ if (proto === null) {
1461
+ return true;
1462
+ }
1463
+ var Ctor = hasOwnProperty$3.call(proto, 'constructor') && proto.constructor;
1464
+ return typeof Ctor == 'function' && Ctor instanceof Ctor &&
1465
+ funcToString.call(Ctor) == objectCtorString;
1466
+ }
1467
+
1468
+ var isPlainObject_1 = isPlainObject$1;
1469
+
1470
+ var baseGetTag = _baseGetTag,
1471
+ isLength = isLength_1,
1472
+ isObjectLike = isObjectLike_1;
1473
+
1474
+ /** `Object#toString` result references. */
1475
+ var argsTag = '[object Arguments]',
1476
+ arrayTag = '[object Array]',
1477
+ boolTag = '[object Boolean]',
1478
+ dateTag = '[object Date]',
1479
+ errorTag = '[object Error]',
1480
+ funcTag = '[object Function]',
1481
+ mapTag = '[object Map]',
1482
+ numberTag = '[object Number]',
1483
+ objectTag = '[object Object]',
1484
+ regexpTag = '[object RegExp]',
1485
+ setTag = '[object Set]',
1486
+ stringTag = '[object String]',
1487
+ weakMapTag = '[object WeakMap]';
1488
+
1489
+ var arrayBufferTag = '[object ArrayBuffer]',
1490
+ dataViewTag = '[object DataView]',
1491
+ float32Tag = '[object Float32Array]',
1492
+ float64Tag = '[object Float64Array]',
1493
+ int8Tag = '[object Int8Array]',
1494
+ int16Tag = '[object Int16Array]',
1495
+ int32Tag = '[object Int32Array]',
1496
+ uint8Tag = '[object Uint8Array]',
1497
+ uint8ClampedTag = '[object Uint8ClampedArray]',
1498
+ uint16Tag = '[object Uint16Array]',
1499
+ uint32Tag = '[object Uint32Array]';
1500
+
1501
+ /** Used to identify `toStringTag` values of typed arrays. */
1502
+ var typedArrayTags = {};
1503
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
1504
+ typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
1505
+ typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
1506
+ typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
1507
+ typedArrayTags[uint32Tag] = true;
1508
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
1509
+ typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
1510
+ typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
1511
+ typedArrayTags[errorTag] = typedArrayTags[funcTag] =
1512
+ typedArrayTags[mapTag] = typedArrayTags[numberTag] =
1513
+ typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
1514
+ typedArrayTags[setTag] = typedArrayTags[stringTag] =
1515
+ typedArrayTags[weakMapTag] = false;
1516
+
1517
+ /**
1518
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
1519
+ *
1520
+ * @private
1521
+ * @param {*} value The value to check.
1522
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1523
+ */
1524
+ function baseIsTypedArray$1(value) {
1525
+ return isObjectLike(value) &&
1526
+ isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
1527
+ }
1528
+
1529
+ var _baseIsTypedArray = baseIsTypedArray$1;
1530
+
1531
+ /**
1532
+ * The base implementation of `_.unary` without support for storing metadata.
1533
+ *
1534
+ * @private
1535
+ * @param {Function} func The function to cap arguments for.
1536
+ * @returns {Function} Returns the new capped function.
1537
+ */
1538
+
1539
+ function baseUnary$1(func) {
1540
+ return function(value) {
1541
+ return func(value);
1542
+ };
1543
+ }
1544
+
1545
+ var _baseUnary = baseUnary$1;
1546
+
1547
+ var _nodeUtil = {exports: {}};
1548
+
1549
+ (function (module, exports) {
1550
+ var freeGlobal = _freeGlobal;
1551
+
1552
+ /** Detect free variable `exports`. */
1553
+ var freeExports = exports && !exports.nodeType && exports;
1554
+
1555
+ /** Detect free variable `module`. */
1556
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
1557
+
1558
+ /** Detect the popular CommonJS extension `module.exports`. */
1559
+ var moduleExports = freeModule && freeModule.exports === freeExports;
1560
+
1561
+ /** Detect free variable `process` from Node.js. */
1562
+ var freeProcess = moduleExports && freeGlobal.process;
1563
+
1564
+ /** Used to access faster Node.js helpers. */
1565
+ var nodeUtil = (function() {
1566
+ try {
1567
+ // Use `util.types` for Node.js 10+.
1568
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
1569
+
1570
+ if (types) {
1571
+ return types;
1572
+ }
1573
+
1574
+ // Legacy `process.binding('util')` for Node.js < 10.
1575
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
1576
+ } catch (e) {}
1577
+ }());
1578
+
1579
+ module.exports = nodeUtil;
1580
+ } (_nodeUtil, _nodeUtil.exports));
1581
+
1582
+ var baseIsTypedArray = _baseIsTypedArray,
1583
+ baseUnary = _baseUnary,
1584
+ nodeUtil = _nodeUtil.exports;
1585
+
1586
+ /* Node.js helper references. */
1587
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
1588
+
1589
+ /**
1590
+ * Checks if `value` is classified as a typed array.
1591
+ *
1592
+ * @static
1593
+ * @memberOf _
1594
+ * @since 3.0.0
1595
+ * @category Lang
1596
+ * @param {*} value The value to check.
1597
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1598
+ * @example
1599
+ *
1600
+ * _.isTypedArray(new Uint8Array);
1601
+ * // => true
1602
+ *
1603
+ * _.isTypedArray([]);
1604
+ * // => false
1605
+ */
1606
+ var isTypedArray$2 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
1607
+
1608
+ var isTypedArray_1 = isTypedArray$2;
1609
+
1610
+ /**
1611
+ * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
1612
+ *
1613
+ * @private
1614
+ * @param {Object} object The object to query.
1615
+ * @param {string} key The key of the property to get.
1616
+ * @returns {*} Returns the property value.
1617
+ */
1618
+
1619
+ function safeGet$2(object, key) {
1620
+ if (key === 'constructor' && typeof object[key] === 'function') {
1621
+ return;
1622
+ }
1623
+
1624
+ if (key == '__proto__') {
1625
+ return;
1626
+ }
1627
+
1628
+ return object[key];
1629
+ }
1630
+
1631
+ var _safeGet = safeGet$2;
1632
+
1633
+ var baseAssignValue$1 = _baseAssignValue,
1634
+ eq$1 = eq_1;
1635
+
1636
+ /** Used for built-in method references. */
1637
+ var objectProto$2 = Object.prototype;
1638
+
1639
+ /** Used to check objects for own properties. */
1640
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
1641
+
1642
+ /**
1643
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
1644
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1645
+ * for equality comparisons.
1646
+ *
1647
+ * @private
1648
+ * @param {Object} object The object to modify.
1649
+ * @param {string} key The key of the property to assign.
1650
+ * @param {*} value The value to assign.
1651
+ */
1652
+ function assignValue$1(object, key, value) {
1653
+ var objValue = object[key];
1654
+ if (!(hasOwnProperty$2.call(object, key) && eq$1(objValue, value)) ||
1655
+ (value === undefined && !(key in object))) {
1656
+ baseAssignValue$1(object, key, value);
1657
+ }
1658
+ }
1659
+
1660
+ var _assignValue = assignValue$1;
1661
+
1662
+ var assignValue = _assignValue,
1663
+ baseAssignValue = _baseAssignValue;
1664
+
1665
+ /**
1666
+ * Copies properties of `source` to `object`.
1667
+ *
1668
+ * @private
1669
+ * @param {Object} source The object to copy properties from.
1670
+ * @param {Array} props The property identifiers to copy.
1671
+ * @param {Object} [object={}] The object to copy properties to.
1672
+ * @param {Function} [customizer] The function to customize copied values.
1673
+ * @returns {Object} Returns `object`.
1674
+ */
1675
+ function copyObject$1(source, props, object, customizer) {
1676
+ var isNew = !object;
1677
+ object || (object = {});
1678
+
1679
+ var index = -1,
1680
+ length = props.length;
1681
+
1682
+ while (++index < length) {
1683
+ var key = props[index];
1684
+
1685
+ var newValue = customizer
1686
+ ? customizer(object[key], source[key], key, object, source)
1687
+ : undefined;
1688
+
1689
+ if (newValue === undefined) {
1690
+ newValue = source[key];
1691
+ }
1692
+ if (isNew) {
1693
+ baseAssignValue(object, key, newValue);
1694
+ } else {
1695
+ assignValue(object, key, newValue);
1696
+ }
1697
+ }
1698
+ return object;
1699
+ }
1700
+
1701
+ var _copyObject = copyObject$1;
1702
+
1703
+ /**
1704
+ * The base implementation of `_.times` without support for iteratee shorthands
1705
+ * or max array length checks.
1706
+ *
1707
+ * @private
1708
+ * @param {number} n The number of times to invoke `iteratee`.
1709
+ * @param {Function} iteratee The function invoked per iteration.
1710
+ * @returns {Array} Returns the array of results.
1711
+ */
1712
+
1713
+ function baseTimes$1(n, iteratee) {
1714
+ var index = -1,
1715
+ result = Array(n);
1716
+
1717
+ while (++index < n) {
1718
+ result[index] = iteratee(index);
1719
+ }
1720
+ return result;
1721
+ }
1722
+
1723
+ var _baseTimes = baseTimes$1;
1724
+
1725
+ /** Used as references for various `Number` constants. */
1726
+
1727
+ var MAX_SAFE_INTEGER = 9007199254740991;
1728
+
1729
+ /** Used to detect unsigned integer values. */
1730
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
1731
+
1732
+ /**
1733
+ * Checks if `value` is a valid array-like index.
1734
+ *
1735
+ * @private
1736
+ * @param {*} value The value to check.
1737
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1738
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1739
+ */
1740
+ function isIndex$2(value, length) {
1741
+ var type = typeof value;
1742
+ length = length == null ? MAX_SAFE_INTEGER : length;
1743
+
1744
+ return !!length &&
1745
+ (type == 'number' ||
1746
+ (type != 'symbol' && reIsUint.test(value))) &&
1747
+ (value > -1 && value % 1 == 0 && value < length);
1748
+ }
1749
+
1750
+ var _isIndex = isIndex$2;
1751
+
1752
+ var baseTimes = _baseTimes,
1753
+ isArguments$1 = isArguments_1,
1754
+ isArray$1 = isArray_1,
1755
+ isBuffer$1 = isBuffer$2.exports,
1756
+ isIndex$1 = _isIndex,
1757
+ isTypedArray$1 = isTypedArray_1;
1758
+
1759
+ /** Used for built-in method references. */
1760
+ var objectProto$1 = Object.prototype;
1761
+
1762
+ /** Used to check objects for own properties. */
1763
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
1764
+
1765
+ /**
1766
+ * Creates an array of the enumerable property names of the array-like `value`.
1767
+ *
1768
+ * @private
1769
+ * @param {*} value The value to query.
1770
+ * @param {boolean} inherited Specify returning inherited property names.
1771
+ * @returns {Array} Returns the array of property names.
1772
+ */
1773
+ function arrayLikeKeys$1(value, inherited) {
1774
+ var isArr = isArray$1(value),
1775
+ isArg = !isArr && isArguments$1(value),
1776
+ isBuff = !isArr && !isArg && isBuffer$1(value),
1777
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
1778
+ skipIndexes = isArr || isArg || isBuff || isType,
1779
+ result = skipIndexes ? baseTimes(value.length, String) : [],
1780
+ length = result.length;
1781
+
1782
+ for (var key in value) {
1783
+ if ((inherited || hasOwnProperty$1.call(value, key)) &&
1784
+ !(skipIndexes && (
1785
+ // Safari 9 has enumerable `arguments.length` in strict mode.
1786
+ key == 'length' ||
1787
+ // Node.js 0.10 has enumerable non-index properties on buffers.
1788
+ (isBuff && (key == 'offset' || key == 'parent')) ||
1789
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
1790
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
1791
+ // Skip index properties.
1792
+ isIndex$1(key, length)
1793
+ ))) {
1794
+ result.push(key);
1795
+ }
1796
+ }
1797
+ return result;
1798
+ }
1799
+
1800
+ var _arrayLikeKeys = arrayLikeKeys$1;
1801
+
1802
+ /**
1803
+ * This function is like
1804
+ * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1805
+ * except that it includes inherited enumerable properties.
1806
+ *
1807
+ * @private
1808
+ * @param {Object} object The object to query.
1809
+ * @returns {Array} Returns the array of property names.
1810
+ */
1811
+
1812
+ function nativeKeysIn$1(object) {
1813
+ var result = [];
1814
+ if (object != null) {
1815
+ for (var key in Object(object)) {
1816
+ result.push(key);
1817
+ }
1818
+ }
1819
+ return result;
1820
+ }
1821
+
1822
+ var _nativeKeysIn = nativeKeysIn$1;
1823
+
1824
+ var isObject$3 = isObject_1,
1825
+ isPrototype = _isPrototype,
1826
+ nativeKeysIn = _nativeKeysIn;
1827
+
1828
+ /** Used for built-in method references. */
1829
+ var objectProto = Object.prototype;
1830
+
1831
+ /** Used to check objects for own properties. */
1832
+ var hasOwnProperty = objectProto.hasOwnProperty;
1833
+
1834
+ /**
1835
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
1836
+ *
1837
+ * @private
1838
+ * @param {Object} object The object to query.
1839
+ * @returns {Array} Returns the array of property names.
1840
+ */
1841
+ function baseKeysIn$1(object) {
1842
+ if (!isObject$3(object)) {
1843
+ return nativeKeysIn(object);
1844
+ }
1845
+ var isProto = isPrototype(object),
1846
+ result = [];
1847
+
1848
+ for (var key in object) {
1849
+ if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
1850
+ result.push(key);
1851
+ }
1852
+ }
1853
+ return result;
1854
+ }
1855
+
1856
+ var _baseKeysIn = baseKeysIn$1;
1857
+
1858
+ var arrayLikeKeys = _arrayLikeKeys,
1859
+ baseKeysIn = _baseKeysIn,
1860
+ isArrayLike$1 = isArrayLike_1;
1861
+
1862
+ /**
1863
+ * Creates an array of the own and inherited enumerable property names of `object`.
1864
+ *
1865
+ * **Note:** Non-object values are coerced to objects.
1866
+ *
1867
+ * @static
1868
+ * @memberOf _
1869
+ * @since 3.0.0
1870
+ * @category Object
1871
+ * @param {Object} object The object to query.
1872
+ * @returns {Array} Returns the array of property names.
1873
+ * @example
1874
+ *
1875
+ * function Foo() {
1876
+ * this.a = 1;
1877
+ * this.b = 2;
1878
+ * }
1879
+ *
1880
+ * Foo.prototype.c = 3;
1881
+ *
1882
+ * _.keysIn(new Foo);
1883
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
1884
+ */
1885
+ function keysIn$2(object) {
1886
+ return isArrayLike$1(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
1887
+ }
1888
+
1889
+ var keysIn_1 = keysIn$2;
1890
+
1891
+ var copyObject = _copyObject,
1892
+ keysIn$1 = keysIn_1;
1893
+
1894
+ /**
1895
+ * Converts `value` to a plain object flattening inherited enumerable string
1896
+ * keyed properties of `value` to own properties of the plain object.
1897
+ *
1898
+ * @static
1899
+ * @memberOf _
1900
+ * @since 3.0.0
1901
+ * @category Lang
1902
+ * @param {*} value The value to convert.
1903
+ * @returns {Object} Returns the converted plain object.
1904
+ * @example
1905
+ *
1906
+ * function Foo() {
1907
+ * this.b = 2;
1908
+ * }
1909
+ *
1910
+ * Foo.prototype.c = 3;
1911
+ *
1912
+ * _.assign({ 'a': 1 }, new Foo);
1913
+ * // => { 'a': 1, 'b': 2 }
1914
+ *
1915
+ * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
1916
+ * // => { 'a': 1, 'b': 2, 'c': 3 }
1917
+ */
1918
+ function toPlainObject$1(value) {
1919
+ return copyObject(value, keysIn$1(value));
1920
+ }
1921
+
1922
+ var toPlainObject_1 = toPlainObject$1;
1923
+
1924
+ var assignMergeValue$1 = _assignMergeValue,
1925
+ cloneBuffer = _cloneBuffer.exports,
1926
+ cloneTypedArray = _cloneTypedArray,
1927
+ copyArray = _copyArray,
1928
+ initCloneObject = _initCloneObject,
1929
+ isArguments = isArguments_1,
1930
+ isArray = isArray_1,
1931
+ isArrayLikeObject = isArrayLikeObject_1,
1932
+ isBuffer = isBuffer$2.exports,
1933
+ isFunction = isFunction_1,
1934
+ isObject$2 = isObject_1,
1935
+ isPlainObject = isPlainObject_1,
1936
+ isTypedArray = isTypedArray_1,
1937
+ safeGet$1 = _safeGet,
1938
+ toPlainObject = toPlainObject_1;
1939
+
1940
+ /**
1941
+ * A specialized version of `baseMerge` for arrays and objects which performs
1942
+ * deep merges and tracks traversed objects enabling objects with circular
1943
+ * references to be merged.
1944
+ *
1945
+ * @private
1946
+ * @param {Object} object The destination object.
1947
+ * @param {Object} source The source object.
1948
+ * @param {string} key The key of the value to merge.
1949
+ * @param {number} srcIndex The index of `source`.
1950
+ * @param {Function} mergeFunc The function to merge values.
1951
+ * @param {Function} [customizer] The function to customize assigned values.
1952
+ * @param {Object} [stack] Tracks traversed source values and their merged
1953
+ * counterparts.
1954
+ */
1955
+ function baseMergeDeep$1(object, source, key, srcIndex, mergeFunc, customizer, stack) {
1956
+ var objValue = safeGet$1(object, key),
1957
+ srcValue = safeGet$1(source, key),
1958
+ stacked = stack.get(srcValue);
1959
+
1960
+ if (stacked) {
1961
+ assignMergeValue$1(object, key, stacked);
1962
+ return;
1963
+ }
1964
+ var newValue = customizer
1965
+ ? customizer(objValue, srcValue, (key + ''), object, source, stack)
1966
+ : undefined;
1967
+
1968
+ var isCommon = newValue === undefined;
1969
+
1970
+ if (isCommon) {
1971
+ var isArr = isArray(srcValue),
1972
+ isBuff = !isArr && isBuffer(srcValue),
1973
+ isTyped = !isArr && !isBuff && isTypedArray(srcValue);
1974
+
1975
+ newValue = srcValue;
1976
+ if (isArr || isBuff || isTyped) {
1977
+ if (isArray(objValue)) {
1978
+ newValue = objValue;
1979
+ }
1980
+ else if (isArrayLikeObject(objValue)) {
1981
+ newValue = copyArray(objValue);
1982
+ }
1983
+ else if (isBuff) {
1984
+ isCommon = false;
1985
+ newValue = cloneBuffer(srcValue, true);
1986
+ }
1987
+ else if (isTyped) {
1988
+ isCommon = false;
1989
+ newValue = cloneTypedArray(srcValue, true);
1990
+ }
1991
+ else {
1992
+ newValue = [];
1993
+ }
1994
+ }
1995
+ else if (isPlainObject(srcValue) || isArguments(srcValue)) {
1996
+ newValue = objValue;
1997
+ if (isArguments(objValue)) {
1998
+ newValue = toPlainObject(objValue);
1999
+ }
2000
+ else if (!isObject$2(objValue) || isFunction(objValue)) {
2001
+ newValue = initCloneObject(srcValue);
2002
+ }
2003
+ }
2004
+ else {
2005
+ isCommon = false;
2006
+ }
2007
+ }
2008
+ if (isCommon) {
2009
+ // Recursively merge objects and arrays (susceptible to call stack limits).
2010
+ stack.set(srcValue, newValue);
2011
+ mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
2012
+ stack['delete'](srcValue);
2013
+ }
2014
+ assignMergeValue$1(object, key, newValue);
2015
+ }
2016
+
2017
+ var _baseMergeDeep = baseMergeDeep$1;
2018
+
2019
+ var Stack = _Stack,
2020
+ assignMergeValue = _assignMergeValue,
2021
+ baseFor = _baseFor,
2022
+ baseMergeDeep = _baseMergeDeep,
2023
+ isObject$1 = isObject_1,
2024
+ keysIn = keysIn_1,
2025
+ safeGet = _safeGet;
2026
+
2027
+ /**
2028
+ * The base implementation of `_.merge` without support for multiple sources.
2029
+ *
2030
+ * @private
2031
+ * @param {Object} object The destination object.
2032
+ * @param {Object} source The source object.
2033
+ * @param {number} srcIndex The index of `source`.
2034
+ * @param {Function} [customizer] The function to customize merged values.
2035
+ * @param {Object} [stack] Tracks traversed source values and their merged
2036
+ * counterparts.
2037
+ */
2038
+ function baseMerge$1(object, source, srcIndex, customizer, stack) {
2039
+ if (object === source) {
2040
+ return;
2041
+ }
2042
+ baseFor(source, function(srcValue, key) {
2043
+ stack || (stack = new Stack);
2044
+ if (isObject$1(srcValue)) {
2045
+ baseMergeDeep(object, source, key, srcIndex, baseMerge$1, customizer, stack);
2046
+ }
2047
+ else {
2048
+ var newValue = customizer
2049
+ ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
2050
+ : undefined;
2051
+
2052
+ if (newValue === undefined) {
2053
+ newValue = srcValue;
2054
+ }
2055
+ assignMergeValue(object, key, newValue);
2056
+ }
2057
+ }, keysIn);
2058
+ }
2059
+
2060
+ var _baseMerge = baseMerge$1;
2061
+
2062
+ /**
2063
+ * This method returns the first argument it receives.
2064
+ *
2065
+ * @static
2066
+ * @since 0.1.0
2067
+ * @memberOf _
2068
+ * @category Util
2069
+ * @param {*} value Any value.
2070
+ * @returns {*} Returns `value`.
2071
+ * @example
2072
+ *
2073
+ * var object = { 'a': 1 };
2074
+ *
2075
+ * console.log(_.identity(object) === object);
2076
+ * // => true
2077
+ */
2078
+
2079
+ function identity$2(value) {
2080
+ return value;
2081
+ }
2082
+
2083
+ var identity_1 = identity$2;
2084
+
2085
+ /**
2086
+ * A faster alternative to `Function#apply`, this function invokes `func`
2087
+ * with the `this` binding of `thisArg` and the arguments of `args`.
2088
+ *
2089
+ * @private
2090
+ * @param {Function} func The function to invoke.
2091
+ * @param {*} thisArg The `this` binding of `func`.
2092
+ * @param {Array} args The arguments to invoke `func` with.
2093
+ * @returns {*} Returns the result of `func`.
2094
+ */
2095
+
2096
+ function apply$1(func, thisArg, args) {
2097
+ switch (args.length) {
2098
+ case 0: return func.call(thisArg);
2099
+ case 1: return func.call(thisArg, args[0]);
2100
+ case 2: return func.call(thisArg, args[0], args[1]);
2101
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
2102
+ }
2103
+ return func.apply(thisArg, args);
2104
+ }
2105
+
2106
+ var _apply = apply$1;
2107
+
2108
+ var apply = _apply;
2109
+
2110
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2111
+ var nativeMax = Math.max;
2112
+
2113
+ /**
2114
+ * A specialized version of `baseRest` which transforms the rest array.
2115
+ *
2116
+ * @private
2117
+ * @param {Function} func The function to apply a rest parameter to.
2118
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
2119
+ * @param {Function} transform The rest array transform.
2120
+ * @returns {Function} Returns the new function.
2121
+ */
2122
+ function overRest$1(func, start, transform) {
2123
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
2124
+ return function() {
2125
+ var args = arguments,
2126
+ index = -1,
2127
+ length = nativeMax(args.length - start, 0),
2128
+ array = Array(length);
2129
+
2130
+ while (++index < length) {
2131
+ array[index] = args[start + index];
2132
+ }
2133
+ index = -1;
2134
+ var otherArgs = Array(start + 1);
2135
+ while (++index < start) {
2136
+ otherArgs[index] = args[index];
2137
+ }
2138
+ otherArgs[start] = transform(array);
2139
+ return apply(func, this, otherArgs);
2140
+ };
2141
+ }
2142
+
2143
+ var _overRest = overRest$1;
2144
+
2145
+ /**
2146
+ * Creates a function that returns `value`.
2147
+ *
2148
+ * @static
2149
+ * @memberOf _
2150
+ * @since 2.4.0
2151
+ * @category Util
2152
+ * @param {*} value The value to return from the new function.
2153
+ * @returns {Function} Returns the new constant function.
2154
+ * @example
2155
+ *
2156
+ * var objects = _.times(2, _.constant({ 'a': 1 }));
2157
+ *
2158
+ * console.log(objects);
2159
+ * // => [{ 'a': 1 }, { 'a': 1 }]
2160
+ *
2161
+ * console.log(objects[0] === objects[1]);
2162
+ * // => true
2163
+ */
2164
+
2165
+ function constant$1(value) {
2166
+ return function() {
2167
+ return value;
2168
+ };
2169
+ }
2170
+
2171
+ var constant_1 = constant$1;
2172
+
2173
+ var constant = constant_1,
2174
+ defineProperty = _defineProperty,
2175
+ identity$1 = identity_1;
2176
+
2177
+ /**
2178
+ * The base implementation of `setToString` without support for hot loop shorting.
2179
+ *
2180
+ * @private
2181
+ * @param {Function} func The function to modify.
2182
+ * @param {Function} string The `toString` result.
2183
+ * @returns {Function} Returns `func`.
2184
+ */
2185
+ var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
2186
+ return defineProperty(func, 'toString', {
2187
+ 'configurable': true,
2188
+ 'enumerable': false,
2189
+ 'value': constant(string),
2190
+ 'writable': true
2191
+ });
2192
+ };
2193
+
2194
+ var _baseSetToString = baseSetToString$1;
2195
+
2196
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
2197
+
2198
+ var HOT_COUNT = 800,
2199
+ HOT_SPAN = 16;
2200
+
2201
+ /* Built-in method references for those with the same name as other `lodash` methods. */
2202
+ var nativeNow = Date.now;
2203
+
2204
+ /**
2205
+ * Creates a function that'll short out and invoke `identity` instead
2206
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
2207
+ * milliseconds.
2208
+ *
2209
+ * @private
2210
+ * @param {Function} func The function to restrict.
2211
+ * @returns {Function} Returns the new shortable function.
2212
+ */
2213
+ function shortOut$1(func) {
2214
+ var count = 0,
2215
+ lastCalled = 0;
2216
+
2217
+ return function() {
2218
+ var stamp = nativeNow(),
2219
+ remaining = HOT_SPAN - (stamp - lastCalled);
2220
+
2221
+ lastCalled = stamp;
2222
+ if (remaining > 0) {
2223
+ if (++count >= HOT_COUNT) {
2224
+ return arguments[0];
2225
+ }
2226
+ } else {
2227
+ count = 0;
2228
+ }
2229
+ return func.apply(undefined, arguments);
2230
+ };
2231
+ }
2232
+
2233
+ var _shortOut = shortOut$1;
2234
+
2235
+ var baseSetToString = _baseSetToString,
2236
+ shortOut = _shortOut;
2237
+
2238
+ /**
2239
+ * Sets the `toString` method of `func` to return `string`.
2240
+ *
2241
+ * @private
2242
+ * @param {Function} func The function to modify.
2243
+ * @param {Function} string The `toString` result.
2244
+ * @returns {Function} Returns `func`.
2245
+ */
2246
+ var setToString$1 = shortOut(baseSetToString);
2247
+
2248
+ var _setToString = setToString$1;
2249
+
2250
+ var identity = identity_1,
2251
+ overRest = _overRest,
2252
+ setToString = _setToString;
2253
+
2254
+ /**
2255
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
2256
+ *
2257
+ * @private
2258
+ * @param {Function} func The function to apply a rest parameter to.
2259
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
2260
+ * @returns {Function} Returns the new function.
2261
+ */
2262
+ function baseRest$1(func, start) {
2263
+ return setToString(overRest(func, start, identity), func + '');
2264
+ }
2265
+
2266
+ var _baseRest = baseRest$1;
2267
+
2268
+ var eq = eq_1,
2269
+ isArrayLike = isArrayLike_1,
2270
+ isIndex = _isIndex,
2271
+ isObject = isObject_1;
2272
+
2273
+ /**
2274
+ * Checks if the given arguments are from an iteratee call.
2275
+ *
2276
+ * @private
2277
+ * @param {*} value The potential iteratee value argument.
2278
+ * @param {*} index The potential iteratee index or key argument.
2279
+ * @param {*} object The potential iteratee object argument.
2280
+ * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
2281
+ * else `false`.
2282
+ */
2283
+ function isIterateeCall$1(value, index, object) {
2284
+ if (!isObject(object)) {
2285
+ return false;
2286
+ }
2287
+ var type = typeof index;
2288
+ if (type == 'number'
2289
+ ? (isArrayLike(object) && isIndex(index, object.length))
2290
+ : (type == 'string' && index in object)
2291
+ ) {
2292
+ return eq(object[index], value);
2293
+ }
2294
+ return false;
2295
+ }
2296
+
2297
+ var _isIterateeCall = isIterateeCall$1;
2298
+
2299
+ var baseRest = _baseRest,
2300
+ isIterateeCall = _isIterateeCall;
2301
+
2302
+ /**
2303
+ * Creates a function like `_.assign`.
2304
+ *
2305
+ * @private
2306
+ * @param {Function} assigner The function to assign values.
2307
+ * @returns {Function} Returns the new assigner function.
2308
+ */
2309
+ function createAssigner$1(assigner) {
2310
+ return baseRest(function(object, sources) {
2311
+ var index = -1,
2312
+ length = sources.length,
2313
+ customizer = length > 1 ? sources[length - 1] : undefined,
2314
+ guard = length > 2 ? sources[2] : undefined;
2315
+
2316
+ customizer = (assigner.length > 3 && typeof customizer == 'function')
2317
+ ? (length--, customizer)
2318
+ : undefined;
2319
+
2320
+ if (guard && isIterateeCall(sources[0], sources[1], guard)) {
2321
+ customizer = length < 3 ? undefined : customizer;
2322
+ length = 1;
2323
+ }
2324
+ object = Object(object);
2325
+ while (++index < length) {
2326
+ var source = sources[index];
2327
+ if (source) {
2328
+ assigner(object, source, index, customizer);
2329
+ }
2330
+ }
2331
+ return object;
2332
+ });
2333
+ }
2334
+
2335
+ var _createAssigner = createAssigner$1;
2336
+
2337
+ var baseMerge = _baseMerge,
2338
+ createAssigner = _createAssigner;
2339
+
2340
+ /**
2341
+ * This method is like `_.assign` except that it recursively merges own and
2342
+ * inherited enumerable string keyed properties of source objects into the
2343
+ * destination object. Source properties that resolve to `undefined` are
2344
+ * skipped if a destination value exists. Array and plain object properties
2345
+ * are merged recursively. Other objects and value types are overridden by
2346
+ * assignment. Source objects are applied from left to right. Subsequent
2347
+ * sources overwrite property assignments of previous sources.
2348
+ *
2349
+ * **Note:** This method mutates `object`.
2350
+ *
2351
+ * @static
2352
+ * @memberOf _
2353
+ * @since 0.5.0
2354
+ * @category Object
2355
+ * @param {Object} object The destination object.
2356
+ * @param {...Object} [sources] The source objects.
2357
+ * @returns {Object} Returns `object`.
2358
+ * @example
2359
+ *
2360
+ * var object = {
2361
+ * 'a': [{ 'b': 2 }, { 'd': 4 }]
2362
+ * };
2363
+ *
2364
+ * var other = {
2365
+ * 'a': [{ 'c': 3 }, { 'e': 5 }]
2366
+ * };
2367
+ *
2368
+ * _.merge(object, other);
2369
+ * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
2370
+ */
2371
+ var merge = createAssigner(function(object, source, srcIndex) {
2372
+ baseMerge(object, source, srcIndex);
2373
+ });
2374
+
2375
+ var merge_1 = merge;
2376
+
2377
+ withThemeCreator({
2378
+ defaultTheme: defaultTheme
2379
+ });
8
2380
 
9
2381
  var fonts = ['Noto Sans TC', 'Microsoft JhengHei', 'sans-serif', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'];
10
2382