@tryghost/helpers 1.1.49 → 1.1.53

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/cjs/helpers.js CHANGED
@@ -76,14 +76,20 @@ function baseIndexOf(array, value, fromIndex) {
76
76
  /** Detect free variable `global` from Node.js. */
77
77
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
78
78
 
79
+ var freeGlobal$1 = freeGlobal;
80
+
79
81
  /** Detect free variable `self`. */
80
82
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
81
83
 
82
84
  /** Used as a reference to the global object. */
83
- var root = freeGlobal || freeSelf || Function('return this')();
85
+ var root = freeGlobal$1 || freeSelf || Function('return this')();
86
+
87
+ var root$1 = root;
84
88
 
85
89
  /** Built-in value references. */
86
- var Symbol = root.Symbol;
90
+ var Symbol = root$1.Symbol;
91
+
92
+ var Symbol$1 = Symbol;
87
93
 
88
94
  /** Used for built-in method references. */
89
95
  var objectProto$b = Object.prototype;
@@ -99,7 +105,7 @@ var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
99
105
  var nativeObjectToString$1 = objectProto$b.toString;
100
106
 
101
107
  /** Built-in value references. */
102
- var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
108
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
103
109
 
104
110
  /**
105
111
  * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
@@ -154,7 +160,7 @@ var nullTag = '[object Null]',
154
160
  undefinedTag = '[object Undefined]';
155
161
 
156
162
  /** Built-in value references. */
157
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
163
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
158
164
 
159
165
  /**
160
166
  * The base implementation of `getTag` without fallbacks for buggy environments.
@@ -323,6 +329,8 @@ function isArrayLike(value) {
323
329
  */
324
330
  var isArray = Array.isArray;
325
331
 
332
+ var isArray$1 = isArray;
333
+
326
334
  /**
327
335
  * Checks if `value` is object-like. A value is object-like if it's not `null`
328
336
  * and has a `typeof` result of "object".
@@ -373,7 +381,7 @@ var stringTag$2 = '[object String]';
373
381
  */
374
382
  function isString(value) {
375
383
  return typeof value == 'string' ||
376
- (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag$2);
384
+ (!isArray$1(value) && isObjectLike(value) && baseGetTag(value) == stringTag$2);
377
385
  }
378
386
 
379
387
  /** Used to match a single whitespace character. */
@@ -667,6 +675,8 @@ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsAr
667
675
  !propertyIsEnumerable$1.call(value, 'callee');
668
676
  };
669
677
 
678
+ var isArguments$1 = isArguments;
679
+
670
680
  /**
671
681
  * This method returns `false`.
672
682
  *
@@ -694,7 +704,7 @@ var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !modu
694
704
  var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
695
705
 
696
706
  /** Built-in value references. */
697
- var Buffer = moduleExports$1 ? root.Buffer : undefined;
707
+ var Buffer = moduleExports$1 ? root$1.Buffer : undefined;
698
708
 
699
709
  /* Built-in method references for those with the same name as other `lodash` methods. */
700
710
  var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
@@ -718,6 +728,8 @@ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
718
728
  */
719
729
  var isBuffer = nativeIsBuffer || stubFalse;
720
730
 
731
+ var isBuffer$1 = isBuffer;
732
+
721
733
  /** Used as references for various `Number` constants. */
722
734
  var MAX_SAFE_INTEGER = 9007199254740991;
723
735
 
@@ -820,7 +832,7 @@ var freeModule = freeExports && typeof module == 'object' && module && !module.n
820
832
  var moduleExports = freeModule && freeModule.exports === freeExports;
821
833
 
822
834
  /** Detect free variable `process` from Node.js. */
823
- var freeProcess = moduleExports && freeGlobal.process;
835
+ var freeProcess = moduleExports && freeGlobal$1.process;
824
836
 
825
837
  /** Used to access faster Node.js helpers. */
