@baloise/ds-core 17.2.3 → 17.2.4-nightly.20250113

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 (179) hide show
  1. package/components/all.d.ts +2 -0
  2. package/components/all.js +3 -0
  3. package/components/array.js +1 -1856
  4. package/components/bal-app.js +1 -93
  5. package/components/bal-app2.js +95 -0
  6. package/components/bal-carousel.js +4 -1
  7. package/components/bal-date-calendar2.js +1 -1
  8. package/components/bal-doc-app.d.ts +11 -0
  9. package/components/bal-doc-app.js +262 -0
  10. package/components/bal-footer.js +44 -41
  11. package/components/bal-tabs2.js +3 -2
  12. package/components/index.js +5 -304
  13. package/components/index4.js +1642 -342
  14. package/components/index5.js +558 -0
  15. package/components/initialize.js +303 -0
  16. package/components/swiper.util.js +25 -5
  17. package/components/tokens.esm.js +1 -1
  18. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  19. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  20. package/dist/baloise-design-system/index.esm.js +1 -1
  21. package/dist/baloise-design-system/{p-bdb87be782.system.entry.js → p-024a907ee6.system.entry.js} +1 -1
  22. package/dist/baloise-design-system/p-079850e6.system.js +1 -0
  23. package/dist/baloise-design-system/p-0b8169c8.js +1 -0
  24. package/dist/baloise-design-system/{p-00ae3132.system.js → p-0c533bdb.system.js} +1 -1
  25. package/dist/baloise-design-system/p-0e323fe0.system.js +1 -1
  26. package/dist/baloise-design-system/p-1c191e7d.js +1 -0
  27. package/dist/baloise-design-system/{p-99d46d1583.system.entry.js → p-2d4e4a9385.system.entry.js} +1 -1
  28. package/dist/baloise-design-system/{p-d777c285e4.system.entry.js → p-321817c0e0.system.entry.js} +1 -1
  29. package/dist/baloise-design-system/{p-bd6fd5de36.entry.js → p-3514ce1a41.entry.js} +1 -1
  30. package/dist/baloise-design-system/{p-356aa83c1a.system.entry.js → p-36e5adc450.system.entry.js} +1 -1
  31. package/dist/baloise-design-system/{p-378298ca40.system.entry.js → p-377a3a3191.system.entry.js} +1 -1
  32. package/dist/baloise-design-system/{p-3e7da614.system.js → p-3b5affcf.system.js} +1 -1
  33. package/dist/baloise-design-system/p-40b1d8d96d.entry.js +1 -0
  34. package/dist/baloise-design-system/{p-5bcd9a5b.js → p-4d9be9b0.js} +1 -1
  35. package/dist/baloise-design-system/{p-db14671c52.system.entry.js → p-4f91fba696.system.entry.js} +1 -1
  36. package/dist/baloise-design-system/p-5622c208.system.js +1 -0
  37. package/dist/baloise-design-system/p-58d2a0b5.system.js +1 -0
  38. package/dist/baloise-design-system/{p-91d1c6f64b.entry.js → p-6115e6e6e5.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-73bec757.js +1 -0
  40. package/dist/baloise-design-system/{p-43a1210363.system.entry.js → p-74df65cb38.system.entry.js} +1 -1
  41. package/dist/baloise-design-system/{p-783d9ffa8a.entry.js → p-759fb356a5.entry.js} +1 -1
  42. package/dist/baloise-design-system/{p-b590137a20.system.entry.js → p-760ba9b15a.system.entry.js} +1 -1
  43. package/dist/baloise-design-system/{p-5e1cab7609.entry.js → p-8afcf3f1f4.entry.js} +1 -1
  44. package/dist/baloise-design-system/p-8c24fdcf6c.system.entry.js +1 -0
  45. package/dist/baloise-design-system/{p-edb1324d.system.js → p-92ea6416.system.js} +1 -1
  46. package/dist/baloise-design-system/p-960c5007.js +1 -0
  47. package/dist/baloise-design-system/p-96122c3e5b.entry.js +1 -0
  48. package/dist/baloise-design-system/p-9ad648deea.system.entry.js +1 -0
  49. package/dist/baloise-design-system/{p-5032cc512d.entry.js → p-9e60067798.entry.js} +1 -1
  50. package/dist/baloise-design-system/{p-ac5bae9bc0.entry.js → p-ad08b31d77.entry.js} +1 -1
  51. package/dist/baloise-design-system/{p-62b1464a63.entry.js → p-b29ff928d7.entry.js} +1 -1
  52. package/dist/baloise-design-system/p-c0e04c2072.system.entry.js +1 -0
  53. package/dist/baloise-design-system/{p-8e3818cabc.system.entry.js → p-c2ba4f2747.system.entry.js} +1 -1
  54. package/dist/baloise-design-system/{p-455872a1.system.js → p-c9b8e360.system.js} +1 -1
  55. package/dist/baloise-design-system/{p-d9be99b1f3.entry.js → p-d5e9b00c3a.entry.js} +1 -1
  56. package/dist/baloise-design-system/p-d7d8f1901f.entry.js +1 -0
  57. package/dist/baloise-design-system/{p-d34610d0b3.system.entry.js → p-da7b998034.system.entry.js} +1 -1
  58. package/dist/baloise-design-system/{p-41dc0f2a79.system.entry.js → p-e221899f60.system.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-e53217f8.js +1 -1
  60. package/dist/baloise-design-system/{p-c24eef72ab.system.entry.js → p-e5ba3ccf78.system.entry.js} +1 -1
  61. package/dist/baloise-design-system/p-e9445f4362.entry.js +1 -0
  62. package/dist/baloise-design-system/{p-4ab7dd0d1e.entry.js → p-ebcb6393d4.entry.js} +1 -1
  63. package/dist/baloise-design-system/{p-272b503d.system.js → p-f7a3e1be.system.js} +1 -1
  64. package/dist/baloise-design-system/p-f7f06d0340.entry.js +1 -0
  65. package/dist/baloise-design-system/{p-aece54af.js → p-fb6a55d1.js} +1 -1
  66. package/dist/baloise-design-system/{p-e8e685e210.entry.js → p-fb880d2a58.entry.js} +1 -1
  67. package/dist/cjs/app-globals-25e25924.js +7 -0
  68. package/dist/cjs/bal-app.cjs.entry.js +1 -1
  69. package/dist/cjs/bal-carousel_2.cjs.entry.js +8 -5
  70. package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
  71. package/dist/cjs/bal-footer.cjs.entry.js +37 -10
  72. package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
  73. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  74. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  75. package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
  76. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  77. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  78. package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
  79. package/dist/cjs/bal-segment_2.cjs.entry.js +4 -4
  80. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  81. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  82. package/dist/cjs/bal-tab-item_2.cjs.entry.js +7 -6
  83. package/dist/cjs/baloise-design-system.cjs.js +3 -2
  84. package/dist/cjs/{breakpoints.decorator-ea5d7550.js → breakpoints.decorator-25a3cd48.js} +1 -1
  85. package/dist/cjs/{breakpoints.subject-235affbc.js → breakpoints.subject-282f1545.js} +1 -1
  86. package/dist/cjs/{app-globals-a3f2765f.js → global-85ebe098.js} +2 -4
  87. package/dist/cjs/index.cjs.js +2 -2
  88. package/dist/cjs/initialize-367b85e5.js +1 -1
  89. package/dist/cjs/loader.cjs.js +3 -2
  90. package/dist/cjs/{swiper.util-2c1a9dd3.js → swiper.util-abdf50f1.js} +25 -5
  91. package/dist/cjs/{tokens.esm-50d692f1.js → tokens.esm-e9f615df.js} +1 -1
  92. package/dist/cjs/{window-resize.decorator-af016113.js → window-resize.decorator-ac9f991f.js} +1 -1
  93. package/dist/collection/collection-manifest.json +2 -1
  94. package/dist/collection/components/bal-app/bal-app.css +1 -1
  95. package/dist/collection/components/bal-carousel/bal-carousel.js +4 -1
  96. package/dist/collection/components/bal-footer/bal-footer.css +1 -1
  97. package/dist/collection/components/bal-footer/bal-footer.i18n.js +32 -0
  98. package/dist/collection/components/bal-footer/bal-footer.js +4 -9
  99. package/dist/collection/components/bal-tabs/bal-tabs.js +3 -2
  100. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  101. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
  102. package/dist/collection/utils/constants/version.constant.js +1 -1
  103. package/dist/collection/utils/swiper/swiper.util.js +25 -5
  104. package/dist/esm/app-globals-83570026.js +5 -0
  105. package/dist/esm/bal-app.entry.js +1 -1
  106. package/dist/esm/bal-carousel_2.entry.js +8 -5
  107. package/dist/esm/bal-doc-app.entry.js +229 -0
  108. package/dist/esm/bal-footer.entry.js +37 -10
  109. package/dist/esm/bal-hint_5.entry.js +3 -3
  110. package/dist/esm/bal-list_8.entry.js +3 -3
  111. package/dist/esm/bal-logo.entry.js +3 -3
  112. package/dist/esm/bal-nav_8.entry.js +3 -3
  113. package/dist/esm/bal-navbar_5.entry.js +3 -3
  114. package/dist/esm/bal-pagination.entry.js +3 -3
  115. package/dist/esm/bal-progress-bar.entry.js +4 -4
  116. package/dist/esm/bal-segment_2.entry.js +4 -4
  117. package/dist/esm/bal-shape.entry.js +1 -1
  118. package/dist/esm/bal-steps.entry.js +3 -3
  119. package/dist/esm/bal-tab-item_2.entry.js +7 -6
  120. package/dist/esm/baloise-design-system.js +3 -2
  121. package/dist/esm/{breakpoints.decorator-761b6833.js → breakpoints.decorator-d9f053c9.js} +1 -1
  122. package/dist/esm/{breakpoints.subject-55ab8bb6.js → breakpoints.subject-8e63b492.js} +1 -1
  123. package/dist/esm/{app-globals-92fef8fd.js → global-88c7b04e.js} +2 -4
  124. package/dist/esm/index.js +3 -3
  125. package/dist/esm/initialize-22c1bebc.js +1 -1
  126. package/dist/esm/loader.js +3 -2
  127. package/dist/esm/{swiper.util-3e090584.js → swiper.util-0589b550.js} +25 -5
  128. package/dist/esm/{tokens.esm-8a7ec399.js → tokens.esm-50d8cc25.js} +1 -1
  129. package/dist/esm/{window-resize.decorator-1dd80b10.js → window-resize.decorator-c1666a38.js} +1 -1
  130. package/dist/esm-es5/app-globals-83570026.js +1 -0
  131. package/dist/esm-es5/bal-app.entry.js +1 -1
  132. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  133. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  134. package/dist/esm-es5/bal-footer.entry.js +1 -1
  135. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  136. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  137. package/dist/esm-es5/bal-logo.entry.js +1 -1
  138. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  139. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  140. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  141. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  142. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  143. package/dist/esm-es5/bal-shape.entry.js +1 -1
  144. package/dist/esm-es5/bal-steps.entry.js +1 -1
  145. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  146. package/dist/esm-es5/baloise-design-system.js +1 -1
  147. package/dist/esm-es5/breakpoints.decorator-d9f053c9.js +1 -0
  148. package/dist/esm-es5/{breakpoints.subject-55ab8bb6.js → breakpoints.subject-8e63b492.js} +1 -1
  149. package/dist/esm-es5/global-88c7b04e.js +1 -0
  150. package/dist/esm-es5/index.js +1 -1
  151. package/dist/esm-es5/initialize-22c1bebc.js +1 -1
  152. package/dist/esm-es5/loader.js +1 -1
  153. package/dist/esm-es5/swiper.util-0589b550.js +1 -0
  154. package/dist/esm-es5/{window-resize.decorator-1dd80b10.js → window-resize.decorator-c1666a38.js} +1 -1
  155. package/dist/types/components/bal-carousel/bal-carousel.d.ts +1 -0
  156. package/dist/types/components/bal-footer/bal-footer.d.ts +0 -1
  157. package/dist/types/components/bal-footer/bal-footer.i18n.d.ts +5 -0
  158. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  159. package/dist/types/components.d.ts +37 -0
  160. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
  161. package/dist/types/utils/swiper/swiper.util.d.ts +2 -1
  162. package/package.json +7 -7
  163. package/dist/baloise-design-system/p-05986dc964.entry.js +0 -1
  164. package/dist/baloise-design-system/p-1050501432.entry.js +0 -1
  165. package/dist/baloise-design-system/p-12ff7815.js +0 -1
  166. package/dist/baloise-design-system/p-345ec2f4.system.js +0 -1
  167. package/dist/baloise-design-system/p-4d67c12e48.system.entry.js +0 -1
  168. package/dist/baloise-design-system/p-68e05bd5.js +0 -1
  169. package/dist/baloise-design-system/p-70f7b546.system.js +0 -1
  170. package/dist/baloise-design-system/p-757f93ffe9.entry.js +0 -1
  171. package/dist/baloise-design-system/p-8c564c0a3c.entry.js +0 -1
  172. package/dist/baloise-design-system/p-b7f9f79521.system.entry.js +0 -1
  173. package/dist/baloise-design-system/p-c42db517.js +0 -1
  174. package/dist/esm-es5/app-globals-92fef8fd.js +0 -1
  175. package/dist/esm-es5/breakpoints.decorator-761b6833.js +0 -1
  176. package/dist/esm-es5/swiper.util-3e090584.js +0 -1
  177. /package/dist/baloise-design-system/{p-210346c9.js → p-27728acd.js} +0 -0
  178. /package/dist/baloise-design-system/{p-b0fcd760.system.js → p-dfc275a4.system.js} +0 -0
  179. /package/dist/esm-es5/{tokens.esm-8a7ec399.js → tokens.esm-50d8cc25.js} +0 -0
@@ -1,558 +1,1858 @@
1
1
  import { c as commonjsGlobal } from './_commonjsHelpers.js';
2
2
 
3
+ var lodash_isequal = {exports: {}};
4
+
5
+ /**
6
+ * Lodash (Custom Build) <https://lodash.com/>
7
+ * Build: `lodash modularize exports="npm" -o ./`
8
+ * Copyright JS Foundation and other contributors <https://js.foundation/>
9
+ * Released under MIT license <https://lodash.com/license>
10
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
11
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
12
+ */
13
+
14
+ (function (module, exports) {
15
+ /** Used as the size to enable large array optimizations. */
16
+ var LARGE_ARRAY_SIZE = 200;
17
+
18
+ /** Used to stand-in for `undefined` hash values. */
19
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
20
+
21
+ /** Used to compose bitmasks for value comparisons. */
22
+ var COMPARE_PARTIAL_FLAG = 1,
23
+ COMPARE_UNORDERED_FLAG = 2;
24
+
25
+ /** Used as references for various `Number` constants. */
26
+ var MAX_SAFE_INTEGER = 9007199254740991;
27
+
28
+ /** `Object#toString` result references. */
29
+ var argsTag = '[object Arguments]',
30
+ arrayTag = '[object Array]',
31
+ asyncTag = '[object AsyncFunction]',
32
+ boolTag = '[object Boolean]',
33
+ dateTag = '[object Date]',
34
+ errorTag = '[object Error]',
35
+ funcTag = '[object Function]',
36
+ genTag = '[object GeneratorFunction]',
37
+ mapTag = '[object Map]',
38
+ numberTag = '[object Number]',
39
+ nullTag = '[object Null]',
40
+ objectTag = '[object Object]',
41
+ promiseTag = '[object Promise]',
42
+ proxyTag = '[object Proxy]',
43
+ regexpTag = '[object RegExp]',
44
+ setTag = '[object Set]',
45
+ stringTag = '[object String]',
46
+ symbolTag = '[object Symbol]',
47
+ undefinedTag = '[object Undefined]',
48
+ weakMapTag = '[object WeakMap]';
49
+
50
+ var arrayBufferTag = '[object ArrayBuffer]',
51
+ dataViewTag = '[object DataView]',
52
+ float32Tag = '[object Float32Array]',
53
+ float64Tag = '[object Float64Array]',
54
+ int8Tag = '[object Int8Array]',
55
+ int16Tag = '[object Int16Array]',
56
+ int32Tag = '[object Int32Array]',
57
+ uint8Tag = '[object Uint8Array]',
58
+ uint8ClampedTag = '[object Uint8ClampedArray]',
59
+ uint16Tag = '[object Uint16Array]',
60
+ uint32Tag = '[object Uint32Array]';
61
+
62
+ /**
63
+ * Used to match `RegExp`
64
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
65
+ */
66
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
67
+
68
+ /** Used to detect host constructors (Safari). */
69
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
70
+
71
+ /** Used to detect unsigned integer values. */
72
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
73
+
74
+ /** Used to identify `toStringTag` values of typed arrays. */
75
+ var typedArrayTags = {};
76
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
77
+ typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
78
+ typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
79
+ typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
80
+ typedArrayTags[uint32Tag] = true;
81
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
82
+ typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
83
+ typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
84
+ typedArrayTags[errorTag] = typedArrayTags[funcTag] =
85
+ typedArrayTags[mapTag] = typedArrayTags[numberTag] =
86
+ typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
87
+ typedArrayTags[setTag] = typedArrayTags[stringTag] =
88
+ typedArrayTags[weakMapTag] = false;
89
+
90
+ /** Detect free variable `global` from Node.js. */
91
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
92
+
93
+ /** Detect free variable `self`. */
94
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
95
+
96
+ /** Used as a reference to the global object. */
97
+ var root = freeGlobal || freeSelf || Function('return this')();
98
+
99
+ /** Detect free variable `exports`. */
100
+ var freeExports = exports && !exports.nodeType && exports;
101
+
102
+ /** Detect free variable `module`. */
103
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
104
+
105
+ /** Detect the popular CommonJS extension `module.exports`. */
106
+ var moduleExports = freeModule && freeModule.exports === freeExports;
107
+
108
+ /** Detect free variable `process` from Node.js. */
109
+ var freeProcess = moduleExports && freeGlobal.process;
110
+
111
+ /** Used to access faster Node.js helpers. */
112
+ var nodeUtil = (function() {
113
+ try {
114
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
115
+ } catch (e) {}
116
+ }());
117
+
118
+ /* Node.js helper references. */
119
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
120
+
121
+ /**
122
+ * A specialized version of `_.filter` for arrays without support for
123
+ * iteratee shorthands.
124
+ *
125
+ * @private
126
+ * @param {Array} [array] The array to iterate over.
127
+ * @param {Function} predicate The function invoked per iteration.
128
+ * @returns {Array} Returns the new filtered array.
129
+ */
130
+ function arrayFilter(array, predicate) {
131
+ var index = -1,
132
+ length = array == null ? 0 : array.length,
133
+ resIndex = 0,
134
+ result = [];
135
+
136
+ while (++index < length) {
137
+ var value = array[index];
138
+ if (predicate(value, index, array)) {
139
+ result[resIndex++] = value;
140
+ }
141
+ }
142
+ return result;
143
+ }
144
+
145
+ /**
146
+ * Appends the elements of `values` to `array`.
147
+ *
148
+ * @private
149
+ * @param {Array} array The array to modify.
150
+ * @param {Array} values The values to append.
151
+ * @returns {Array} Returns `array`.
152
+ */
153
+ function arrayPush(array, values) {
154
+ var index = -1,
155
+ length = values.length,
156
+ offset = array.length;
157
+
158
+ while (++index < length) {
159
+ array[offset + index] = values[index];
160
+ }
161
+ return array;
162
+ }
163
+
164
+ /**
165
+ * A specialized version of `_.some` for arrays without support for iteratee
166
+ * shorthands.
167
+ *
168
+ * @private
169
+ * @param {Array} [array] The array to iterate over.
170
+ * @param {Function} predicate The function invoked per iteration.
171
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
172
+ * else `false`.
173
+ */
174
+ function arraySome(array, predicate) {
175
+ var index = -1,
176
+ length = array == null ? 0 : array.length;
177
+
178
+ while (++index < length) {
179
+ if (predicate(array[index], index, array)) {
180
+ return true;
181
+ }
182
+ }
183
+ return false;
184
+ }
185
+
186
+ /**
187
+ * The base implementation of `_.times` without support for iteratee shorthands
188
+ * or max array length checks.
189
+ *
190
+ * @private
191
+ * @param {number} n The number of times to invoke `iteratee`.
192
+ * @param {Function} iteratee The function invoked per iteration.
193
+ * @returns {Array} Returns the array of results.
194
+ */
195
+ function baseTimes(n, iteratee) {
196
+ var index = -1,
197
+ result = Array(n);
198
+
199
+ while (++index < n) {
200
+ result[index] = iteratee(index);
201
+ }
202
+ return result;
203
+ }
204
+
205
+ /**
206
+ * The base implementation of `_.unary` without support for storing metadata.
207
+ *
208
+ * @private
209
+ * @param {Function} func The function to cap arguments for.
210
+ * @returns {Function} Returns the new capped function.
211
+ */
212
+ function baseUnary(func) {
213
+ return function(value) {
214
+ return func(value);
215
+ };
216
+ }
217
+
218
+ /**
219
+ * Checks if a `cache` value for `key` exists.
220
+ *
221
+ * @private
222
+ * @param {Object} cache The cache to query.
223
+ * @param {string} key The key of the entry to check.
224
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
225
+ */
226
+ function cacheHas(cache, key) {
227
+ return cache.has(key);
228
+ }
229
+
230
+ /**
231
+ * Gets the value at `key` of `object`.
232
+ *
233
+ * @private
234
+ * @param {Object} [object] The object to query.
235
+ * @param {string} key The key of the property to get.
236
+ * @returns {*} Returns the property value.
237
+ */
238
+ function getValue(object, key) {
239
+ return object == null ? undefined : object[key];
240
+ }
241
+
242
+ /**
243
+ * Converts `map` to its key-value pairs.
244
+ *
245
+ * @private
246
+ * @param {Object} map The map to convert.
247
+ * @returns {Array} Returns the key-value pairs.
248
+ */
249
+ function mapToArray(map) {
250
+ var index = -1,
251
+ result = Array(map.size);
252
+
253
+ map.forEach(function(value, key) {
254
+ result[++index] = [key, value];
255
+ });
256
+ return result;
257
+ }
258
+
259
+ /**
260
+ * Creates a unary function that invokes `func` with its argument transformed.
261
+ *
262
+ * @private
263
+ * @param {Function} func The function to wrap.
264
+ * @param {Function} transform The argument transform.
265
+ * @returns {Function} Returns the new function.
266
+ */
267
+ function overArg(func, transform) {
268
+ return function(arg) {
269
+ return func(transform(arg));
270
+ };
271
+ }
272
+
273
+ /**
274
+ * Converts `set` to an array of its values.
275
+ *
276
+ * @private
277
+ * @param {Object} set The set to convert.
278
+ * @returns {Array} Returns the values.
279
+ */
280
+ function setToArray(set) {
281
+ var index = -1,
282
+ result = Array(set.size);
283
+
284
+ set.forEach(function(value) {
285
+ result[++index] = value;
286
+ });
287
+ return result;
288
+ }
289
+
290
+ /** Used for built-in method references. */
291
+ var arrayProto = Array.prototype,
292
+ funcProto = Function.prototype,
293
+ objectProto = Object.prototype;
294
+
295
+ /** Used to detect overreaching core-js shims. */
296
+ var coreJsData = root['__core-js_shared__'];
297
+
298
+ /** Used to resolve the decompiled source of functions. */
299
+ var funcToString = funcProto.toString;
300
+
301
+ /** Used to check objects for own properties. */
302
+ var hasOwnProperty = objectProto.hasOwnProperty;
303
+
304
+ /** Used to detect methods masquerading as native. */
305
+ var maskSrcKey = (function() {
306
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
307
+ return uid ? ('Symbol(src)_1.' + uid) : '';
308
+ }());
309
+
310
+ /**
311
+ * Used to resolve the
312
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
313
+ * of values.
314
+ */
315
+ var nativeObjectToString = objectProto.toString;
316
+
317
+ /** Used to detect if a method is native. */
318
+ var reIsNative = RegExp('^' +
319
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
320
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
321
+ );
322
+
323
+ /** Built-in value references. */
324
+ var Buffer = moduleExports ? root.Buffer : undefined,
325
+ Symbol = root.Symbol,
326
+ Uint8Array = root.Uint8Array,
327
+ propertyIsEnumerable = objectProto.propertyIsEnumerable,
328
+ splice = arrayProto.splice,
329
+ symToStringTag = Symbol ? Symbol.toStringTag : undefined;
330
+
331
+ /* Built-in method references for those with the same name as other `lodash` methods. */
332
+ var nativeGetSymbols = Object.getOwnPropertySymbols,
333
+ nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
334
+ nativeKeys = overArg(Object.keys, Object);
335
+
336
+ /* Built-in method references that are verified to be native. */
337
+ var DataView = getNative(root, 'DataView'),
338
+ Map = getNative(root, 'Map'),
339
+ Promise = getNative(root, 'Promise'),
340
+ Set = getNative(root, 'Set'),
341
+ WeakMap = getNative(root, 'WeakMap'),
342
+ nativeCreate = getNative(Object, 'create');
343
+
344
+ /** Used to detect maps, sets, and weakmaps. */
345
+ var dataViewCtorString = toSource(DataView),
346
+ mapCtorString = toSource(Map),
347
+ promiseCtorString = toSource(Promise),
348
+ setCtorString = toSource(Set),
349
+ weakMapCtorString = toSource(WeakMap);
350
+
351
+ /** Used to convert symbols to primitives and strings. */
352
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
353
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
354
+
355
+ /**
356
+ * Creates a hash object.
357
+ *
358
+ * @private
359
+ * @constructor
360
+ * @param {Array} [entries] The key-value pairs to cache.
361
+ */
362
+ function Hash(entries) {
363
+ var index = -1,
364
+ length = entries == null ? 0 : entries.length;
365
+
366
+ this.clear();
367
+ while (++index < length) {
368
+ var entry = entries[index];
369
+ this.set(entry[0], entry[1]);
370
+ }
371
+ }
372
+
373
+ /**
374
+ * Removes all key-value entries from the hash.
375
+ *
376
+ * @private
377
+ * @name clear
378
+ * @memberOf Hash
379
+ */
380
+ function hashClear() {
381
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
382
+ this.size = 0;
383
+ }
384
+
385
+ /**
386
+ * Removes `key` and its value from the hash.
387
+ *
388
+ * @private
389
+ * @name delete
390
+ * @memberOf Hash
391
+ * @param {Object} hash The hash to modify.
392
+ * @param {string} key The key of the value to remove.
393
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
394
+ */
395
+ function hashDelete(key) {
396
+ var result = this.has(key) && delete this.__data__[key];
397
+ this.size -= result ? 1 : 0;
398
+ return result;
399
+ }
400
+
401
+ /**
402
+ * Gets the hash value for `key`.
403
+ *
404
+ * @private
405
+ * @name get
406
+ * @memberOf Hash
407
+ * @param {string} key The key of the value to get.
408
+ * @returns {*} Returns the entry value.
409
+ */
410
+ function hashGet(key) {
411
+ var data = this.__data__;
412
+ if (nativeCreate) {
413
+ var result = data[key];
414
+ return result === HASH_UNDEFINED ? undefined : result;
415
+ }
416
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
417
+ }
418
+
419
+ /**
420
+ * Checks if a hash value for `key` exists.
421
+ *
422
+ * @private
423
+ * @name has
424
+ * @memberOf Hash
425
+ * @param {string} key The key of the entry to check.
426
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
427
+ */
428
+ function hashHas(key) {
429
+ var data = this.__data__;
430
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
431
+ }
432
+
433
+ /**
434
+ * Sets the hash `key` to `value`.
435
+ *
436
+ * @private
437
+ * @name set
438
+ * @memberOf Hash
439
+ * @param {string} key The key of the value to set.
440
+ * @param {*} value The value to set.
441
+ * @returns {Object} Returns the hash instance.
442
+ */
443
+ function hashSet(key, value) {
444
+ var data = this.__data__;
445
+ this.size += this.has(key) ? 0 : 1;
446
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
447
+ return this;
448
+ }
449
+
450
+ // Add methods to `Hash`.
451
+ Hash.prototype.clear = hashClear;
452
+ Hash.prototype['delete'] = hashDelete;
453
+ Hash.prototype.get = hashGet;
454
+ Hash.prototype.has = hashHas;
455
+ Hash.prototype.set = hashSet;
456
+
457
+ /**
458
+ * Creates an list cache object.
459
+ *
460
+ * @private
461
+ * @constructor
462
+ * @param {Array} [entries] The key-value pairs to cache.
463
+ */
464
+ function ListCache(entries) {
465
+ var index = -1,
466
+ length = entries == null ? 0 : entries.length;
467
+
468
+ this.clear();
469
+ while (++index < length) {
470
+ var entry = entries[index];
471
+ this.set(entry[0], entry[1]);
472
+ }
473
+ }
474
+
475
+ /**
476
+ * Removes all key-value entries from the list cache.
477
+ *
478
+ * @private
479
+ * @name clear
480
+ * @memberOf ListCache
481
+ */
482
+ function listCacheClear() {
483
+ this.__data__ = [];
484
+ this.size = 0;
485
+ }
486
+
487
+ /**
488
+ * Removes `key` and its value from the list cache.
489
+ *
490
+ * @private
491
+ * @name delete
492
+ * @memberOf ListCache
493
+ * @param {string} key The key of the value to remove.
494
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
495
+ */
496
+ function listCacheDelete(key) {
497
+ var data = this.__data__,
498
+ index = assocIndexOf(data, key);
499
+
500
+ if (index < 0) {
501
+ return false;
502
+ }
503
+ var lastIndex = data.length - 1;
504
+ if (index == lastIndex) {
505
+ data.pop();
506
+ } else {
507
+ splice.call(data, index, 1);
508
+ }
509
+ --this.size;
510
+ return true;
511
+ }
512
+
513
+ /**
514
+ * Gets the list cache value for `key`.
515
+ *
516
+ * @private
517
+ * @name get
518
+ * @memberOf ListCache
519
+ * @param {string} key The key of the value to get.
520
+ * @returns {*} Returns the entry value.
521
+ */
522
+ function listCacheGet(key) {
523
+ var data = this.__data__,
524
+ index = assocIndexOf(data, key);
525
+
526
+ return index < 0 ? undefined : data[index][1];
527
+ }
528
+
529
+ /**
530
+ * Checks if a list cache value for `key` exists.
531
+ *
532
+ * @private
533
+ * @name has
534
+ * @memberOf ListCache
535
+ * @param {string} key The key of the entry to check.
536
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
537
+ */
538
+ function listCacheHas(key) {
539
+ return assocIndexOf(this.__data__, key) > -1;
540
+ }
541
+
542
+ /**
543
+ * Sets the list cache `key` to `value`.
544
+ *
545
+ * @private
546
+ * @name set
547
+ * @memberOf ListCache
548
+ * @param {string} key The key of the value to set.
549
+ * @param {*} value The value to set.
550
+ * @returns {Object} Returns the list cache instance.
551
+ */
552
+ function listCacheSet(key, value) {
553
+ var data = this.__data__,
554
+ index = assocIndexOf(data, key);
555
+
556
+ if (index < 0) {
557
+ ++this.size;
558
+ data.push([key, value]);
559
+ } else {
560
+ data[index][1] = value;
561
+ }
562
+ return this;
563
+ }
564
+
565
+ // Add methods to `ListCache`.
566
+ ListCache.prototype.clear = listCacheClear;
567
+ ListCache.prototype['delete'] = listCacheDelete;
568
+ ListCache.prototype.get = listCacheGet;
569
+ ListCache.prototype.has = listCacheHas;
570
+ ListCache.prototype.set = listCacheSet;
571
+
572
+ /**
573
+ * Creates a map cache object to store key-value pairs.
574
+ *
575
+ * @private
576
+ * @constructor
577
+ * @param {Array} [entries] The key-value pairs to cache.
578
+ */
579
+ function MapCache(entries) {
580
+ var index = -1,
581
+ length = entries == null ? 0 : entries.length;
582
+
583
+ this.clear();
584
+ while (++index < length) {
585
+ var entry = entries[index];
586
+ this.set(entry[0], entry[1]);
587
+ }
588
+ }
589
+
590
+ /**
591
+ * Removes all key-value entries from the map.
592
+ *
593
+ * @private
594
+ * @name clear
595
+ * @memberOf MapCache
596
+ */
597
+ function mapCacheClear() {
598
+ this.size = 0;
599
+ this.__data__ = {
600
+ 'hash': new Hash,
601
+ 'map': new (Map || ListCache),
602
+ 'string': new Hash
603
+ };
604
+ }
605
+
606
+ /**
607
+ * Removes `key` and its value from the map.
608
+ *
609
+ * @private
610
+ * @name delete
611
+ * @memberOf MapCache
612
+ * @param {string} key The key of the value to remove.
613
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
614
+ */
615
+ function mapCacheDelete(key) {
616
+ var result = getMapData(this, key)['delete'](key);
617
+ this.size -= result ? 1 : 0;
618
+ return result;
619
+ }
620
+
621
+ /**
622
+ * Gets the map value for `key`.
623
+ *
624
+ * @private
625
+ * @name get
626
+ * @memberOf MapCache
627
+ * @param {string} key The key of the value to get.
628
+ * @returns {*} Returns the entry value.
629
+ */
630
+ function mapCacheGet(key) {
631
+ return getMapData(this, key).get(key);
632
+ }
633
+
634
+ /**
635
+ * Checks if a map value for `key` exists.
636
+ *
637
+ * @private
638
+ * @name has
639
+ * @memberOf MapCache
640
+ * @param {string} key The key of the entry to check.
641
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
642
+ */
643
+ function mapCacheHas(key) {
644
+ return getMapData(this, key).has(key);
645
+ }
646
+
647
+ /**
648
+ * Sets the map `key` to `value`.
649
+ *
650
+ * @private
651
+ * @name set
652
+ * @memberOf MapCache
653
+ * @param {string} key The key of the value to set.
654
+ * @param {*} value The value to set.
655
+ * @returns {Object} Returns the map cache instance.
656
+ */
657
+ function mapCacheSet(key, value) {
658
+ var data = getMapData(this, key),
659
+ size = data.size;
660
+
661
+ data.set(key, value);
662
+ this.size += data.size == size ? 0 : 1;
663
+ return this;
664
+ }
665
+
666
+ // Add methods to `MapCache`.
667
+ MapCache.prototype.clear = mapCacheClear;
668
+ MapCache.prototype['delete'] = mapCacheDelete;
669
+ MapCache.prototype.get = mapCacheGet;
670
+ MapCache.prototype.has = mapCacheHas;
671
+ MapCache.prototype.set = mapCacheSet;
672
+
673
+ /**
674
+ *
675
+ * Creates an array cache object to store unique values.
676
+ *
677
+ * @private
678
+ * @constructor
679
+ * @param {Array} [values] The values to cache.
680
+ */
681
+ function SetCache(values) {
682
+ var index = -1,
683
+ length = values == null ? 0 : values.length;
684
+
685
+ this.__data__ = new MapCache;
686
+ while (++index < length) {
687
+ this.add(values[index]);
688
+ }
689
+ }
690
+
691
+ /**
692
+ * Adds `value` to the array cache.
693
+ *
694
+ * @private
695
+ * @name add
696
+ * @memberOf SetCache
697
+ * @alias push
698
+ * @param {*} value The value to cache.
699
+ * @returns {Object} Returns the cache instance.
700
+ */
701
+ function setCacheAdd(value) {
702
+ this.__data__.set(value, HASH_UNDEFINED);
703
+ return this;
704
+ }
705
+
706
+ /**
707
+ * Checks if `value` is in the array cache.
708
+ *
709
+ * @private
710
+ * @name has
711
+ * @memberOf SetCache
712
+ * @param {*} value The value to search for.
713
+ * @returns {number} Returns `true` if `value` is found, else `false`.
714
+ */
715
+ function setCacheHas(value) {
716
+ return this.__data__.has(value);
717
+ }
718
+
719
+ // Add methods to `SetCache`.
720
+ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
721
+ SetCache.prototype.has = setCacheHas;
722
+
723
+ /**
724
+ * Creates a stack cache object to store key-value pairs.
725
+ *
726
+ * @private
727
+ * @constructor
728
+ * @param {Array} [entries] The key-value pairs to cache.
729
+ */
730
+ function Stack(entries) {
731
+ var data = this.__data__ = new ListCache(entries);
732
+ this.size = data.size;
733
+ }
734
+
735
+ /**
736
+ * Removes all key-value entries from the stack.
737
+ *
738
+ * @private
739
+ * @name clear
740
+ * @memberOf Stack
741
+ */
742
+ function stackClear() {
743
+ this.__data__ = new ListCache;
744
+ this.size = 0;
745
+ }
746
+
747
+ /**
748
+ * Removes `key` and its value from the stack.
749
+ *
750
+ * @private
751
+ * @name delete
752
+ * @memberOf Stack
753
+ * @param {string} key The key of the value to remove.
754
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
755
+ */
756
+ function stackDelete(key) {
757
+ var data = this.__data__,
758
+ result = data['delete'](key);
759
+
760
+ this.size = data.size;
761
+ return result;
762
+ }
763
+
764
+ /**
765
+ * Gets the stack value for `key`.
766
+ *
767
+ * @private
768
+ * @name get
769
+ * @memberOf Stack
770
+ * @param {string} key The key of the value to get.
771
+ * @returns {*} Returns the entry value.
772
+ */
773
+ function stackGet(key) {
774
+ return this.__data__.get(key);
775
+ }
776
+
777
+ /**
778
+ * Checks if a stack value for `key` exists.
779
+ *
780
+ * @private
781
+ * @name has
782
+ * @memberOf Stack
783
+ * @param {string} key The key of the entry to check.
784
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
785
+ */
786
+ function stackHas(key) {
787
+ return this.__data__.has(key);
788
+ }
789
+
790
+ /**
791
+ * Sets the stack `key` to `value`.
792
+ *
793
+ * @private
794
+ * @name set
795
+ * @memberOf Stack
796
+ * @param {string} key The key of the value to set.
797
+ * @param {*} value The value to set.
798
+ * @returns {Object} Returns the stack cache instance.
799
+ */
800
+ function stackSet(key, value) {
801
+ var data = this.__data__;
802
+ if (data instanceof ListCache) {
803
+ var pairs = data.__data__;
804
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
805
+ pairs.push([key, value]);
806
+ this.size = ++data.size;
807
+ return this;
808
+ }
809
+ data = this.__data__ = new MapCache(pairs);
810
+ }
811
+ data.set(key, value);
812
+ this.size = data.size;
813
+ return this;
814
+ }
815
+
816
+ // Add methods to `Stack`.
817
+ Stack.prototype.clear = stackClear;
818
+ Stack.prototype['delete'] = stackDelete;
819
+ Stack.prototype.get = stackGet;
820
+ Stack.prototype.has = stackHas;
821
+ Stack.prototype.set = stackSet;
822
+
823
+ /**
824
+ * Creates an array of the enumerable property names of the array-like `value`.
825
+ *
826
+ * @private
827
+ * @param {*} value The value to query.
828
+ * @param {boolean} inherited Specify returning inherited property names.
829
+ * @returns {Array} Returns the array of property names.
830
+ */
831
+ function arrayLikeKeys(value, inherited) {
832
+ var isArr = isArray(value),
833
+ isArg = !isArr && isArguments(value),
834
+ isBuff = !isArr && !isArg && isBuffer(value),
835
+ isType = !isArr && !isArg && !isBuff && isTypedArray(value),
836
+ skipIndexes = isArr || isArg || isBuff || isType,
837
+ result = skipIndexes ? baseTimes(value.length, String) : [],
838
+ length = result.length;
839
+
840
+ for (var key in value) {
841
+ if ((inherited || hasOwnProperty.call(value, key)) &&
842
+ !(skipIndexes && (
843
+ // Safari 9 has enumerable `arguments.length` in strict mode.
844
+ key == 'length' ||
845
+ // Node.js 0.10 has enumerable non-index properties on buffers.
846
+ (isBuff && (key == 'offset' || key == 'parent')) ||
847
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
848
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
849
+ // Skip index properties.
850
+ isIndex(key, length)
851
+ ))) {
852
+ result.push(key);
853
+ }
854
+ }
855
+ return result;
856
+ }
857
+
858
+ /**
859
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
860
+ *
861
+ * @private
862
+ * @param {Array} array The array to inspect.
863
+ * @param {*} key The key to search for.
864
+ * @returns {number} Returns the index of the matched value, else `-1`.
865
+ */
866
+ function assocIndexOf(array, key) {
867
+ var length = array.length;
868
+ while (length--) {
869
+ if (eq(array[length][0], key)) {
870
+ return length;
871
+ }
872
+ }
873
+ return -1;
874
+ }
875
+
876
+ /**
877
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
878
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
879
+ * symbols of `object`.
880
+ *
881
+ * @private
882
+ * @param {Object} object The object to query.
883
+ * @param {Function} keysFunc The function to get the keys of `object`.
884
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
885
+ * @returns {Array} Returns the array of property names and symbols.
886
+ */
887
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
888
+ var result = keysFunc(object);
889
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
890
+ }
891
+
892
+ /**
893
+ * The base implementation of `getTag` without fallbacks for buggy environments.
894
+ *
895
+ * @private
896
+ * @param {*} value The value to query.
897
+ * @returns {string} Returns the `toStringTag`.
898
+ */
899
+ function baseGetTag(value) {
900
+ if (value == null) {
901
+ return value === undefined ? undefinedTag : nullTag;
902
+ }
903
+ return (symToStringTag && symToStringTag in Object(value))
904
+ ? getRawTag(value)
905
+ : objectToString(value);
906
+ }
907
+
908
+ /**
909
+ * The base implementation of `_.isArguments`.
910
+ *
911
+ * @private
912
+ * @param {*} value The value to check.
913
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
914
+ */
915
+ function baseIsArguments(value) {
916
+ return isObjectLike(value) && baseGetTag(value) == argsTag;
917
+ }
918
+
919
+ /**
920
+ * The base implementation of `_.isEqual` which supports partial comparisons
921
+ * and tracks traversed objects.
922
+ *
923
+ * @private
924
+ * @param {*} value The value to compare.
925
+ * @param {*} other The other value to compare.
926
+ * @param {boolean} bitmask The bitmask flags.
927
+ * 1 - Unordered comparison
928
+ * 2 - Partial comparison
929
+ * @param {Function} [customizer] The function to customize comparisons.
930
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
931
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
932
+ */
933
+ function baseIsEqual(value, other, bitmask, customizer, stack) {
934
+ if (value === other) {
935
+ return true;
936
+ }
937
+ if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
938
+ return value !== value && other !== other;
939
+ }
940
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
941
+ }
942
+
943
+ /**
944
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
945
+ * deep comparisons and tracks traversed objects enabling objects with circular
946
+ * references to be compared.
947
+ *
948
+ * @private
949
+ * @param {Object} object The object to compare.
950
+ * @param {Object} other The other object to compare.
951
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
952
+ * @param {Function} customizer The function to customize comparisons.
953
+ * @param {Function} equalFunc The function to determine equivalents of values.
954
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
955
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
956
+ */
957
+ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
958
+ var objIsArr = isArray(object),
959
+ othIsArr = isArray(other),
960
+ objTag = objIsArr ? arrayTag : getTag(object),
961
+ othTag = othIsArr ? arrayTag : getTag(other);
962
+
963
+ objTag = objTag == argsTag ? objectTag : objTag;
964
+ othTag = othTag == argsTag ? objectTag : othTag;
965
+
966
+ var objIsObj = objTag == objectTag,
967
+ othIsObj = othTag == objectTag,
968
+ isSameTag = objTag == othTag;
969
+
970
+ if (isSameTag && isBuffer(object)) {
971
+ if (!isBuffer(other)) {
972
+ return false;
973
+ }
974
+ objIsArr = true;
975
+ objIsObj = false;
976
+ }
977
+ if (isSameTag && !objIsObj) {
978
+ stack || (stack = new Stack);
979
+ return (objIsArr || isTypedArray(object))
980
+ ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
981
+ : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
982
+ }
983
+ if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
984
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
985
+ othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
986
+
987
+ if (objIsWrapped || othIsWrapped) {
988
+ var objUnwrapped = objIsWrapped ? object.value() : object,
989
+ othUnwrapped = othIsWrapped ? other.value() : other;
990
+
991
+ stack || (stack = new Stack);
992
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
993
+ }
994
+ }
995
+ if (!isSameTag) {
996
+ return false;
997
+ }
998
+ stack || (stack = new Stack);
999
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
1000
+ }
1001
+
1002
+ /**
1003
+ * The base implementation of `_.isNative` without bad shim checks.
1004
+ *
1005
+ * @private
1006
+ * @param {*} value The value to check.
1007
+ * @returns {boolean} Returns `true` if `value` is a native function,
1008
+ * else `false`.
1009
+ */
1010
+ function baseIsNative(value) {
1011
+ if (!isObject(value) || isMasked(value)) {
1012
+ return false;
1013
+ }
1014
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
1015
+ return pattern.test(toSource(value));
1016
+ }
1017
+
1018
+ /**
1019
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
1020
+ *
1021
+ * @private
1022
+ * @param {*} value The value to check.
1023
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1024
+ */
1025
+ function baseIsTypedArray(value) {
1026
+ return isObjectLike(value) &&
1027
+ isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
1028
+ }
1029
+
1030
+ /**
1031
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1032
+ *
1033
+ * @private
1034
+ * @param {Object} object The object to query.
1035
+ * @returns {Array} Returns the array of property names.
1036
+ */
1037
+ function baseKeys(object) {
1038
+ if (!isPrototype(object)) {
1039
+ return nativeKeys(object);
1040
+ }
1041
+ var result = [];
1042
+ for (var key in Object(object)) {
1043
+ if (hasOwnProperty.call(object, key) && key != 'constructor') {
1044
+ result.push(key);
1045
+ }
1046
+ }
1047
+ return result;
1048
+ }
1049
+
3
1050
  /**
4
- * lodash (Custom Build) <https://lodash.com/>
5
- * Build: `lodash modularize exports="npm" -o ./`
6
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
7
- * Released under MIT license <https://lodash.com/license>
8
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
9
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
1051
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
1052
+ * partial deep comparisons.
1053
+ *
1054
+ * @private
1055
+ * @param {Array} array The array to compare.
1056
+ * @param {Array} other The other array to compare.
1057
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1058
+ * @param {Function} customizer The function to customize comparisons.
1059
+ * @param {Function} equalFunc The function to determine equivalents of values.
1060
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
1061
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
10
1062
  */
