@rspress/plugin-api-docgen 0.0.0-next-20230926070920 → 0.0.0-next-20231020055855

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -41,98 +42,6 @@ var import_utils = require("@modern-js/utils");
41
42
  var import_react_docgen_typescript = require("react-docgen-typescript");
42
43
 
43
44
  // ../shared/dist/index.mjs
44
- function listCacheClear() {
45
- this.__data__ = [];
46
- this.size = 0;
47
- }
48
- var listCacheClear_default = listCacheClear;
49
- function eq(value, other) {
50
- return value === other || value !== value && other !== other;
51
- }
52
- var eq_default = eq;
53
- function assocIndexOf(array, key) {
54
- var length = array.length;
55
- while (length--) {
56
- if (eq_default(array[length][0], key)) {
57
- return length;
58
- }
59
- }
60
- return -1;
61
- }
62
- var assocIndexOf_default = assocIndexOf;
63
- var arrayProto = Array.prototype;
64
- var splice = arrayProto.splice;
65
- function listCacheDelete(key) {
66
- var data = this.__data__, index = assocIndexOf_default(data, key);
67
- if (index < 0) {
68
- return false;
69
- }
70
- var lastIndex = data.length - 1;
71
- if (index == lastIndex) {
72
- data.pop();
73
- } else {
74
- splice.call(data, index, 1);
75
- }
76
- --this.size;
77
- return true;
78
- }
79
- var listCacheDelete_default = listCacheDelete;
80
- function listCacheGet(key) {
81
- var data = this.__data__, index = assocIndexOf_default(data, key);
82
- return index < 0 ? void 0 : data[index][1];
83
- }
84
- var listCacheGet_default = listCacheGet;
85
- function listCacheHas(key) {
86
- return assocIndexOf_default(this.__data__, key) > -1;
87
- }
88
- var listCacheHas_default = listCacheHas;
89
- function listCacheSet(key, value) {
90
- var data = this.__data__, index = assocIndexOf_default(data, key);
91
- if (index < 0) {
92
- ++this.size;
93
- data.push([
94
- key,
95
- value
96
- ]);
97
- } else {
98
- data[index][1] = value;
99
- }
100
- return this;
101
- }
102
- var listCacheSet_default = listCacheSet;
103
- function ListCache(entries) {
104
- var index = -1, length = entries == null ? 0 : entries.length;
105
- this.clear();
106
- while (++index < length) {
107
- var entry = entries[index];
108
- this.set(entry[0], entry[1]);
109
- }
110
- }
111
- ListCache.prototype.clear = listCacheClear_default;
112
- ListCache.prototype["delete"] = listCacheDelete_default;
113
- ListCache.prototype.get = listCacheGet_default;
114
- ListCache.prototype.has = listCacheHas_default;
115
- ListCache.prototype.set = listCacheSet_default;
116
- var ListCache_default = ListCache;
117
- function stackClear() {
118
- this.__data__ = new ListCache_default();
119
- this.size = 0;
120
- }
121
- var stackClear_default = stackClear;
122
- function stackDelete(key) {
123
- var data = this.__data__, result = data["delete"](key);
124
- this.size = data.size;
125
- return result;
126
- }
127
- var stackDelete_default = stackDelete;
128
- function stackGet(key) {
129
- return this.__data__.get(key);
130
- }
131
- var stackGet_default = stackGet;
132
- function stackHas(key) {
133
- return this.__data__.has(key);
134
- }
135
- var stackHas_default = stackHas;
136
45
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
137
46
  var freeGlobal_default = freeGlobal;
138
47
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
@@ -178,11 +87,21 @@ function baseGetTag(value) {
178
87
  return symToStringTag2 && symToStringTag2 in Object(value) ? getRawTag_default(value) : objectToString_default(value);
179
88
  }
180
89
  var baseGetTag_default = baseGetTag;
90
+ function isObjectLike(value) {
91
+ return value != null && typeof value == "object";
92
+ }
93
+ var isObjectLike_default = isObjectLike;
94
+ var isArray = Array.isArray;
95
+ var isArray_default = isArray;
181
96
  function isObject(value) {
182
97
  var type = typeof value;
183
98
  return value != null && (type == "object" || type == "function");
184
99
  }
185
100
  var isObject_default = isObject;
101
+ function identity(value) {
102
+ return value;
103
+ }
104
+ var identity_default = identity;
186
105
  var asyncTag = "[object AsyncFunction]";
187
106
  var funcTag = "[object Function]";
188
107
  var genTag = "[object GeneratorFunction]";
@@ -227,7 +146,9 @@ var funcProto2 = Function.prototype;
227
146
  var objectProto3 = Object.prototype;
228
147
  var funcToString2 = funcProto2.toString;
229
148
  var hasOwnProperty2 = objectProto3.hasOwnProperty;