826
838
  var nodeUtil = (function() {
@@ -837,8 +849,10 @@ var nodeUtil = (function() {
837
849
  } catch (e) {}
838
850
  }());
839
851
 
852
+ var nodeUtil$1 = nodeUtil;
853
+
840
854
  /* Node.js helper references. */
841
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
855
+ var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
842
856
 
843
857
  /**
844
858
  * Checks if `value` is classified as a typed array.
@@ -859,6 +873,8 @@ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
859
873
  */
860
874
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
861
875
 
876
+ var isTypedArray$1 = isTypedArray;
877
+
862
878
  /** Used for built-in method references. */
863
879
  var objectProto$8 = Object.prototype;
864
880
 
@@ -874,10 +890,10 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
874
890
  * @returns {Array} Returns the array of property names.
875
891
  */
876
892
  function arrayLikeKeys(value, inherited) {
877
- var isArr = isArray(value),
878
- isArg = !isArr && isArguments(value),
879
- isBuff = !isArr && !isArg && isBuffer(value),
880
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
893
+ var isArr = isArray$1(value),
894
+ isArg = !isArr && isArguments$1(value),
895
+ isBuff = !isArr && !isArg && isBuffer$1(value),
896
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
881
897
  skipIndexes = isArr || isArg || isBuff || isType,
882
898
  result = skipIndexes ? baseTimes(value.length, String) : [],
883
899
  length = result.length;
@@ -934,6 +950,8 @@ function overArg(func, transform) {
934
950
  /* Built-in method references for those with the same name as other `lodash` methods. */
935
951
  var nativeKeys = overArg(Object.keys, Object);
936
952
 
953
+ var nativeKeys$1 = nativeKeys;
954
+
937
955
  /** Used for built-in method references. */
938
956
  var objectProto$6 = Object.prototype;
939
957
 
@@ -949,7 +967,7 @@ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
949
967
  */
950
968
  function baseKeys(object) {
951
969
  if (!isPrototype(object)) {
952
- return nativeKeys(object);
970
+ return nativeKeys$1(object);
953
971
  }
954
972
  var result = [];
955
973
  for (var key in Object(object)) {
@@ -1299,11 +1317,13 @@ function stackHas(key) {
1299
1317
  }
1300
1318
 
1301
1319
  /** Used to detect overreaching core-js shims. */
1302
- var coreJsData = root['__core-js_shared__'];
1320
+ var coreJsData = root$1['__core-js_shared__'];
1321
+
1322
+ var coreJsData$1 = coreJsData;
1303
1323
 
1304
1324
  /** Used to detect methods masquerading as native. */
1305
1325
  var maskSrcKey = (function() {
1306
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
1326
+ var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
1307
1327
  return uid ? ('Symbol(src)_1.' + uid) : '';
1308
1328
  }());
1309
1329
 
@@ -1410,11 +1430,15 @@ function getNative(object, key) {
1410
1430
  }
1411
1431
 
1412
1432
  /* Built-in method references that are verified to be native. */
1413
- var Map = getNative(root, 'Map');
1433
+ var Map = getNative(root$1, 'Map');
1434
+
1435
+ var Map$1 = Map;
1414
1436
 
1415
1437
  /* Built-in method references that are verified to be native. */
1416
1438
  var nativeCreate = getNative(Object, 'create');
1417
1439
 
1440
+ var nativeCreate$1 = nativeCreate;
1441
+
1418
1442
  /**
1419
1443
  * Removes all key-value entries from the hash.
1420
1444
  *
@@ -1423,7 +1447,7 @@ var nativeCreate = getNative(Object, 'create');
1423
1447
  * @memberOf Hash
1424
1448
  */
1425
1449
  function hashClear() {
1426
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
1450
+ this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
1427
1451
  this.size = 0;
1428
1452
  }
1429
1453
 
@@ -1463,7 +1487,7 @@ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1463
1487
  */
1464
1488
  function hashGet(key) {
1465
1489
  var data = this.__data__;
1466
- if (nativeCreate) {
1490
+ if (nativeCreate$1) {
1467
1491
  var result = data[key];
1468
1492
  return result === HASH_UNDEFINED$2 ? undefined : result;
1469
1493
  }
@@ -1487,7 +1511,7 @@ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1487
1511
  */
1488
1512
  function hashHas(key) {
1489
1513
  var data = this.__data__;
1490
- return nativeCreate ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
1514
+ return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
1491
1515
  }
1492
1516
 
1493
1517
  /** Used to stand-in for `undefined` hash values. */
@@ -1506,7 +1530,7 @@ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1506
1530
  function hashSet(key, value) {
1507
1531
  var data = this.__data__;
1508
1532
  this.size += this.has(key) ? 0 : 1;
1509
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1533
+ data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED$1 : value;
1510
1534
  return this;
1511
1535
  }
1512
1536
 
@@ -1546,7 +1570,7 @@ function mapCacheClear() {
1546
1570
  this.size = 0;
1547
1571
  this.__data__ = {
1548
1572
  'hash': new Hash,
1549
- 'map': new (Map || ListCache),
1573
+ 'map': new (Map$1 || ListCache),
1550
1574
  'string': new Hash
1551
1575
  };
1552
1576
  }
@@ -1682,7 +1706,7 @@ function stackSet(key, value) {
1682
1706
  var data = this.__data__;
1683
1707
  if (data instanceof ListCache) {
1684
1708
  var pairs = data.__data__;
1685
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1709
+ if (!Map$1 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
1686
1710
  pairs.push([key, value]);
1687
1711
  this.size = ++data.size;
1688
1712
  return this;
@@ -1880,7 +1904,9 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1880
1904
  }
1881
1905
 
1882
1906
  /** Built-in value references. */
1883
- var Uint8Array = root.Uint8Array;
1907
+ var Uint8Array = root$1.Uint8Array;
1908
+
1909
+ var Uint8Array$1 = Uint8Array;
1884
1910
 
1885
1911
  /**
1886
1912
  * Converts `map` to its key-value pairs.
@@ -1935,7 +1961,7 @@ var arrayBufferTag = '[object ArrayBuffer]',
1935
1961
  dataViewTag$1 = '[object DataView]';
1936
1962
 
1937
1963
  /** Used to convert symbols to primitives and strings. */
1938
- var symbolProto$1 = Symbol ? Symbol.prototype : undefined,
1964
+ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
1939
1965
  symbolValueOf = symbolProto$1 ? symbolProto$1.valueOf : undefined;
1940
1966
 
1941
1967
  /**
@@ -1967,7 +1993,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1967
1993
 
1968
1994
  case arrayBufferTag:
1969
1995
  if ((object.byteLength != other.byteLength) ||
1970
- !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
1996
+ !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
1971
1997
  return false;
1972
1998
  }
1973
1999
  return true;
@@ -2052,7 +2078,7 @@ function arrayPush(array, values) {
2052
2078
  */
2053
2079
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
2054
2080
  var result = keysFunc(object);
2055
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
2081
+ return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
2056
2082
  }
2057
2083
 
2058
2084
  /**
@@ -2127,6 +2153,8 @@ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
2127
2153
  });
2128
2154
  };
2129
2155
 
2156
+ var getSymbols$1 = getSymbols;
2157
+
2130
2158
  /**
2131
2159
  * Creates an array of own enumerable property names and symbols of `object`.
2132
2160
  *
@@ -2135,7 +2163,7 @@ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
2135
2163
  * @returns {Array} Returns the array of property names and symbols.
2136
2164
  */
2137
2165
  function getAllKeys(object) {
2138
- return baseGetAllKeys(object, keys, getSymbols);
2166
+ return baseGetAllKeys(object, keys, getSymbols$1);
2139
2167
  }
2140
2168
 
2141
2169
  /** Used to compose bitmasks for value comparisons. */
@@ -2226,16 +2254,24 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2226
2254
  }
2227
2255
 
2228
2256
  /* Built-in method references that are verified to be native. */
2229
- var DataView = getNative(root, 'DataView');
2257
+ var DataView = getNative(root$1, 'DataView');
2258
+
2259
+ var DataView$1 = DataView;
2230
2260
 
2231
2261
  /* Built-in method references that are verified to be native. */
2232
- var Promise$1 = getNative(root, 'Promise');
2262
+ var Promise$1 = getNative(root$1, 'Promise');
2263
+
2264
+ var Promise$2 = Promise$1;
2233
2265
 
2234
2266
  /* Built-in method references that are verified to be native. */
2235
- var Set = getNative(root, 'Set');
2267
+ var Set = getNative(root$1, 'Set');
2268
+
2269
+ var Set$1 = Set;
2236
2270
 
2237
2271
  /* Built-in method references that are verified to be native. */
2238
- var WeakMap = getNative(root, 'WeakMap');
2272
+ var WeakMap = getNative(root$1, 'WeakMap');
2273
+
2274
+ var WeakMap$1 = WeakMap;
2239
2275
 
2240
2276
  /** `Object#toString` result references. */
2241
2277
  var mapTag$1 = '[object Map]',
@@ -2247,11 +2283,11 @@ var mapTag$1 = '[object Map]',
2247
2283
  var dataViewTag = '[object DataView]';
2248
2284
 
2249
2285
  /** Used to detect maps, sets, and weakmaps. */
2250
- var dataViewCtorString = toSource(DataView),
2251
- mapCtorString = toSource(Map),
2252
- promiseCtorString = toSource(Promise$1),
2253
- setCtorString = toSource(Set),
2254
- weakMapCtorString = toSource(WeakMap);
2286
+ var dataViewCtorString = toSource(DataView$1),
2287
+ mapCtorString = toSource(Map$1),
2288
+ promiseCtorString = toSource(Promise$2),
2289
+ setCtorString = toSource(Set$1),
2290
+ weakMapCtorString = toSource(WeakMap$1);
2255
2291
 
2256
2292
  /**
2257
2293
  * Gets the `toStringTag` of `value`.
@@ -2263,11 +2299,11 @@ var dataViewCtorString = toSource(DataView),
2263
2299
  var getTag = baseGetTag;
2264
2300
 
2265
2301
  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2266
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
2267
- (Map && getTag(new Map) != mapTag$1) ||
2268
- (Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
2269
- (Set && getTag(new Set) != setTag$1) ||
2270
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
2302
+ if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag) ||
2303
+ (Map$1 && getTag(new Map$1) != mapTag$1) ||
2304
+ (Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
2305
+ (Set$1 && getTag(new Set$1) != setTag$1) ||
2306
+ (WeakMap$1 && getTag(new WeakMap$1) != weakMapTag)) {
2271
2307
  getTag = function(value) {
2272
2308
  var result = baseGetTag(value),
2273
2309
  Ctor = result == objectTag$1 ? value.constructor : undefined,
@@ -2317,8 +2353,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
2317
2353
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2318
2354
  */
2319
2355
  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2320
- var objIsArr = isArray(object),
2321
- othIsArr = isArray(other),
2356
+ var objIsArr = isArray$1(object),
2357
+ othIsArr = isArray$1(other),
2322
2358
  objTag = objIsArr ? arrayTag : getTag$1(object),
2323
2359
  othTag = othIsArr ? arrayTag : getTag$1(other);
2324
2360
 
@@ -2329,8 +2365,8 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2329
2365
  othIsObj = othTag == objectTag,
2330
2366
  isSameTag = objTag == othTag;
2331
2367
 
2332
- if (isSameTag && isBuffer(object)) {
2333
- if (!isBuffer(other)) {
2368
+ if (isSameTag && isBuffer$1(object)) {
2369
+ if (!isBuffer$1(other)) {
2334
2370
  return false;
2335
2371
  }
2336
2372
  objIsArr = true;
@@ -2338,7 +2374,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2338
2374
  }
2339
2375
  if (isSameTag && !objIsObj) {
2340
2376
  stack || (stack = new Stack);
2341
- return (objIsArr || isTypedArray(object))
2377
+ return (objIsArr || isTypedArray$1(object))
2342
2378
  ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
2343
2379
  : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2344
2380
  }
@@ -2524,7 +2560,7 @@ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
2524
2560
  * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
2525
2561
  */
2526
2562
  function isKey(value, object) {
2527
- if (isArray(value)) {
2563
+ if (isArray$1(value)) {
2528
2564
  return false;
2529
2565
  }
2530
2566
  var type = typeof value;
@@ -2653,11 +2689,13 @@ var stringToPath = memoizeCapped(function(string) {
2653
2689
  return result;
2654
2690
  });
2655
2691
 
2692
+ var stringToPath$1 = stringToPath;
2693
+
2656
2694
  /** Used as references for various `Number` constants. */
2657
2695
  var INFINITY$1 = 1 / 0;
2658
2696
 
2659
2697
  /** Used to convert symbols to primitives and strings. */
2660
- var symbolProto = Symbol ? Symbol.prototype : undefined,
2698
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
2661
2699
  symbolToString = symbolProto ? symbolProto.toString : undefined;
2662
2700
 
2663
2701
  /**
@@ -2673,7 +2711,7 @@ function baseToString(value) {
2673
2711
  if (typeof value == 'string') {
2674
2712
  return value;
2675
2713
  }
2676
- if (isArray(value)) {
2714
+ if (isArray$1(value)) {
2677
2715
  // Recursively convert values (susceptible to call stack limits).
2678
2716
  return arrayMap(value, baseToString) + '';
2679
2717
  }
@@ -2718,10 +2756,10 @@ function toString(value) {
2718
2756
  * @returns {Array} Returns the cast property path array.
2719
2757
  */
2720
2758
  function castPath(value, object) {
2721
- if (isArray(value)) {
2759
+ if (isArray$1(value)) {
2722
2760
  return value;
2723
2761
  }
2724
- return isKey(value, object) ? [value] : stringToPath(toString(value));
2762
+ return isKey(value, object) ? [value] : stringToPath$1(toString(value));
2725
2763
  }
2726
2764
 
2727
2765
  /** Used as references for various `Number` constants. */
@@ -2832,7 +2870,7 @@ function hasPath(object, path, hasFunc) {
2832
2870
  }
2833
2871
  length = object == null ? 0 : object.length;
2834
2872
  return !!length && isLength(length) && isIndex(key, length) &&
2835
- (isArray(object) || isArguments(object));
2873
+ (isArray$1(object) || isArguments$1(object));
2836
2874
  }
2837
2875
 
2838
2876
  /**
@@ -2978,7 +3016,7 @@ function baseIteratee(value) {
2978
3016
  return identity;
2979
3017
  }
2980
3018
  if (typeof value == 'object') {
2981
- return isArray(value)
3019
+ return isArray$1(value)
2982
3020
  ? baseMatchesProperty(value[0], value[1])
2983
3021
  : baseMatches(value);
2984
3022
  }
@@ -3022,6 +3060,8 @@ function createBaseFor(fromRight) {
3022
3060
  */
3023
3061
  var baseFor = createBaseFor();
3024
3062
 
3063
+ var baseFor$1 = baseFor;
3064
+
3025
3065
  /**
3026
3066
  * The base implementation of `_.forOwn` without support for iteratee shorthands.
3027
3067
  *
@@ -3031,7 +3071,7 @@ var baseFor = createBaseFor();
3031
3071
  * @returns {Object} Returns `object`.
3032
3072
  */
3033
3073
  function baseForOwn(object, iteratee) {
3034
- return object && baseFor(object, iteratee, keys);
3074
+ return object && baseFor$1(object, iteratee, keys);
3035
3075
  }
3036
3076
 
3037
3077
  /**
@@ -3073,6 +3113,8 @@ function createBaseEach(eachFunc, fromRight) {
3073
3113
  */
3074
3114
  var baseEach = createBaseEach(baseForOwn);
3075
3115
 
3116
+ var baseEach$1 = baseEach;
3117
+
3076
3118
  /**
3077
3119
  * The base implementation of `_.map` without support for iteratee shorthands.
3078
3120
  *
@@ -3085,7 +3127,7 @@ function baseMap(collection, iteratee) {
3085
3127
  var index = -1,
3086
3128
  result = isArrayLike(collection) ? Array(collection.length) : [];
3087
3129
 
3088
- baseEach(collection, function(value, key, collection) {
3130
+ baseEach$1(collection, function(value, key, collection) {
3089
3131
  result[++index] = iteratee(value, key, collection);
3090
3132
  });
3091
3133
  return result;
@@ -3134,7 +3176,7 @@ function baseMap(collection, iteratee) {
3134
3176
  * // => ['barney', 'fred']
3135
3177
  */
3136
3178
  function map(collection, iteratee) {
3137
- var func = isArray(collection) ? arrayMap : baseMap;
3179
+ var func = isArray$1(collection) ? arrayMap : baseMap;
3138
3180
  return func(collection, baseIteratee(iteratee));
3139
3181
  }
3140
3182
 
@@ -3223,10 +3265,10 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
3223
3265
  * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
3224
3266
  */
3225
3267
  function reduce(collection, iteratee, accumulator) {
3226
- var func = isArray(collection) ? arrayReduce : baseReduce,
3268
+ var func = isArray$1(collection) ? arrayReduce : baseReduce,
3227
3269
  initAccum = arguments.length < 3;
3228
3270
 
3229
- return func(collection, baseIteratee(iteratee), accumulator, initAccum, baseEach);
3271
+ return func(collection, baseIteratee(iteratee), accumulator, initAccum, baseEach$1);
3230
3272
  }
3231
3273
 
3232
3274
  /**
@@ -3464,8 +3506,8 @@ const filter = (items, visibility, fn) => {
3464
3506
  visibility = null;
3465
3507
  }
3466
3508
 
3467
- const memo = isArray(items) ? [] : {};
3468
- const visArray = isArray(visibility) ? visibility : parse(visibility);
3509
+ const memo = isArray$1(items) ? [] : {};
3510
+ const visArray = isArray$1(visibility) ? visibility : parse(visibility);
3469
3511
 
3470
3512
  // Fallback behaviour for items that don't have visibility set on them
3471
3513
  const defaultVisibility = 'public';
@@ -3476,7 +3518,7 @@ const filter = (items, visibility, fn) => {
3476
3518
  // If the item has visibility, check to see if it matches, else if there's no visibility check for a match with the default visibility
3477
3519
  if (includes(visArray, 'all') || item.visibility && includes(visArray, item.visibility) || !item.visibility && returnByDefault) {
3478
3520
  const newItem = fn ? fn(item) : item;
3479
- if (isArray(items)) {
3521
+ if (isArray$1(items)) {
3480
3522
  memo.push(newItem);
3481
3523
  } else {
3482
3524
  memo[key] = newItem;
@@ -3651,7 +3693,7 @@ function compact(array) {
3651
3693
  }
3652
3694
 
3653
3695
  /** Built-in value references. */
3654
- var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;
3696
+ var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : undefined;
3655
3697
 
3656
3698
  /**
3657
3699
  * Checks if `value` is a flattenable `arguments` object or array.
@@ -3661,7 +3703,7 @@ var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;
3661
3703
  * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
3662
3704
  */
3663
3705
  function isFlattenable(value) {
3664
- return isArray(value) || isArguments(value) ||
3706
+ return isArray$1(value) || isArguments$1(value) ||
3665
3707
  !!(spreadableSymbol && value && value[spreadableSymbol]);
3666
3708
  }
3667
3709
 
@@ -3752,7 +3794,7 @@ function concat() {
3752
3794
  while (index--) {
3753
3795
  args[index - 1] = arguments[index];
3754
3796
  }
3755
- return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
3797
+ return arrayPush(isArray$1(array) ? copyArray(array) : [array], baseFlatten(args, 1));
3756
3798
  }
3757
3799
 
3758
3800
  /**
@@ -3931,6 +3973,8 @@ function flatten(array) {
3931
3973
  */
3932
3974
  var asciiSize = baseProperty('length');
3933
3975
 
3976
+ var asciiSize$1 = asciiSize;
3977
+
3934
3978
  /** Used to compose unicode character classes. */
3935
3979
  var rsAstralRange = '\\ud800-\\udfff',
3936
3980
  rsComboMarksRange = '\\u0300-\\u036f',
@@ -3984,7 +4028,7 @@ function unicodeSize(string) {
3984
4028
  function stringSize(string) {
3985
4029
  return hasUnicode(string)
3986
4030
  ? unicodeSize(string)
3987
- : asciiSize(string);
4031
+ : asciiSize$1(string);
3988
4032
  }
3989
4033
 
3990
4034
  /** `Object#toString` result references. */
@@ -4112,6 +4156,8 @@ var defineProperty = (function() {
4112
4156
  } catch (e) {}
4113
4157
  }());
4114
4158
 
4159
+ var defineProperty$1 = defineProperty;
4160
+
4115
4161
  /**
4116
4162
  * The base implementation of `setToString` without support for hot loop shorting.
4117
4163
  *
@@ -4120,8 +4166,8 @@ var defineProperty = (function() {
4120
4166
  * @param {Function} string The `toString` result.
4121
4167
  * @returns {Function} Returns `func`.
4122
4168
  */
4123
- var baseSetToString = !defineProperty ? identity : function(func, string) {
4124
- return defineProperty(func, 'toString', {
4169
+ var baseSetToString = !defineProperty$1 ? identity : function(func, string) {
4170
+ return defineProperty$1(func, 'toString', {
4125
4171
  'configurable': true,
4126
4172
  'enumerable': false,
4127
4173
  'value': constant(string),
@@ -4129,6 +4175,8 @@ var baseSetToString = !defineProperty ? identity : function(func, string) {
4129
4175
  });
4130
4176
  };
4131
4177
 
4178
+ var baseSetToString$1 = baseSetToString;
4179
+
4132
4180
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
4133
4181
  var HOT_COUNT = 800,
4134
4182
  HOT_SPAN = 16;
@@ -4173,7 +4221,9 @@ function shortOut(func) {
4173
4221
  * @param {Function} string The `toString` result.
4174
4222
  * @returns {Function} Returns `func`.
4175
4223
  */
4176
- var setToString = shortOut(baseSetToString);
4224
+ var setToString = shortOut(baseSetToString$1);
4225
+
4226
+ var setToString$1 = setToString;
4177
4227
 
4178
4228
  /**
4179
4229
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.
@@ -4184,7 +4234,7 @@ var setToString = shortOut(baseSetToString);
4184
4234
  * @returns {Function} Returns the new function.
4185
4235
  */
4186
4236
  function baseRest(func, start) {
4187
- return setToString(overRest(func, start, identity), func + '');
4237
+ return setToString$1(overRest(func, start, identity), func + '');
4188
4238
  }
4189
4239
 
4190
4240
  /**
@@ -4272,6 +4322,8 @@ function unzip(array) {
4272
4322
  */
4273
4323
  var zip = baseRest(unzip);
4274
4324
 
4325
+ var zip$1 = zip;
4326
+
4275
4327
  /**
4276
4328
  * Tags Helper
4277
4329
  *
@@ -4297,7 +4349,7 @@ function tags (data, options = {}) {
4297
4349
  let from = options.from ? parseInt(options.from, 10) : 1;
4298
4350
  let to = options.to ? parseInt(options.to, 10) : undefined;
4299
4351
  let visibilityArr = parse(options.visibility);
4300
- let fallback = options.fallback ? (isArray(options.fallback) ? options.fallback : [options.fallback]) : undefined;
4352
+ let fallback = options.fallback ? (isArray$1(options.fallback) ? options.fallback : [options.fallback]) : undefined;
4301
4353
  let displayFn = options.fn ? options.fn : tag => tag.name;
4302
4354
 
4303
4355
  if (data.tags && data.tags.length) {
@@ -4323,7 +4375,7 @@ function tags (data, options = {}) {
4323
4375
  // Else, operate on the array, and return an array
4324
4376
  if (separator) {
4325
4377
  // If we have a separator, use lodash to make pairs of items & separators
4326
- output = zip(output, fill(Array(output.length), separator));
4378
+ output = zip$1(output, fill(Array(output.length), separator));
4327
4379
  // Flatten our pairs, and remove the final separator
4328
4380
  output = flatten(output).slice(0, -1);
4329
4381
  }