1063
+ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1064
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
1065
+ arrLength = array.length,
1066
+ othLength = other.length;
11
1067
 
12
- /** Used as references for various `Number` constants. */
13
- var INFINITY = 1 / 0,
14
- MAX_SAFE_INTEGER = 9007199254740991,
15
- MAX_INTEGER = 1.7976931348623157e+308,
16
- NAN = 0 / 0;
17
-
18
- /** `Object#toString` result references. */
19
- var symbolTag = '[object Symbol]';
1068
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
1069
+ return false;
1070
+ }
1071
+ // Assume cyclic values are equal.
1072
+ var stacked = stack.get(array);
1073
+ if (stacked && stack.get(other)) {
1074
+ return stacked == other;
1075
+ }
1076
+ var index = -1,
1077
+ result = true,
1078
+ seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
20
1079
 
21
- /** Used to match leading and trailing whitespace. */
22
- var reTrim = /^\s+|\s+$/g;
1080
+ stack.set(array, other);
1081
+ stack.set(other, array);
23
1082
 
24
- /** Used to detect bad signed hexadecimal string values. */
25
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
1083
+ // Ignore non-index properties.
1084
+ while (++index < arrLength) {
1085
+ var arrValue = array[index],
1086
+ othValue = other[index];
26
1087
 
27
- /** Used to detect binary string values. */
28
- var reIsBinary = /^0b[01]+$/i;
1088
+ if (customizer) {
1089
+ var compared = isPartial
1090
+ ? customizer(othValue, arrValue, index, other, array, stack)
1091
+ : customizer(arrValue, othValue, index, array, other, stack);
1092
+ }
1093
+ if (compared !== undefined) {
1094
+ if (compared) {
1095
+ continue;
1096
+ }
1097
+ result = false;
1098
+ break;
1099
+ }
1100
+ // Recursively compare arrays (susceptible to call stack limits).
1101
+ if (seen) {
1102
+ if (!arraySome(other, function(othValue, othIndex) {
1103
+ if (!cacheHas(seen, othIndex) &&
1104
+ (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
1105
+ return seen.push(othIndex);
1106
+ }
1107
+ })) {
1108
+ result = false;
1109
+ break;
1110
+ }
1111
+ } else if (!(
1112
+ arrValue === othValue ||
1113
+ equalFunc(arrValue, othValue, bitmask, customizer, stack)
1114
+ )) {
1115
+ result = false;
1116
+ break;
1117
+ }
1118
+ }
1119
+ stack['delete'](array);
1120
+ stack['delete'](other);
1121
+ return result;
1122
+ }
29
1123
 