230
- var reIsNative = RegExp("^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
149
+ var reIsNative = RegExp(
150
+ "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
151
+ );
231
152
  function baseIsNative(value) {
232
153
  if (!isObject_default(value) || isMasked_default(value)) {
233
154
  return false;
@@ -245,323 +166,245 @@ function getNative(object, key) {
245
166
  return baseIsNative_default(value) ? value : void 0;
246
167
  }
247
168
  var getNative_default = getNative;
248
- var Map = getNative_default(root_default, "Map");
249
- var Map_default = Map;
250
- var nativeCreate = getNative_default(Object, "create");
251
- var nativeCreate_default = nativeCreate;
252
- function hashClear() {
253
- this.__data__ = nativeCreate_default ? nativeCreate_default(null) : {};
254
- this.size = 0;
255
- }
256
- var hashClear_default = hashClear;
257
- function hashDelete(key) {
258
- var result = this.has(key) && delete this.__data__[key];
259
- this.size -= result ? 1 : 0;
260
- return result;
261
- }
262
- var hashDelete_default = hashDelete;
263
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
264
- var objectProto4 = Object.prototype;
265
- var hasOwnProperty3 = objectProto4.hasOwnProperty;
266
- function hashGet(key) {
267
- var data = this.__data__;
268
- if (nativeCreate_default) {
269
- var result = data[key];
270
- return result === HASH_UNDEFINED ? void 0 : result;
169
+ var objectCreate = Object.create;
170
+ var baseCreate = function() {
171
+ function object() {
271
172
  }
272
- return hasOwnProperty3.call(data, key) ? data[key] : void 0;
273
- }
274
- var hashGet_default = hashGet;
275
- var objectProto5 = Object.prototype;
276
- var hasOwnProperty4 = objectProto5.hasOwnProperty;
277
- function hashHas(key) {
278
- var data = this.__data__;
279
- return nativeCreate_default ? data[key] !== void 0 : hasOwnProperty4.call(data, key);
280
- }
281
- var hashHas_default = hashHas;
282
- var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
283
- function hashSet(key, value) {
284
- var data = this.__data__;
285
- this.size += this.has(key) ? 0 : 1;
286
- data[key] = nativeCreate_default && value === void 0 ? HASH_UNDEFINED2 : value;
287
- return this;
173
+ return function(proto) {
174
+ if (!isObject_default(proto)) {
175
+ return {};
176
+ }
177
+ if (objectCreate) {
178
+ return objectCreate(proto);
179
+ }
180
+ object.prototype = proto;
181
+ var result = new object();
182
+ object.prototype = void 0;
183
+ return result;
184
+ };
185
+ }();
186
+ var baseCreate_default = baseCreate;
187
+ function apply(func, thisArg, args) {
188
+ switch (args.length) {
189
+ case 0:
190
+ return func.call(thisArg);
191
+ case 1:
192
+ return func.call(thisArg, args[0]);
193
+ case 2:
194
+ return func.call(thisArg, args[0], args[1]);
195
+ case 3:
196
+ return func.call(thisArg, args[0], args[1], args[2]);
197
+ }
198
+ return func.apply(thisArg, args);
288
199
  }
289
- var hashSet_default = hashSet;
290
- function Hash(entries) {
291
- var index = -1, length = entries == null ? 0 : entries.length;
292
- this.clear();
200
+ var apply_default = apply;
201
+ function copyArray(source, array) {
202
+ var index = -1, length = source.length;
203
+ array || (array = Array(length));
293
204
  while (++index < length) {
294
- var entry = entries[index];
295
- this.set(entry[0], entry[1]);
205
+ array[index] = source[index];
296
206
  }
207
+ return array;
297
208
  }
298
- Hash.prototype.clear = hashClear_default;
299
- Hash.prototype["delete"] = hashDelete_default;
300
- Hash.prototype.get = hashGet_default;
301
- Hash.prototype.has = hashHas_default;
302
- Hash.prototype.set = hashSet_default;
303
- var Hash_default = Hash;
304
- function mapCacheClear() {
305
- this.size = 0;
306
- this.__data__ = {
307
- "hash": new Hash_default(),
308
- "map": new (Map_default || ListCache_default)(),
309
- "string": new Hash_default()
209
+ var copyArray_default = copyArray;
210
+ var HOT_COUNT = 800;
211
+ var HOT_SPAN = 16;
212
+ var nativeNow = Date.now;
213
+ function shortOut(func) {
214
+ var count = 0, lastCalled = 0;
215
+ return function() {
216
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
217
+ lastCalled = stamp;
218
+ if (remaining > 0) {
219
+ if (++count >= HOT_COUNT) {
220
+ return arguments[0];
221
+ }
222
+ } else {
223
+ count = 0;
224
+ }
225
+ return func.apply(void 0, arguments);
310
226
  };
311
227
  }
312
- var mapCacheClear_default = mapCacheClear;
313
- function isKeyable(value) {
228
+ var shortOut_default = shortOut;
229
+ function constant(value) {
230
+ return function() {
231
+ return value;
232
+ };
233
+ }
234
+ var constant_default = constant;
235
+ var defineProperty = function() {
236
+ try {
237
+ var func = getNative_default(Object, "defineProperty");
238
+ func({}, "", {});
239
+ return func;
240
+ } catch (e) {
241
+ }
242
+ }();
243
+ var defineProperty_default = defineProperty;
244
+ var baseSetToString = !defineProperty_default ? identity_default : function(func, string) {
245
+ return defineProperty_default(func, "toString", {
246
+ "configurable": true,
247
+ "enumerable": false,
248
+ "value": constant_default(string),
249
+ "writable": true
250
+ });
251
+ };
252
+ var baseSetToString_default = baseSetToString;
253
+ var setToString = shortOut_default(baseSetToString_default);
254
+ var setToString_default = setToString;
255
+ var MAX_SAFE_INTEGER = 9007199254740991;
256
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
257
+ function isIndex(value, length) {
314
258
  var type = typeof value;
315
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
259
+ length = length == null ? MAX_SAFE_INTEGER : length;
260
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
316
261
  }
317
- var isKeyable_default = isKeyable;
318
- function getMapData(map, key) {
319
- var data = map.__data__;
320
- return isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
262
+ var isIndex_default = isIndex;
263
+ function baseAssignValue(object, key, value) {
264
+ if (key == "__proto__" && defineProperty_default) {
265
+ defineProperty_default(object, key, {
266
+ "configurable": true,
267
+ "enumerable": true,
268
+ "value": value,
269
+ "writable": true
270
+ });
271
+ } else {
272
+ object[key] = value;
273
+ }
321
274
  }
322
- var getMapData_default = getMapData;
323
- function mapCacheDelete(key) {
324
- var result = getMapData_default(this, key)["delete"](key);
325
- this.size -= result ? 1 : 0;
326
- return result;
327
- }
328
- var mapCacheDelete_default = mapCacheDelete;
329
- function mapCacheGet(key) {
330
- return getMapData_default(this, key).get(key);
331
- }
332
- var mapCacheGet_default = mapCacheGet;
333
- function mapCacheHas(key) {
334
- return getMapData_default(this, key).has(key);
335
- }
336
- var mapCacheHas_default = mapCacheHas;
337
- function mapCacheSet(key, value) {
338
- var data = getMapData_default(this, key), size = data.size;
339
- data.set(key, value);
340
- this.size += data.size == size ? 0 : 1;
341
- return this;
275
+ var baseAssignValue_default = baseAssignValue;
276
+ function eq(value, other) {
277
+ return value === other || value !== value && other !== other;
342
278
  }
343
- var mapCacheSet_default = mapCacheSet;
344
- function MapCache(entries) {
345
- var index = -1, length = entries == null ? 0 : entries.length;
346
- this.clear();
347
- while (++index < length) {
348
- var entry = entries[index];
349
- this.set(entry[0], entry[1]);
279
+ var eq_default = eq;
280
+ var objectProto4 = Object.prototype;
281
+ var hasOwnProperty3 = objectProto4.hasOwnProperty;
282
+ function assignValue(object, key, value) {
283
+ var objValue = object[key];
284
+ if (!(hasOwnProperty3.call(object, key) && eq_default(objValue, value)) || value === void 0 && !(key in object)) {
285
+ baseAssignValue_default(object, key, value);
350
286
  }
351
287
  }
352
- MapCache.prototype.clear = mapCacheClear_default;
353
- MapCache.prototype["delete"] = mapCacheDelete_default;
354
- MapCache.prototype.get = mapCacheGet_default;
355
- MapCache.prototype.has = mapCacheHas_default;
356
- MapCache.prototype.set = mapCacheSet_default;
357
- var MapCache_default = MapCache;
358
- var LARGE_ARRAY_SIZE = 200;
359
- function stackSet(key, value) {
360
- var data = this.__data__;
361
- if (data instanceof ListCache_default) {
362
- var pairs = data.__data__;
363
- if (!Map_default || pairs.length < LARGE_ARRAY_SIZE - 1) {
364
- pairs.push([
365
- key,
366
- value
367
- ]);
368
- this.size = ++data.size;
369
- return this;
288
+ var assignValue_default = assignValue;
289
+ function copyObject(source, props, object, customizer) {
290
+ var isNew = !object;
291
+ object || (object = {});
292
+ var index = -1, length = props.length;
293
+ while (++index < length) {
294
+ var key = props[index];
295
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
296
+ if (newValue === void 0) {
297
+ newValue = source[key];
298
+ }
299
+ if (isNew) {
300
+ baseAssignValue_default(object, key, newValue);
301
+ } else {
302
+ assignValue_default(object, key, newValue);
370
303
  }
371
- data = this.__data__ = new MapCache_default(pairs);
372
- }
373
- data.set(key, value);
374
- this.size = data.size;
375
- return this;
376
- }
377
- var stackSet_default = stackSet;
378
- function Stack(entries) {
379
- var data = this.__data__ = new ListCache_default(entries);
380
- this.size = data.size;
381
- }
382
- Stack.prototype.clear = stackClear_default;
383
- Stack.prototype["delete"] = stackDelete_default;
384
- Stack.prototype.get = stackGet_default;
385
- Stack.prototype.has = stackHas_default;
386
- Stack.prototype.set = stackSet_default;
387
- var Stack_default = Stack;
388
- var defineProperty = function() {
389
- try {
390
- var func = getNative_default(Object, "defineProperty");
391
- func({}, "", {});
392
- return func;
393
- } catch (e) {
394
- }
395
- }();
396
- var defineProperty_default = defineProperty;
397
- function baseAssignValue(object, key, value) {
398
- if (key == "__proto__" && defineProperty_default) {
399
- defineProperty_default(object, key, {
400
- "configurable": true,
401
- "enumerable": true,
402
- "value": value,
403
- "writable": true
404
- });
405
- } else {
406
- object[key] = value;
407
- }
408
- }
409
- var baseAssignValue_default = baseAssignValue;
410
- function assignMergeValue(object, key, value) {
411
- if (value !== void 0 && !eq_default(object[key], value) || value === void 0 && !(key in object)) {
412
- baseAssignValue_default(object, key, value);
413
304
  }
305
+ return object;
414
306
  }
415
- var assignMergeValue_default = assignMergeValue;
416
- function createBaseFor(fromRight) {
417
- return function(object, iteratee, keysFunc) {
418
- var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
419
- while (length--) {
420
- var key = props[fromRight ? length : ++index];
421
- if (iteratee(iterable[key], key, iterable) === false) {
422
- break;
423
- }
307
+ var copyObject_default = copyObject;
308
+ var nativeMax = Math.max;
309
+ function overRest(func, start, transform) {
310
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
311
+ return function() {
312
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
313
+ while (++index < length) {
314
+ array[index] = args[start + index];
424
315
  }
425
- return object;
316
+ index = -1;
317
+ var otherArgs = Array(start + 1);
318
+ while (++index < start) {
319
+ otherArgs[index] = args[index];
320
+ }
321
+ otherArgs[start] = transform(array);
322
+ return apply_default(func, this, otherArgs);
426
323
  };
427
324
  }
428
- var createBaseFor_default = createBaseFor;
429
- var baseFor = createBaseFor_default();
430
- var baseFor_default = baseFor;
431
- var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
432
- var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
433
- var moduleExports = freeModule && freeModule.exports === freeExports;
434
- var Buffer2 = moduleExports ? root_default.Buffer : void 0;
435
- var allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : void 0;
436
- function cloneBuffer(buffer, isDeep) {
437
- if (isDeep) {
438
- return buffer.slice();
439
- }
440
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
441
- buffer.copy(result);
442
- return result;
325
+ var overRest_default = overRest;
326
+ function baseRest(func, start) {
327
+ return setToString_default(overRest_default(func, start, identity_default), func + "");
443
328
  }
444
- var cloneBuffer_default = cloneBuffer;
445
- var Uint8Array2 = root_default.Uint8Array;
446
- var Uint8Array_default = Uint8Array2;
447
- function cloneArrayBuffer(arrayBuffer) {
448
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
449
- new Uint8Array_default(result).set(new Uint8Array_default(arrayBuffer));
450
- return result;
329
+ var baseRest_default = baseRest;
330
+ var MAX_SAFE_INTEGER2 = 9007199254740991;
331
+ function isLength(value) {
332
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER2;
451
333
  }
452
- var cloneArrayBuffer_default = cloneArrayBuffer;
453
- function cloneTypedArray(typedArray, isDeep) {
454
- var buffer = isDeep ? cloneArrayBuffer_default(typedArray.buffer) : typedArray.buffer;
455
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
334
+ var isLength_default = isLength;
335
+ function isArrayLike(value) {
336
+ return value != null && isLength_default(value.length) && !isFunction_default(value);
456
337
  }
457
- var cloneTypedArray_default = cloneTypedArray;
458
- function copyArray(source, array) {
459
- var index = -1, length = source.length;
460
- array || (array = Array(length));
461
- while (++index < length) {
462
- array[index] = source[index];
338
+ var isArrayLike_default = isArrayLike;
339
+ function isIterateeCall(value, index, object) {
340
+ if (!isObject_default(object)) {
341
+ return false;
463
342
  }
464
- return array;
465
- }
466
- var copyArray_default = copyArray;
467
- var objectCreate = Object.create;
468
- var baseCreate = function() {
469
- function object() {
343
+ var type = typeof index;
344
+ if (type == "number" ? isArrayLike_default(object) && isIndex_default(index, object.length) : type == "string" && index in object) {
345
+ return eq_default(object[index], value);
470
346
  }
471
- return function(proto) {
472
- if (!isObject_default(proto)) {
473
- return {};
347
+ return false;
348
+ }
349
+ var isIterateeCall_default = isIterateeCall;
350
+ function createAssigner(assigner) {
351
+ return baseRest_default(function(object, sources) {
352
+ var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
353
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
354
+ if (guard && isIterateeCall_default(sources[0], sources[1], guard)) {
355
+ customizer = length < 3 ? void 0 : customizer;
356
+ length = 1;
474
357
  }
475
- if (objectCreate) {
476
- return objectCreate(proto);
358
+ object = Object(object);
359
+ while (++index < length) {
360
+ var source = sources[index];
361
+ if (source) {
362
+ assigner(object, source, index, customizer);
363
+ }
477
364
  }
478
- object.prototype = proto;
479
- var result = new object();
480
- object.prototype = void 0;
481
- return result;
482
- };
483
- }();
484
- var baseCreate_default = baseCreate;
485
- function overArg(func, transform) {
486
- return function(arg) {
487
- return func(transform(arg));
488
- };
365
+ return object;
366
+ });
489
367
  }
490
- var overArg_default = overArg;
491
- var getPrototype = overArg_default(Object.getPrototypeOf, Object);
492
- var getPrototype_default = getPrototype;
493
- var objectProto6 = Object.prototype;
368
+ var createAssigner_default = createAssigner;
369
+ var objectProto5 = Object.prototype;
494
370
  function isPrototype(value) {
495
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto6;
371
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto5;
496
372
  return value === proto;
497
373
  }
498
374
  var isPrototype_default = isPrototype;
499
- function initCloneObject(object) {
500
- return typeof object.constructor == "function" && !isPrototype_default(object) ? baseCreate_default(getPrototype_default(object)) : {};
501
- }
502
- var initCloneObject_default = initCloneObject;
503
- function isObjectLike(value) {
504
- return value != null && typeof value == "object";
375
+ function baseTimes(n, iteratee) {
376
+ var index = -1, result = Array(n);
377
+ while (++index < n) {
378
+ result[index] = iteratee(index);
379
+ }
380
+ return result;
505
381
  }
506
- var isObjectLike_default = isObjectLike;
382
+ var baseTimes_default = baseTimes;
507
383
  var argsTag = "[object Arguments]";
508
384
  function baseIsArguments(value) {
509
385
  return isObjectLike_default(value) && baseGetTag_default(value) == argsTag;
510
386
  }
511
387
  var baseIsArguments_default = baseIsArguments;
512
- var objectProto7 = Object.prototype;
513
- var hasOwnProperty5 = objectProto7.hasOwnProperty;
514
- var propertyIsEnumerable = objectProto7.propertyIsEnumerable;
388
+ var objectProto6 = Object.prototype;
389
+ var hasOwnProperty4 = objectProto6.hasOwnProperty;
390
+ var propertyIsEnumerable = objectProto6.propertyIsEnumerable;
515
391
  var isArguments = baseIsArguments_default(function() {
516
392
  return arguments;
517
393
  }()) ? baseIsArguments_default : function(value) {
518
- return isObjectLike_default(value) && hasOwnProperty5.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
394
+ return isObjectLike_default(value) && hasOwnProperty4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
519
395
  };
520
396
  var isArguments_default = isArguments;
521
- var isArray = Array.isArray;
522
- var isArray_default = isArray;
523
- var MAX_SAFE_INTEGER = 9007199254740991;
524
- function isLength(value) {
525
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
526
- }
527
- var isLength_default = isLength;
528
- function isArrayLike(value) {
529
- return value != null && isLength_default(value.length) && !isFunction_default(value);
530
- }
531
- var isArrayLike_default = isArrayLike;
532
- function isArrayLikeObject(value) {
533
- return isObjectLike_default(value) && isArrayLike_default(value);
534
- }
535
- var isArrayLikeObject_default = isArrayLikeObject;
536
397
  function stubFalse() {
537
398
  return false;
538
399
  }
539
400
  var stubFalse_default = stubFalse;
540
- var freeExports2 = typeof exports == "object" && exports && !exports.nodeType && exports;
541
- var freeModule2 = freeExports2 && typeof module == "object" && module && !module.nodeType && module;
542
- var moduleExports2 = freeModule2 && freeModule2.exports === freeExports2;
543
- var Buffer22 = moduleExports2 ? root_default.Buffer : void 0;
544
- var nativeIsBuffer = Buffer22 ? Buffer22.isBuffer : void 0;
401
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
402
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
403
+ var moduleExports = freeModule && freeModule.exports === freeExports;
404
+ var Buffer2 = moduleExports ? root_default.Buffer : void 0;
405
+ var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
545
406
  var isBuffer = nativeIsBuffer || stubFalse_default;
546
407
  var isBuffer_default = isBuffer;
547
- var objectTag = "[object Object]";
548
- var funcProto3 = Function.prototype;
549
- var objectProto8 = Object.prototype;
550
- var funcToString3 = funcProto3.toString;
551
- var hasOwnProperty6 = objectProto8.hasOwnProperty;
552
- var objectCtorString = funcToString3.call(Object);
553
- function isPlainObject(value) {
554
- if (!isObjectLike_default(value) || baseGetTag_default(value) != objectTag) {
555
- return false;
556
- }
557
- var proto = getPrototype_default(value);
558
- if (proto === null) {
559
- return true;
560
- }
561
- var Ctor = hasOwnProperty6.call(proto, "constructor") && proto.constructor;
562
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString3.call(Ctor) == objectCtorString;
563
- }
564
- var isPlainObject_default = isPlainObject;
565
408
  var argsTag2 = "[object Arguments]";
566
409
  var arrayTag = "[object Array]";
567
410
  var boolTag = "[object Boolean]";
@@ -570,7 +413,7 @@ var errorTag = "[object Error]";
570
413
  var funcTag2 = "[object Function]";
571
414
  var mapTag = "[object Map]";
572
415
  var numberTag = "[object Number]";
573
- var objectTag2 = "[object Object]";
416
+ var objectTag = "[object Object]";
574
417
  var regexpTag = "[object RegExp]";
575
418
  var setTag = "[object Set]";
576
419
  var stringTag = "[object String]";
@@ -588,7 +431,7 @@ var uint16Tag = "[object Uint16Array]";
588
431
  var uint32Tag = "[object Uint32Array]";
589
432
  var typedArrayTags = {};
590
433
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
591
- typedArrayTags[argsTag2] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag2] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag2] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
434
+ typedArrayTags[argsTag2] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag2] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
592
435
  function baseIsTypedArray(value) {
593
436
  return isObjectLike_default(value) && isLength_default(value.length) && !!typedArrayTags[baseGetTag_default(value)];
594
437
  }
@@ -599,13 +442,13 @@ function baseUnary(func) {
599
442
  };
600
443
  }
601
444
  var baseUnary_default = baseUnary;
602
- var freeExports3 = typeof exports == "object" && exports && !exports.nodeType && exports;
603
- var freeModule3 = freeExports3 && typeof module == "object" && module && !module.nodeType && module;
604
- var moduleExports3 = freeModule3 && freeModule3.exports === freeExports3;
605
- var freeProcess = moduleExports3 && freeGlobal_default.process;
445
+ var freeExports2 = typeof exports == "object" && exports && !exports.nodeType && exports;
446
+ var freeModule2 = freeExports2 && typeof module == "object" && module && !module.nodeType && module;
447
+ var moduleExports2 = freeModule2 && freeModule2.exports === freeExports2;
448
+ var freeProcess = moduleExports2 && freeGlobal_default.process;
606
449
  var nodeUtil = function() {
607
450
  try {
608
- var types = freeModule3 && freeModule3.require && freeModule3.require("util").types;
451
+ var types = freeModule2 && freeModule2.require && freeModule2.require("util").types;
609
452
  if (types) {
610
453
  return types;
611
454
  }
@@ -617,105 +460,365 @@ var nodeUtil_default = nodeUtil;
617
460
  var nodeIsTypedArray = nodeUtil_default && nodeUtil_default.isTypedArray;
618
461
  var isTypedArray = nodeIsTypedArray ? baseUnary_default(nodeIsTypedArray) : baseIsTypedArray_default;
619
462
  var isTypedArray_default = isTypedArray;
620
- function safeGet(object, key) {
621
- if (key === "constructor" && typeof object[key] === "function") {
622
- return;
463
+ var objectProto7 = Object.prototype;
464
+ var hasOwnProperty5 = objectProto7.hasOwnProperty;
465
+ function arrayLikeKeys(value, inherited) {
466
+ var isArr = isArray_default(value), isArg = !isArr && isArguments_default(value), isBuff = !isArr && !isArg && isBuffer_default(value), isType = !isArr && !isArg && !isBuff && isTypedArray_default(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes_default(value.length, String) : [], length = result.length;
467
+ for (var key in value) {
468
+ if ((inherited || hasOwnProperty5.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
469
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
470
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
471
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
472
+ isIndex_default(key, length)))) {
473
+ result.push(key);
474
+ }
623
475
  }
624
- if (key == "__proto__") {
625
- return;
476
+ return result;
477
+ }
478
+ var arrayLikeKeys_default = arrayLikeKeys;
479
+ function overArg(func, transform) {
480
+ return function(arg) {
481
+ return func(transform(arg));
482
+ };
483
+ }
484
+ var overArg_default = overArg;
485
+ function nativeKeysIn(object) {
486
+ var result = [];
487
+ if (object != null) {
488
+ for (var key in Object(object)) {
489
+ result.push(key);
490
+ }
626
491
  }
627
- return object[key];
492
+ return result;
628
493
  }
629
- var safeGet_default = safeGet;
494
+ var nativeKeysIn_default = nativeKeysIn;
495
+ var objectProto8 = Object.prototype;
496
+ var hasOwnProperty6 = objectProto8.hasOwnProperty;
497
+ function baseKeysIn(object) {
498
+ if (!isObject_default(object)) {
499
+ return nativeKeysIn_default(object);
500
+ }
501
+ var isProto = isPrototype_default(object), result = [];
502
+ for (var key in object) {
503
+ if (!(key == "constructor" && (isProto || !hasOwnProperty6.call(object, key)))) {
504
+ result.push(key);
505
+ }
506
+ }
507
+ return result;
508
+ }
509
+ var baseKeysIn_default = baseKeysIn;
510
+ function keysIn(object) {
511
+ return isArrayLike_default(object) ? arrayLikeKeys_default(object, true) : baseKeysIn_default(object);
512
+ }
513
+ var keysIn_default = keysIn;
514
+ var nativeCreate = getNative_default(Object, "create");
515
+ var nativeCreate_default = nativeCreate;
516
+ function hashClear() {
517
+ this.__data__ = nativeCreate_default ? nativeCreate_default(null) : {};
518
+ this.size = 0;
519
+ }
520
+ var hashClear_default = hashClear;
521
+ function hashDelete(key) {
522
+ var result = this.has(key) && delete this.__data__[key];
523
+ this.size -= result ? 1 : 0;
524
+ return result;
525
+ }
526
+ var hashDelete_default = hashDelete;
527
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
630
528
  var objectProto9 = Object.prototype;
631
529
  var hasOwnProperty7 = objectProto9.hasOwnProperty;
632
- function assignValue(object, key, value) {
633
- var objValue = object[key];
634
- if (!(hasOwnProperty7.call(object, key) && eq_default(objValue, value)) || value === void 0 && !(key in object)) {
635
- baseAssignValue_default(object, key, value);
530
+ function hashGet(key) {
531
+ var data = this.__data__;
532
+ if (nativeCreate_default) {
533
+ var result = data[key];
534
+ return result === HASH_UNDEFINED ? void 0 : result;
636
535
  }
536
+ return hasOwnProperty7.call(data, key) ? data[key] : void 0;
637
537
  }
638
- var assignValue_default = assignValue;
639
- function copyObject(source, props, object, customizer) {
640
- var isNew = !object;
641
- object || (object = {});
642
- var index = -1, length = props.length;
538
+ var hashGet_default = hashGet;
539
+ var objectProto10 = Object.prototype;
540
+ var hasOwnProperty8 = objectProto10.hasOwnProperty;
541
+ function hashHas(key) {
542
+ var data = this.__data__;
543
+ return nativeCreate_default ? data[key] !== void 0 : hasOwnProperty8.call(data, key);
544
+ }
545
+ var hashHas_default = hashHas;
546
+ var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
547
+ function hashSet(key, value) {
548
+ var data = this.__data__;
549
+ this.size += this.has(key) ? 0 : 1;
550
+ data[key] = nativeCreate_default && value === void 0 ? HASH_UNDEFINED2 : value;
551
+ return this;
552
+ }
553
+ var hashSet_default = hashSet;
554
+ function Hash(entries) {
555
+ var index = -1, length = entries == null ? 0 : entries.length;
556
+ this.clear();
643
557
  while (++index < length) {
644
- var key = props[index];
645
- var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
646
- if (newValue === void 0) {
647
- newValue = source[key];
648
- }
649
- if (isNew) {
650
- baseAssignValue_default(object, key, newValue);
651
- } else {
652
- assignValue_default(object, key, newValue);
558
+ var entry = entries[index];
559
+ this.set(entry[0], entry[1]);
560
+ }
561
+ }
562
+ Hash.prototype.clear = hashClear_default;
563
+ Hash.prototype["delete"] = hashDelete_default;
564
+ Hash.prototype.get = hashGet_default;
565
+ Hash.prototype.has = hashHas_default;
566
+ Hash.prototype.set = hashSet_default;
567
+ var Hash_default = Hash;
568
+ function listCacheClear() {
569
+ this.__data__ = [];
570
+ this.size = 0;
571
+ }
572
+ var listCacheClear_default = listCacheClear;
573
+ function assocIndexOf(array, key) {
574
+ var length = array.length;
575
+ while (length--) {
576
+ if (eq_default(array[length][0], key)) {
577
+ return length;
653
578
  }
654
579
  }
655
- return object;
580
+ return -1;
581
+ }
582
+ var assocIndexOf_default = assocIndexOf;
583
+ var arrayProto = Array.prototype;
584
+ var splice = arrayProto.splice;
585
+ function listCacheDelete(key) {
586
+ var data = this.__data__, index = assocIndexOf_default(data, key);
587
+ if (index < 0) {
588
+ return false;
589
+ }
590
+ var lastIndex = data.length - 1;
591
+ if (index == lastIndex) {
592
+ data.pop();
593
+ } else {
594
+ splice.call(data, index, 1);
595
+ }
596
+ --this.size;
597
+ return true;
598
+ }
599
+ var listCacheDelete_default = listCacheDelete;
600
+ function listCacheGet(key) {
601
+ var data = this.__data__, index = assocIndexOf_default(data, key);
602
+ return index < 0 ? void 0 : data[index][1];
603
+ }
604
+ var listCacheGet_default = listCacheGet;
605
+ function listCacheHas(key) {
606
+ return assocIndexOf_default(this.__data__, key) > -1;
607
+ }
608
+ var listCacheHas_default = listCacheHas;
609
+ function listCacheSet(key, value) {
610
+ var data = this.__data__, index = assocIndexOf_default(data, key);
611
+ if (index < 0) {
612
+ ++this.size;
613
+ data.push([key, value]);
614
+ } else {
615
+ data[index][1] = value;
616
+ }
617
+ return this;
618
+ }
619
+ var listCacheSet_default = listCacheSet;
620
+ function ListCache(entries) {
621
+ var index = -1, length = entries == null ? 0 : entries.length;
622
+ this.clear();
623
+ while (++index < length) {
624
+ var entry = entries[index];
625
+ this.set(entry[0], entry[1]);
626
+ }
627
+ }
628
+ ListCache.prototype.clear = listCacheClear_default;
629
+ ListCache.prototype["delete"] = listCacheDelete_default;
630
+ ListCache.prototype.get = listCacheGet_default;
631
+ ListCache.prototype.has = listCacheHas_default;
632
+ ListCache.prototype.set = listCacheSet_default;
633
+ var ListCache_default = ListCache;
634
+ var Map = getNative_default(root_default, "Map");
635
+ var Map_default = Map;
636
+ function mapCacheClear() {
637
+ this.size = 0;
638
+ this.__data__ = {
639
+ "hash": new Hash_default(),
640
+ "map": new (Map_default || ListCache_default)(),
641
+ "string": new Hash_default()
642
+ };
643
+ }
644
+ var mapCacheClear_default = mapCacheClear;
645
+ function isKeyable(value) {
646
+ var type = typeof value;
647
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
648
+ }
649
+ var isKeyable_default = isKeyable;
650
+ function getMapData(map, key) {
651
+ var data = map.__data__;
652
+ return isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
653
+ }
654
+ var getMapData_default = getMapData;
655
+ function mapCacheDelete(key) {
656
+ var result = getMapData_default(this, key)["delete"](key);
657
+ this.size -= result ? 1 : 0;
658
+ return result;
659
+ }
660
+ var mapCacheDelete_default = mapCacheDelete;
661
+ function mapCacheGet(key) {
662
+ return getMapData_default(this, key).get(key);
663
+ }
664
+ var mapCacheGet_default = mapCacheGet;
665
+ function mapCacheHas(key) {
666
+ return getMapData_default(this, key).has(key);
667
+ }
668
+ var mapCacheHas_default = mapCacheHas;
669
+ function mapCacheSet(key, value) {
670
+ var data = getMapData_default(this, key), size = data.size;
671
+ data.set(key, value);
672
+ this.size += data.size == size ? 0 : 1;
673
+ return this;
674
+ }
675
+ var mapCacheSet_default = mapCacheSet;
676
+ function MapCache(entries) {
677
+ var index = -1, length = entries == null ? 0 : entries.length;
678
+ this.clear();
679
+ while (++index < length) {
680
+ var entry = entries[index];
681
+ this.set(entry[0], entry[1]);
682
+ }
683
+ }
684
+ MapCache.prototype.clear = mapCacheClear_default;
685
+ MapCache.prototype["delete"] = mapCacheDelete_default;
686
+ MapCache.prototype.get = mapCacheGet_default;
687
+ MapCache.prototype.has = mapCacheHas_default;
688
+ MapCache.prototype.set = mapCacheSet_default;
689
+ var MapCache_default = MapCache;
690
+ var getPrototype = overArg_default(Object.getPrototypeOf, Object);
691
+ var getPrototype_default = getPrototype;
692
+ var objectTag2 = "[object Object]";
693
+ var funcProto3 = Function.prototype;
694
+ var objectProto11 = Object.prototype;
695
+ var funcToString3 = funcProto3.toString;
696
+ var hasOwnProperty9 = objectProto11.hasOwnProperty;
697
+ var objectCtorString = funcToString3.call(Object);
698
+ function isPlainObject(value) {
699
+ if (!isObjectLike_default(value) || baseGetTag_default(value) != objectTag2) {
700
+ return false;
701
+ }
702
+ var proto = getPrototype_default(value);
703
+ if (proto === null) {
704
+ return true;
705
+ }
706
+ var Ctor = hasOwnProperty9.call(proto, "constructor") && proto.constructor;
707
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString3.call(Ctor) == objectCtorString;
656
708
  }
657
- var copyObject_default = copyObject;
658
- function baseTimes(n, iteratee) {
659
- var index = -1, result = Array(n);
660
- while (++index < n) {
661
- result[index] = iteratee(index);
662
- }
709
+ var isPlainObject_default = isPlainObject;
710
+ function stackClear() {
711
+ this.__data__ = new ListCache_default();
712
+ this.size = 0;
713
+ }
714
+ var stackClear_default = stackClear;
715
+ function stackDelete(key) {
716
+ var data = this.__data__, result = data["delete"](key);
717
+ this.size = data.size;
663
718
  return result;
664
719
  }
665
- var baseTimes_default = baseTimes;
666
- var MAX_SAFE_INTEGER2 = 9007199254740991;
667
- var reIsUint = /^(?:0|[1-9]\d*)$/;
668
- function isIndex(value, length) {
669
- var type = typeof value;
670
- length = length == null ? MAX_SAFE_INTEGER2 : length;
671
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
720
+ var stackDelete_default = stackDelete;
721
+ function stackGet(key) {
722
+ return this.__data__.get(key);
672
723
  }
673
- var isIndex_default = isIndex;
674
- var objectProto10 = Object.prototype;
675
- var hasOwnProperty8 = objectProto10.hasOwnProperty;
676
- function arrayLikeKeys(value, inherited) {
677
- var isArr = isArray_default(value), isArg = !isArr && isArguments_default(value), isBuff = !isArr && !isArg && isBuffer_default(value), isType = !isArr && !isArg && !isBuff && isTypedArray_default(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes_default(value.length, String) : [], length = result.length;
678
- for (var key in value) {
679
- if ((inherited || hasOwnProperty8.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
680
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
681
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
682
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
683
- isIndex_default(key, length)))) {
684
- result.push(key);
724
+ var stackGet_default = stackGet;
725
+ function stackHas(key) {
726
+ return this.__data__.has(key);
727
+ }
728
+ var stackHas_default = stackHas;
729
+ var LARGE_ARRAY_SIZE = 200;
730
+ function stackSet(key, value) {
731
+ var data = this.__data__;
732
+ if (data instanceof ListCache_default) {
733
+ var pairs = data.__data__;
734
+ if (!Map_default || pairs.length < LARGE_ARRAY_SIZE - 1) {
735
+ pairs.push([key, value]);
736
+ this.size = ++data.size;
737
+ return this;
685
738
  }
739
+ data = this.__data__ = new MapCache_default(pairs);
686
740
  }
687
- return result;
741
+ data.set(key, value);
742
+ this.size = data.size;
743
+ return this;
688
744
  }
689
- var arrayLikeKeys_default = arrayLikeKeys;
690
- function nativeKeysIn(object) {
691
- var result = [];
692
- if (object != null) {
693
- for (var key in Object(object)) {
694
- result.push(key);
695
- }
745
+ var stackSet_default = stackSet;
746
+ function Stack(entries) {
747
+ var data = this.__data__ = new ListCache_default(entries);
748
+ this.size = data.size;
749
+ }
750
+ Stack.prototype.clear = stackClear_default;
751
+ Stack.prototype["delete"] = stackDelete_default;
752
+ Stack.prototype.get = stackGet_default;
753
+ Stack.prototype.has = stackHas_default;
754
+ Stack.prototype.set = stackSet_default;
755
+ var Stack_default = Stack;
756
+ var freeExports3 = typeof exports == "object" && exports && !exports.nodeType && exports;
757
+ var freeModule3 = freeExports3 && typeof module == "object" && module && !module.nodeType && module;
758
+ var moduleExports3 = freeModule3 && freeModule3.exports === freeExports3;
759
+ var Buffer22 = moduleExports3 ? root_default.Buffer : void 0;
760
+ var allocUnsafe = Buffer22 ? Buffer22.allocUnsafe : void 0;
761
+ function cloneBuffer(buffer, isDeep) {
762
+ if (isDeep) {
763
+ return buffer.slice();
696
764
  }
765
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
766
+ buffer.copy(result);
697
767
  return result;
698
768
  }
699
- var nativeKeysIn_default = nativeKeysIn;
700
- var objectProto11 = Object.prototype;
701
- var hasOwnProperty9 = objectProto11.hasOwnProperty;
702
- function baseKeysIn(object) {
703
- if (!isObject_default(object)) {
704
- return nativeKeysIn_default(object);
705
- }
706
- var isProto = isPrototype_default(object), result = [];
707
- for (var key in object) {
708
- if (!(key == "constructor" && (isProto || !hasOwnProperty9.call(object, key)))) {
709
- result.push(key);
769
+ var cloneBuffer_default = cloneBuffer;
770
+ var Uint8Array2 = root_default.Uint8Array;
771
+ var Uint8Array_default = Uint8Array2;
772
+ function cloneArrayBuffer(arrayBuffer) {
773
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
774
+ new Uint8Array_default(result).set(new Uint8Array_default(arrayBuffer));
775
+ return result;
776
+ }
777
+ var cloneArrayBuffer_default = cloneArrayBuffer;
778
+ function cloneTypedArray(typedArray, isDeep) {
779
+ var buffer = isDeep ? cloneArrayBuffer_default(typedArray.buffer) : typedArray.buffer;
780
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
781
+ }
782
+ var cloneTypedArray_default = cloneTypedArray;
783
+ function initCloneObject(object) {
784
+ return typeof object.constructor == "function" && !isPrototype_default(object) ? baseCreate_default(getPrototype_default(object)) : {};
785
+ }
786
+ var initCloneObject_default = initCloneObject;
787
+ function createBaseFor(fromRight) {
788
+ return function(object, iteratee, keysFunc) {
789
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
790
+ while (length--) {
791
+ var key = props[fromRight ? length : ++index];
792
+ if (iteratee(iterable[key], key, iterable) === false) {
793
+ break;
794
+ }
710
795
  }
796
+ return object;
797
+ };
798
+ }
799
+ var createBaseFor_default = createBaseFor;
800
+ var baseFor = createBaseFor_default();
801
+ var baseFor_default = baseFor;
802
+ function assignMergeValue(object, key, value) {
803
+ if (value !== void 0 && !eq_default(object[key], value) || value === void 0 && !(key in object)) {
804
+ baseAssignValue_default(object, key, value);
711
805
  }
712
- return result;
713
806
  }
714
- var baseKeysIn_default = baseKeysIn;
715
- function keysIn(object) {
716
- return isArrayLike_default(object) ? arrayLikeKeys_default(object, true) : baseKeysIn_default(object);
807
+ var assignMergeValue_default = assignMergeValue;
808
+ function isArrayLikeObject(value) {
809
+ return isObjectLike_default(value) && isArrayLike_default(value);
717
810
  }
718
- var keysIn_default = keysIn;
811
+ var isArrayLikeObject_default = isArrayLikeObject;
812
+ function safeGet(object, key) {
813
+ if (key === "constructor" && typeof object[key] === "function") {
814
+ return;
815
+ }
816
+ if (key == "__proto__") {
817
+ return;
818
+ }
819
+ return object[key];
820
+ }
821
+ var safeGet_default = safeGet;
719
822
  function toPlainObject(value) {
720
823
  return copyObject_default(value, keysIn_default(value));
721
824
  }
@@ -782,112 +885,6 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
782
885
  }, keysIn_default);
783
886
  }
784
887
  var baseMerge_default = baseMerge;
785
- function identity(value) {
786
- return value;
787
- }
788
- var identity_default = identity;
789
- function apply(func, thisArg, args) {
790
- switch (args.length) {
791
- case 0:
792
- return func.call(thisArg);
793
- case 1:
794
- return func.call(thisArg, args[0]);
795
- case 2:
796
- return func.call(thisArg, args[0], args[1]);
797
- case 3:
798
- return func.call(thisArg, args[0], args[1], args[2]);
799
- }
800
- return func.apply(thisArg, args);
801
- }
802
- var apply_default = apply;
803
- var nativeMax = Math.max;
804
- function overRest(func, start, transform) {
805
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
806
- return function() {
807
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
808
- while (++index < length) {
809
- array[index] = args[start + index];
810
- }
811
- index = -1;
812
- var otherArgs = Array(start + 1);
813
- while (++index < start) {
814
- otherArgs[index] = args[index];
815
- }
816
- otherArgs[start] = transform(array);
817
- return apply_default(func, this, otherArgs);
818
- };
819
- }
820
- var overRest_default = overRest;
821
- function constant(value) {
822
- return function() {
823
- return value;
824
- };
825
- }
826
- var constant_default = constant;
827
- var baseSetToString = !defineProperty_default ? identity_default : function(func, string) {
828
- return defineProperty_default(func, "toString", {
829
- "configurable": true,
830
- "enumerable": false,
831
- "value": constant_default(string),
832
- "writable": true
833
- });
834
- };
835
- var baseSetToString_default = baseSetToString;
836
- var HOT_COUNT = 800;
837
- var HOT_SPAN = 16;
838
- var nativeNow = Date.now;
839
- function shortOut(func) {
840
- var count = 0, lastCalled = 0;
841
- return function() {
842
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
843
- lastCalled = stamp;
844
- if (remaining > 0) {
845
- if (++count >= HOT_COUNT) {
846
- return arguments[0];
847
- }
848
- } else {
849
- count = 0;
850
- }
851
- return func.apply(void 0, arguments);
852
- };
853
- }
854
- var shortOut_default = shortOut;
855
- var setToString = shortOut_default(baseSetToString_default);
856
- var setToString_default = setToString;
857
- function baseRest(func, start) {
858
- return setToString_default(overRest_default(func, start, identity_default), func + "");
859
- }
860
- var baseRest_default = baseRest;
861
- function isIterateeCall(value, index, object) {
862
- if (!isObject_default(object)) {
863
- return false;
864
- }
865
- var type = typeof index;
866
- if (type == "number" ? isArrayLike_default(object) && isIndex_default(index, object.length) : type == "string" && index in object) {
867
- return eq_default(object[index], value);
868
- }
869
- return false;
870
- }
871
- var isIterateeCall_default = isIterateeCall;
872
- function createAssigner(assigner) {
873
- return baseRest_default(function(object, sources) {
874
- var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
875
- customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
876
- if (guard && isIterateeCall_default(sources[0], sources[1], guard)) {
877
- customizer = length < 3 ? void 0 : customizer;
878
- length = 1;
879
- }
880
- object = Object(object);
881
- while (++index < length) {
882
- var source = sources[index];
883
- if (source) {
884
- assigner(object, source, index, customizer);
885
- }
886
- }
887
- return object;
888
- });
889
- }
890
- var createAssigner_default = createAssigner;
891
888
  var mergeWith = createAssigner_default(function(object, source, srcIndex, customizer) {
892
889
  baseMerge_default(object, source, srcIndex, customizer);
893
890
  });
@@ -993,12 +990,16 @@ var docgen = async ({
993
990
  `Unable to parse API document in ${moduleSourceFilePath}`
994
991
  );
995
992
  }
996
- languages.forEach((language) => {
997
- apiDocMap[`${key}-${language}`] = generateTable(
998
- componentDoc,
999
- language
1000
- );
1001
- });
993
+ if (languages.length > 0) {
994
+ languages.forEach((language) => {
995
+ apiDocMap[`${key}-${language}`] = generateTable(
996
+ componentDoc,
997
+ language
998
+ );
999
+ });
1000
+ } else {
1001
+ apiDocMap[key] = generateTable(componentDoc, "en");
1002
+ }
1002
1003
  }
1003
1004
  } catch (e) {
1004
1005
  if (e instanceof Error) {
@@ -1159,5 +1160,18 @@ function pluginApiDocgen(options) {
1159
1160
  0 && (module.exports = {
1160
1161
  pluginApiDocgen
1161
1162
  });
1163
+ /*! Bundled license information:
1164
+
1165
+ lodash-es/lodash.js:
1166
+ (**
1167
+ * @license
1168
+ * Lodash (Custom Build) <https://lodash.com/>
1169
+ * Build: `lodash modularize exports="es" -o ./`
1170
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
1171
+ * Released under MIT license <https://lodash.com/license>
1172
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
1173
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
1174
+ *)
1175
+ */
1162
1176
 
1163
1177
  //# sourceMappingURL=index.js.map