30
- /** Used to detect octal string values. */
31
- var reIsOctal = /^0o[0-7]+$/i;
1124
+ /**
1125
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
1126
+ * the same `toStringTag`.
1127
+ *
1128
+ * **Note:** This function only supports comparing values with tags of
1129
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
1130
+ *
1131
+ * @private
1132
+ * @param {Object} object The object to compare.
1133
+ * @param {Object} other The other object to compare.
1134
+ * @param {string} tag The `toStringTag` of the objects to compare.
1135
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1136
+ * @param {Function} customizer The function to customize comparisons.
1137
+ * @param {Function} equalFunc The function to determine equivalents of values.
1138
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
1139
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
1140
+ */
1141
+ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
1142
+ switch (tag) {
1143
+ case dataViewTag:
1144
+ if ((object.byteLength != other.byteLength) ||
1145
+ (object.byteOffset != other.byteOffset)) {
1146
+ return false;
1147
+ }
1148
+ object = object.buffer;
1149
+ other = other.buffer;
32
1150
 
33
- /** Used to compose unicode character classes. */
34
- var rsAstralRange = '\\ud800-\\udfff',
35
- rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
36
- rsComboSymbolsRange = '\\u20d0-\\u20f0',
37
- rsVarRange = '\\ufe0e\\ufe0f';
1151
+ case arrayBufferTag:
1152
+ if ((object.byteLength != other.byteLength) ||
1153
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
1154
+ return false;
1155
+ }
1156
+ return true;
38
1157
 
39
- /** Used to compose unicode capture groups. */
40
- var rsAstral = '[' + rsAstralRange + ']',
41
- rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
42
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
43
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
44
- rsNonAstral = '[^' + rsAstralRange + ']',
45
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
46
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
47
- rsZWJ = '\\u200d';
1158
+ case boolTag:
1159
+ case dateTag:
1160
+ case numberTag:
1161
+ // Coerce booleans to `1` or `0` and dates to milliseconds.
1162
+ // Invalid dates are coerced to `NaN`.
1163
+ return eq(+object, +other);
48
1164
 
49
- /** Used to compose unicode regexes. */
50
- var reOptMod = rsModifier + '?',
51
- rsOptVar = '[' + rsVarRange + ']?',
52
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
53
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
54
- rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
1165
+ case errorTag:
1166
+ return object.name == other.name && object.message == other.message;
55
1167
 
56
- /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
57
- var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
1168
+ case regexpTag:
1169
+ case stringTag:
1170
+ // Coerce regexes to strings and treat strings, primitives and objects,
1171
+ // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
1172
+ // for more details.
1173
+ return object == (other + '');
58
1174
 
59
- /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
60
- var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
1175
+ case mapTag:
1176
+ var convert = mapToArray;
61
1177
 
62
- /** Built-in method references without a dependency on `root`. */
63
- var freeParseInt = parseInt;
1178
+ case setTag:
1179
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
1180
+ convert || (convert = setToArray);
64
1181
 
65
- /** Detect free variable `global` from Node.js. */
66
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
1182
+ if (object.size != other.size && !isPartial) {
1183
+ return false;
1184
+ }
1185
+ // Assume cyclic values are equal.
1186
+ var stacked = stack.get(object);
1187
+ if (stacked) {
1188
+ return stacked == other;
1189
+ }
1190
+ bitmask |= COMPARE_UNORDERED_FLAG;
67
1191
 
68
- /** Detect free variable `self`. */
69
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
1192
+ // Recursively compare objects (susceptible to call stack limits).
1193
+ stack.set(object, other);
1194
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
1195
+ stack['delete'](object);
1196
+ return result;
70
1197
 
71
- /** Used as a reference to the global object. */
72
- var root = freeGlobal || freeSelf || Function('return this')();
1198
+ case symbolTag:
1199
+ if (symbolValueOf) {
1200
+ return symbolValueOf.call(object) == symbolValueOf.call(other);
1201
+ }
1202
+ }
1203
+ return false;
1204
+ }
73
1205
 
74
1206
  /**
75
- * Gets the size of an ASCII `string`.
1207
+ * A specialized version of `baseIsEqualDeep` for objects with support for
1208
+ * partial deep comparisons.
76
1209
  *
77
1210
  * @private
78
- * @param {string} string The string inspect.
79
- * @returns {number} Returns the string size.
1211
+ * @param {Object} object The object to compare.
1212
+ * @param {Object} other The other object to compare.
1213
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
1214
+ * @param {Function} customizer The function to customize comparisons.
1215
+ * @param {Function} equalFunc The function to determine equivalents of values.
1216
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
1217
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
80
1218
  */
81
- var asciiSize = baseProperty('length');
1219
+ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
1220
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
1221
+ objProps = getAllKeys(object),
1222
+ objLength = objProps.length,
1223
+ othProps = getAllKeys(other),
1224
+ othLength = othProps.length;
1225
+
1226
+ if (objLength != othLength && !isPartial) {
1227
+ return false;
1228
+ }
1229
+ var index = objLength;
1230
+ while (index--) {
1231
+ var key = objProps[index];
1232
+ if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
1233
+ return false;
1234
+ }
1235
+ }
1236
+ // Assume cyclic values are equal.
1237
+ var stacked = stack.get(object);
1238
+ if (stacked && stack.get(other)) {
1239
+ return stacked == other;
1240
+ }
1241
+ var result = true;
1242
+ stack.set(object, other);
1243
+ stack.set(other, object);
1244
+
1245
+ var skipCtor = isPartial;
1246
+ while (++index < objLength) {
1247
+ key = objProps[index];
1248
+ var objValue = object[key],
1249
+ othValue = other[key];
1250
+
1251
+ if (customizer) {
1252
+ var compared = isPartial
1253
+ ? customizer(othValue, objValue, key, other, object, stack)
1254
+ : customizer(objValue, othValue, key, object, other, stack);
1255
+ }
1256
+ // Recursively compare objects (susceptible to call stack limits).
1257
+ if (!(compared === undefined
1258
+ ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
1259
+ : compared
1260
+ )) {
1261
+ result = false;
1262
+ break;
1263
+ }
1264
+ skipCtor || (skipCtor = key == 'constructor');
1265
+ }
1266
+ if (result && !skipCtor) {
1267
+ var objCtor = object.constructor,
1268
+ othCtor = other.constructor;
1269
+
1270
+ // Non `Object` object instances with different constructors are not equal.
1271
+ if (objCtor != othCtor &&
1272
+ ('constructor' in object && 'constructor' in other) &&
1273
+ !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
1274
+ typeof othCtor == 'function' && othCtor instanceof othCtor)) {
1275
+ result = false;
1276
+ }
1277
+ }
1278
+ stack['delete'](object);
1279
+ stack['delete'](other);
1280
+ return result;
1281
+ }
82
1282
 
83
1283
  /**
84
- * Converts an ASCII `string` to an array.
1284
+ * Creates an array of own enumerable property names and symbols of `object`.
85
1285
  *
86
1286
  * @private
87
- * @param {string} string The string to convert.
88
- * @returns {Array} Returns the converted array.
1287
+ * @param {Object} object The object to query.
1288
+ * @returns {Array} Returns the array of property names and symbols.
89
1289
  */
90
- function asciiToArray(string) {
91
- return string.split('');
1290
+ function getAllKeys(object) {
1291
+ return baseGetAllKeys(object, keys, getSymbols);
92
1292
  }
93
1293
 
94
1294
  /**
95
- * The base implementation of `_.property` without support for deep paths.
1295
+ * Gets the data for `map`.
96
1296
  *
97
1297
  * @private
98
- * @param {string} key The key of the property to get.
99
- * @returns {Function} Returns the new accessor function.
1298
+ * @param {Object} map The map to query.
1299
+ * @param {string} key The reference key.
1300
+ * @returns {*} Returns the map data.
100
1301
  */
101
- function baseProperty(key) {
102
- return function(object) {
103
- return object == null ? undefined : object[key];
104
- };
1302
+ function getMapData(map, key) {
1303
+ var data = map.__data__;
1304
+ return isKeyable(key)
1305
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1306
+ : data.map;
105
1307
  }
106
1308
 
107
1309
  /**
108
- * Checks if `string` contains Unicode symbols.
1310
+ * Gets the native function at `key` of `object`.
109
1311
  *
110
1312
  * @private
111
- * @param {string} string The string to inspect.
112
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
1313
+ * @param {Object} object The object to query.
1314
+ * @param {string} key The key of the method to get.
1315
+ * @returns {*} Returns the function if it's native, else `undefined`.
113
1316
  */
114
- function hasUnicode(string) {
115
- return reHasUnicode.test(string);
1317
+ function getNative(object, key) {
1318
+ var value = getValue(object, key);
1319
+ return baseIsNative(value) ? value : undefined;
116
1320
  }
117
1321
 
118
1322
  /**
119
- * Gets the number of symbols in `string`.
1323
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
120
1324
  *
121
1325
  * @private
122
- * @param {string} string The string to inspect.
123
- * @returns {number} Returns the string size.
1326
+ * @param {*} value The value to query.
1327
+ * @returns {string} Returns the raw `toStringTag`.
124
1328
  */
125
- function stringSize(string) {
126
- return hasUnicode(string)
127
- ? unicodeSize(string)
128
- : asciiSize(string);
1329
+ function getRawTag(value) {
1330
+ var isOwn = hasOwnProperty.call(value, symToStringTag),
1331
+ tag = value[symToStringTag];
1332
+
1333
+ try {
1334
+ value[symToStringTag] = undefined;
1335
+ var unmasked = true;
1336
+ } catch (e) {}
1337
+
1338
+ var result = nativeObjectToString.call(value);
1339
+ if (unmasked) {
1340
+ if (isOwn) {
1341
+ value[symToStringTag] = tag;
1342
+ } else {
1343
+ delete value[symToStringTag];
1344
+ }
1345
+ }
1346
+ return result;
129
1347
  }
130
1348
 
131
1349
  /**
132
- * Converts `string` to an array.
1350
+ * Creates an array of the own enumerable symbols of `object`.
133
1351
  *
134
1352
  * @private
135
- * @param {string} string The string to convert.
136
- * @returns {Array} Returns the converted array.
1353
+ * @param {Object} object The object to query.
1354
+ * @returns {Array} Returns the array of symbols.
137
1355
  */
138
- function stringToArray(string) {
139
- return hasUnicode(string)
140
- ? unicodeToArray(string)
141
- : asciiToArray(string);
142
- }
1356
+ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
1357
+ if (object == null) {
1358
+ return [];
1359
+ }
1360
+ object = Object(object);
1361
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1362
+ return propertyIsEnumerable.call(object, symbol);
1363
+ });
1364
+ };
143
1365
 
144
1366
  /**
145
- * Gets the size of a Unicode `string`.
1367
+ * Gets the `toStringTag` of `value`.
146
1368
  *
147
1369
  * @private
148
- * @param {string} string The string inspect.
149
- * @returns {number} Returns the string size.
1370
+ * @param {*} value The value to query.
1371
+ * @returns {string} Returns the `toStringTag`.
150
1372
  */
151
- function unicodeSize(string) {
152
- var result = reUnicode.lastIndex = 0;
153
- while (reUnicode.test(string)) {
154
- result++;
155
- }
156
- return result;
1373
+ var getTag = baseGetTag;
1374
+
1375
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
1376
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
1377
+ (Map && getTag(new Map) != mapTag) ||
1378
+ (Promise && getTag(Promise.resolve()) != promiseTag) ||
1379
+ (Set && getTag(new Set) != setTag) ||
1380
+ (WeakMap && getTag(new WeakMap) != weakMapTag)) {
1381
+ getTag = function(value) {
1382
+ var result = baseGetTag(value),
1383
+ Ctor = result == objectTag ? value.constructor : undefined,
1384
+ ctorString = Ctor ? toSource(Ctor) : '';
1385
+
1386
+ if (ctorString) {
1387
+ switch (ctorString) {
1388
+ case dataViewCtorString: return dataViewTag;
1389
+ case mapCtorString: return mapTag;
1390
+ case promiseCtorString: return promiseTag;
1391
+ case setCtorString: return setTag;
1392
+ case weakMapCtorString: return weakMapTag;
1393
+ }
1394
+ }
1395
+ return result;
1396
+ };
157
1397
  }
158
1398
 
159
1399
  /**
160
- * Converts a Unicode `string` to an array.
1400
+ * Checks if `value` is a valid array-like index.
161
1401
  *
162
1402
  * @private
163
- * @param {string} string The string to convert.
164
- * @returns {Array} Returns the converted array.
1403
+ * @param {*} value The value to check.
1404
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1405
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
165
1406
  */
166
- function unicodeToArray(string) {
167
- return string.match(reUnicode) || [];
1407
+ function isIndex(value, length) {
1408
+ length = length == null ? MAX_SAFE_INTEGER : length;
1409
+ return !!length &&
1410
+ (typeof value == 'number' || reIsUint.test(value)) &&
1411
+ (value > -1 && value % 1 == 0 && value < length);
168
1412
  }
169
1413
 
170
- /** Used for built-in method references. */
171
- var objectProto = Object.prototype;
172
-
173
1414
  /**
174
- * Used to resolve the
175
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
176
- * of values.
1415
+ * Checks if `value` is suitable for use as unique object key.
1416
+ *
1417
+ * @private
1418
+ * @param {*} value The value to check.
1419
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
177
1420
  */
178
- var objectToString = objectProto.toString;
179
-
180
- /** Built-in value references. */
181
- var Symbol = root.Symbol;
182
-
183
- /* Built-in method references for those with the same name as other `lodash` methods. */
184
- var nativeCeil = Math.ceil,
185
- nativeFloor = Math.floor;
186
-
187
- /** Used to convert symbols to primitives and strings. */
188
- var symbolProto = Symbol ? Symbol.prototype : undefined,
189
- symbolToString = symbolProto ? symbolProto.toString : undefined;
1421
+ function isKeyable(value) {
1422
+ var type = typeof value;
1423
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1424
+ ? (value !== '__proto__')
1425
+ : (value === null);
1426
+ }
190
1427
 
191
1428
  /**
192
- * The base implementation of `_.repeat` which doesn't coerce arguments.
1429
+ * Checks if `func` has its source masked.
193
1430
  *
194
1431
  * @private
195
- * @param {string} string The string to repeat.
196
- * @param {number} n The number of times to repeat the string.
197
- * @returns {string} Returns the repeated string.
1432
+ * @param {Function} func The function to check.
1433
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
198
1434
  */
199
- function baseRepeat(string, n) {
200
- var result = '';
201
- if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
202
- return result;
203
- }
204
- // Leverage the exponentiation by squaring algorithm for a faster repeat.
205
- // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
206
- do {
207
- if (n % 2) {
208
- result += string;
209
- }
210
- n = nativeFloor(n / 2);
211
- if (n) {
212
- string += string;
213
- }
214
- } while (n);
215
-
216
- return result;
1435
+ function isMasked(func) {
1436
+ return !!maskSrcKey && (maskSrcKey in func);
217
1437
  }
218
1438
 
219
1439
  /**
220
- * The base implementation of `_.slice` without an iteratee call guard.
1440
+ * Checks if `value` is likely a prototype object.
221
1441
  *
222
1442
  * @private
223
- * @param {Array} array The array to slice.
224
- * @param {number} [start=0] The start position.
225
- * @param {number} [end=array.length] The end position.
226
- * @returns {Array} Returns the slice of `array`.
1443
+ * @param {*} value The value to check.
1444
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
227
1445
  */
228
- function baseSlice(array, start, end) {
229
- var index = -1,
230
- length = array.length;
1446
+ function isPrototype(value) {
1447
+ var Ctor = value && value.constructor,
1448
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
231
1449
 
232
- if (start < 0) {
233
- start = -start > length ? 0 : (length + start);
234
- }
235
- end = end > length ? length : end;
236
- if (end < 0) {
237
- end += length;
238
- }
239
- length = start > end ? 0 : ((end - start) >>> 0);
240
- start >>>= 0;
241
-
242
- var result = Array(length);
243
- while (++index < length) {
244
- result[index] = array[index + start];
245
- }
246
- return result;
1450
+ return value === proto;
247
1451
  }
248
1452
 
249
1453
  /**
250
- * The base implementation of `_.toString` which doesn't convert nullish
251
- * values to empty strings.
1454
+ * Converts `value` to a string using `Object.prototype.toString`.
252
1455
  *
253
1456
  * @private
254
- * @param {*} value The value to process.
255
- * @returns {string} Returns the string.
1457
+ * @param {*} value The value to convert.
1458
+ * @returns {string} Returns the converted string.
256
1459
  */
257
- function baseToString(value) {
258
- // Exit early for strings to avoid a performance hit in some environments.
259
- if (typeof value == 'string') {
260
- return value;
261
- }
262
- if (isSymbol(value)) {
263
- return symbolToString ? symbolToString.call(value) : '';
264
- }
265
- var result = (value + '');
266
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1460
+ function objectToString(value) {
1461
+ return nativeObjectToString.call(value);
267
1462
  }
268
1463
 
269
1464
  /**
270
- * Casts `array` to a slice if it's needed.
1465
+ * Converts `func` to its source code.
271
1466
  *
272
1467
  * @private
273
- * @param {Array} array The array to inspect.
274
- * @param {number} start The start position.
275
- * @param {number} [end=array.length] The end position.
276
- * @returns {Array} Returns the cast slice.
1468
+ * @param {Function} func The function to convert.
1469
+ * @returns {string} Returns the source code.
277
1470
  */
278
- function castSlice(array, start, end) {
279
- var length = array.length;
280
- end = end === undefined ? length : end;
281
- return (!start && end >= length) ? array : baseSlice(array, start, end);
1471
+ function toSource(func) {
1472
+ if (func != null) {
1473
+ try {
1474
+ return funcToString.call(func);
1475
+ } catch (e) {}
1476
+ try {
1477
+ return (func + '');
1478
+ } catch (e) {}
1479
+ }
1480
+ return '';
282
1481
  }
283
1482
 
284
1483
  /**
285
- * Creates the padding for `string` based on `length`. The `chars` string
286
- * is truncated if the number of characters exceeds `length`.
1484
+ * Performs a
1485
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1486
+ * comparison between two values to determine if they are equivalent.
287
1487
  *
288
- * @private
289
- * @param {number} length The padding length.
290
- * @param {string} [chars=' '] The string used as padding.
291
- * @returns {string} Returns the padding for `string`.
1488
+ * @static
1489
+ * @memberOf _
1490
+ * @since 4.0.0
1491
+ * @category Lang
1492
+ * @param {*} value The value to compare.
1493
+ * @param {*} other The other value to compare.
1494
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1495
+ * @example
1496
+ *
1497
+ * var object = { 'a': 1 };
1498
+ * var other = { 'a': 1 };
1499
+ *
1500
+ * _.eq(object, object);
1501
+ * // => true
1502
+ *
1503
+ * _.eq(object, other);
1504
+ * // => false
1505
+ *
1506
+ * _.eq('a', 'a');
1507
+ * // => true
1508
+ *
1509
+ * _.eq('a', Object('a'));
1510
+ * // => false
1511
+ *
1512
+ * _.eq(NaN, NaN);
1513
+ * // => true
292
1514
  */
293
- function createPadding(length, chars) {
294
- chars = chars === undefined ? ' ' : baseToString(chars);
295
-
296
- var charsLength = chars.length;
297
- if (charsLength < 2) {
298
- return charsLength ? baseRepeat(chars, length) : chars;
299
- }
300
- var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
301
- return hasUnicode(chars)
302
- ? castSlice(stringToArray(result), 0, length).join('')
303
- : result.slice(0, length);
1515
+ function eq(value, other) {
1516
+ return value === other || (value !== value && other !== other);
304
1517
  }
305
1518
 
306
1519
  /**
307
- * Checks if `value` is the
308
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
309
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1520
+ * Checks if `value` is likely an `arguments` object.
310
1521
  *
311
1522
  * @static
312
1523
  * @memberOf _
313
1524
  * @since 0.1.0
314
1525
  * @category Lang
315
1526
  * @param {*} value The value to check.
316
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1527
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1528
+ * else `false`.
317
1529
  * @example
318
1530
  *
319
- * _.isObject({});
1531
+ * _.isArguments(function() { return arguments; }());
320
1532
  * // => true
321
1533
  *
322
- * _.isObject([1, 2, 3]);
323
- * // => true
1534
+ * _.isArguments([1, 2, 3]);
1535
+ * // => false
1536
+ */
1537
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
1538
+ return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
1539
+ !propertyIsEnumerable.call(value, 'callee');
1540
+ };
1541
+
1542
+ /**
1543
+ * Checks if `value` is classified as an `Array` object.
324
1544
  *
325
- * _.isObject(_.noop);
1545
+ * @static
1546
+ * @memberOf _
1547
+ * @since 0.1.0
1548
+ * @category Lang
1549
+ * @param {*} value The value to check.
1550
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1551
+ * @example
1552
+ *
1553
+ * _.isArray([1, 2, 3]);
326
1554
  * // => true
327
1555
  *
328
- * _.isObject(null);
1556
+ * _.isArray(document.body.children);
1557
+ * // => false
1558
+ *
1559
+ * _.isArray('abc');
1560
+ * // => false
1561
+ *
1562
+ * _.isArray(_.noop);
329
1563
  * // => false
330
1564
  */
331
- function isObject(value) {
332
- var type = typeof value;
333
- return !!value && (type == 'object' || type == 'function');
334
- }
1565
+ var isArray = Array.isArray;
335
1566
 
336
1567
  /**
337
- * Checks if `value` is object-like. A value is object-like if it's not `null`
338
- * and has a `typeof` result of "object".
1568
+ * Checks if `value` is array-like. A value is considered array-like if it's
1569
+ * not a function and has a `value.length` that's an integer greater than or
1570
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
339
1571
  *
340
1572
  * @static
341
1573
  * @memberOf _
342
1574
  * @since 4.0.0
343
1575
  * @category Lang
344
1576
  * @param {*} value The value to check.
345
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1577
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
346
1578
  * @example
347
1579
  *
348
- * _.isObjectLike({});
1580
+ * _.isArrayLike([1, 2, 3]);
349
1581
  * // => true
350
1582
  *
351
- * _.isObjectLike([1, 2, 3]);
1583
+ * _.isArrayLike(document.body.children);
352
1584
  * // => true
353
1585
  *
354
- * _.isObjectLike(_.noop);
355
- * // => false
1586
+ * _.isArrayLike('abc');
1587
+ * // => true
356
1588
  *
357
- * _.isObjectLike(null);
1589
+ * _.isArrayLike(_.noop);
358
1590
  * // => false
359
1591
  */
360
- function isObjectLike(value) {
361
- return !!value && typeof value == 'object';
1592
+ function isArrayLike(value) {
1593
+ return value != null && isLength(value.length) && !isFunction(value);
362
1594
  }
363
1595
 
364
1596
  /**
365
- * Checks if `value` is classified as a `Symbol` primitive or object.
1597
+ * Checks if `value` is a buffer.
366
1598
  *
367
1599
  * @static
368
1600
  * @memberOf _
369
- * @since 4.0.0
1601
+ * @since 4.3.0
370
1602
  * @category Lang
371
1603
  * @param {*} value The value to check.
372
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
1604
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
373
1605
  * @example
374
1606
  *
375
- * _.isSymbol(Symbol.iterator);
1607
+ * _.isBuffer(new Buffer(2));
376
1608
  * // => true
377
1609
  *
378
- * _.isSymbol('abc');
1610
+ * _.isBuffer(new Uint8Array(2));
379
1611
  * // => false
380
1612
  */
381
- function isSymbol(value) {
382
- return typeof value == 'symbol' ||
383
- (isObjectLike(value) && objectToString.call(value) == symbolTag);
384
- }
1613
+ var isBuffer = nativeIsBuffer || stubFalse;
385
1614
 
386
1615
  /**
387
- * Converts `value` to a finite number.
1616
+ * Performs a deep comparison between two values to determine if they are
1617
+ * equivalent.
1618
+ *
1619
+ * **Note:** This method supports comparing arrays, array buffers, booleans,
1620
+ * date objects, error objects, maps, numbers, `Object` objects, regexes,
1621
+ * sets, strings, symbols, and typed arrays. `Object` objects are compared
1622
+ * by their own, not inherited, enumerable properties. Functions and DOM
1623
+ * nodes are compared by strict equality, i.e. `===`.
388
1624
  *
389
1625
  * @static
390
1626
  * @memberOf _
391
- * @since 4.12.0
1627
+ * @since 0.1.0
392
1628
  * @category Lang
393
- * @param {*} value The value to convert.
394
- * @returns {number} Returns the converted number.
1629
+ * @param {*} value The value to compare.
1630
+ * @param {*} other The other value to compare.
1631
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
395
1632
  * @example
396
1633
  *
397
- * _.toFinite(3.2);
398
- * // => 3.2
1634
+ * var object = { 'a': 1 };
1635
+ * var other = { 'a': 1 };
1636
+ *
1637
+ * _.isEqual(object, other);
1638
+ * // => true
1639
+ *
1640
+ * object === other;
1641
+ * // => false
1642
+ */
1643
+ function isEqual(value, other) {
1644
+ return baseIsEqual(value, other);
1645
+ }
1646
+
1647
+ /**
1648
+ * Checks if `value` is classified as a `Function` object.
399
1649
  *
400
- * _.toFinite(Number.MIN_VALUE);
401
- * // => 5e-324
1650
+ * @static
1651
+ * @memberOf _
1652
+ * @since 0.1.0
1653
+ * @category Lang
1654
+ * @param {*} value The value to check.
1655
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1656
+ * @example
402
1657
  *
403
- * _.toFinite(Infinity);
404
- * // => 1.7976931348623157e+308
1658
+ * _.isFunction(_);
1659
+ * // => true
405
1660
  *
406
- * _.toFinite('3.2');
407
- * // => 3.2
1661
+ * _.isFunction(/abc/);
1662
+ * // => false
408
1663
  */
409
- function toFinite(value) {
410
- if (!value) {
411
- return value === 0 ? value : 0;
412
- }
413
- value = toNumber(value);
414
- if (value === INFINITY || value === -INFINITY) {
415
- var sign = (value < 0 ? -1 : 1);
416
- return sign * MAX_INTEGER;
1664
+ function isFunction(value) {
1665
+ if (!isObject(value)) {
1666
+ return false;
417
1667
  }
418
- return value === value ? value : 0;
1668
+ // The use of `Object#toString` avoids issues with the `typeof` operator
1669
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
1670
+ var tag = baseGetTag(value);
1671
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
419
1672
  }
420
1673
 
421
1674
  /**
422
- * Converts `value` to an integer.
1675
+ * Checks if `value` is a valid array-like length.
423
1676
  *
424
1677
  * **Note:** This method is loosely based on
425
- * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
1678
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
426
1679
  *
427
1680
  * @static
428
1681
  * @memberOf _
429
1682
  * @since 4.0.0
430
1683
  * @category Lang
431
- * @param {*} value The value to convert.
432
- * @returns {number} Returns the converted integer.
1684
+ * @param {*} value The value to check.
1685
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
433
1686
  * @example
434
1687
  *
435
- * _.toInteger(3.2);
436
- * // => 3
1688
+ * _.isLength(3);
1689
+ * // => true
437
1690
  *
438
- * _.toInteger(Number.MIN_VALUE);
439
- * // => 0
1691
+ * _.isLength(Number.MIN_VALUE);
1692
+ * // => false
440
1693
  *
441
- * _.toInteger(Infinity);
442
- * // => 1.7976931348623157e+308
1694
+ * _.isLength(Infinity);
1695
+ * // => false
443
1696
  *
444
- * _.toInteger('3.2');
445
- * // => 3
1697
+ * _.isLength('3');
1698
+ * // => false
446
1699
  */
447
- function toInteger(value) {
448
- var result = toFinite(value),
449
- remainder = result % 1;
1700
+ function isLength(value) {
1701
+ return typeof value == 'number' &&
1702
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
1703
+ }
450
1704
 
451
- return result === result ? (remainder ? result - remainder : result) : 0;
1705
+ /**
1706
+ * Checks if `value` is the
1707
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1708
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1709
+ *
1710
+ * @static
1711
+ * @memberOf _
1712
+ * @since 0.1.0
1713
+ * @category Lang
1714
+ * @param {*} value The value to check.
1715
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1716
+ * @example
1717
+ *
1718
+ * _.isObject({});
1719
+ * // => true
1720
+ *
1721
+ * _.isObject([1, 2, 3]);
1722
+ * // => true
1723
+ *
1724
+ * _.isObject(_.noop);
1725
+ * // => true
1726
+ *
1727
+ * _.isObject(null);
1728
+ * // => false
1729
+ */
1730
+ function isObject(value) {
1731
+ var type = typeof value;
1732
+ return value != null && (type == 'object' || type == 'function');
452
1733
  }
453
1734
 
454
1735
  /**
455
- * Converts `value` to a number.
1736
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1737
+ * and has a `typeof` result of "object".
456
1738
  *
457
1739
  * @static
458
1740
  * @memberOf _
459
1741
  * @since 4.0.0
460
1742
  * @category Lang
461
- * @param {*} value The value to process.
462
- * @returns {number} Returns the number.
1743
+ * @param {*} value The value to check.
1744
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
463
1745
  * @example
464
1746
  *
465
- * _.toNumber(3.2);
466
- * // => 3.2
1747
+ * _.isObjectLike({});
1748
+ * // => true
467
1749
  *
468
- * _.toNumber(Number.MIN_VALUE);
469
- * // => 5e-324
1750
+ * _.isObjectLike([1, 2, 3]);
1751
+ * // => true
470
1752
  *
471
- * _.toNumber(Infinity);
472
- * // => Infinity
1753
+ * _.isObjectLike(_.noop);
1754
+ * // => false
473
1755
  *
474
- * _.toNumber('3.2');
475
- * // => 3.2
1756
+ * _.isObjectLike(null);
1757
+ * // => false
476
1758
  */
477
- function toNumber(value) {
478
- if (typeof value == 'number') {
479
- return value;
480
- }
481
- if (isSymbol(value)) {
482
- return NAN;
483
- }
484
- if (isObject(value)) {
485
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
486
- value = isObject(other) ? (other + '') : other;
487
- }
488
- if (typeof value != 'string') {
489
- return value === 0 ? value : +value;
490
- }
491
- value = value.replace(reTrim, '');
492
- var isBinary = reIsBinary.test(value);
493
- return (isBinary || reIsOctal.test(value))
494
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
495
- : (reIsBadHex.test(value) ? NAN : +value);
1759
+ function isObjectLike(value) {
1760
+ return value != null && typeof value == 'object';
496
1761
  }
497
1762
 
498
1763
  /**
499
- * Converts `value` to a string. An empty string is returned for `null`
500
- * and `undefined` values. The sign of `-0` is preserved.
1764
+ * Checks if `value` is classified as a typed array.
501
1765
  *
502
1766
  * @static
503
1767
  * @memberOf _
504
- * @since 4.0.0
1768
+ * @since 3.0.0
505
1769
  * @category Lang
506
- * @param {*} value The value to process.
507
- * @returns {string} Returns the string.
1770
+ * @param {*} value The value to check.
1771
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1772
+ * @example
1773
+ *
1774
+ * _.isTypedArray(new Uint8Array);
1775
+ * // => true
1776
+ *
1777
+ * _.isTypedArray([]);
1778
+ * // => false
1779
+ */
1780
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
1781
+
1782
+ /**
1783
+ * Creates an array of the own enumerable property names of `object`.
1784
+ *
1785
+ * **Note:** Non-object values are coerced to objects. See the
1786
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1787
+ * for more details.
1788
+ *
1789
+ * @static
1790
+ * @since 0.1.0
1791
+ * @memberOf _
1792
+ * @category Object
1793
+ * @param {Object} object The object to query.
1794
+ * @returns {Array} Returns the array of property names.
508
1795
  * @example
509
1796
  *
510
- * _.toString(null);
511
- * // => ''
1797
+ * function Foo() {
1798
+ * this.a = 1;
1799
+ * this.b = 2;
1800
+ * }
512
1801
  *
513
- * _.toString(-0);
514
- * // => '-0'
1802
+ * Foo.prototype.c = 3;
515
1803
  *
516
- * _.toString([1, 2, 3]);
517
- * // => '1,2,3'
1804
+ * _.keys(new Foo);
1805
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1806
+ *
1807
+ * _.keys('hi');
1808
+ * // => ['0', '1']
518
1809
  */
519
- function toString(value) {
520
- return value == null ? '' : baseToString(value);
1810
+ function keys(object) {
1811
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
521
1812
  }
522
1813
 
523
1814
  /**
524
- * Pads `string` on the left side if it's shorter than `length`. Padding
525
- * characters are truncated if they exceed `length`.
1815
+ * This method returns a new empty array.
526
1816
  *
527
1817
  * @static
528
1818
  * @memberOf _
529
- * @since 4.0.0
530
- * @category String
531
- * @param {string} [string=''] The string to pad.
532
- * @param {number} [length=0] The padding length.
533
- * @param {string} [chars=' '] The string used as padding.
534
- * @returns {string} Returns the padded string.
1819
+ * @since 4.13.0
1820
+ * @category Util
1821
+ * @returns {Array} Returns the new empty array.
535
1822
  * @example
536
1823
  *
537
- * _.padStart('abc', 6);
538
- * // => ' abc'
1824
+ * var arrays = _.times(2, _.stubArray);
539
1825
  *
540
- * _.padStart('abc', 6, '_-');
541
- * // => '_-_abc'
1826
+ * console.log(arrays);
1827
+ * // => [[], []]
542
1828
  *
543
- * _.padStart('abc', 3);
544
- * // => 'abc'
1829
+ * console.log(arrays[0] === arrays[1]);
1830
+ * // => false
545
1831
  */
546
- function padStart(string, length, chars) {
547
- string = toString(string);
548
- length = toInteger(length);
1832
+ function stubArray() {
1833
+ return [];
1834
+ }
549
1835
 
550
- var strLength = length ? stringSize(string) : 0;
551
- return (length && strLength < length)
552
- ? (createPadding(length - strLength, chars) + string)
553
- : string;
1836
+ /**
1837
+ * This method returns `false`.
1838
+ *
1839
+ * @static
1840
+ * @memberOf _
1841
+ * @since 4.13.0
1842
+ * @category Util
1843
+ * @returns {boolean} Returns `false`.
1844
+ * @example
1845
+ *
1846
+ * _.times(2, _.stubFalse);
1847
+ * // => [false, false]
1848
+ */
1849
+ function stubFalse() {
1850
+ return false;
554
1851
  }
555
1852
 
556
- var lodash_padstart = padStart;
1853
+ module.exports = isEqual;
1854
+ }(lodash_isequal, lodash_isequal.exports));
1855
+
1856
+ const isEqual = lodash_isequal.exports;
557
1857
 
558
- export { lodash_padstart as l };
1858
+ export { isEqual as i };