zmdms-webui 1.9.5 → 1.9.6

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 (656) hide show
  1. package/dist/es/_virtual/_commonjs-dynamic-modules.js +5 -0
  2. package/dist/es/_virtual/_commonjsHelpers.js +1 -29
  3. package/dist/es/_virtual/exceljs.min.js +3 -0
  4. package/dist/es/node_modules/exceljs/dist/exceljs.min.js +44 -0
  5. package/dist/es/table/excel.js +5 -115
  6. package/package.json +2 -1
  7. package/dist/es/_virtual/BigInteger.js +0 -3
  8. package/dist/es/_virtual/BufferList.js +0 -3
  9. package/dist/es/_virtual/ColumnFormatter.js +0 -3
  10. package/dist/es/_virtual/ColumnParser.js +0 -3
  11. package/dist/es/_virtual/CsvFormatterStream.js +0 -3
  12. package/dist/es/_virtual/CsvParserStream.js +0 -3
  13. package/dist/es/_virtual/FieldFormatter.js +0 -3
  14. package/dist/es/_virtual/FormatterOptions.js +0 -3
  15. package/dist/es/_virtual/HeaderTransformer.js +0 -3
  16. package/dist/es/_virtual/NonQuotedColumnParser.js +0 -3
  17. package/dist/es/_virtual/Parser.js +0 -3
  18. package/dist/es/_virtual/ParserOptions.js +0 -3
  19. package/dist/es/_virtual/QuotedColumnParser.js +0 -3
  20. package/dist/es/_virtual/RowFormatter.js +0 -3
  21. package/dist/es/_virtual/RowParser.js +0 -3
  22. package/dist/es/_virtual/RowTransformerValidator.js +0 -3
  23. package/dist/es/_virtual/Scanner.js +0 -3
  24. package/dist/es/_virtual/Token.js +0 -3
  25. package/dist/es/_virtual/archive-entry.js +0 -3
  26. package/dist/es/_virtual/archive-output-stream.js +0 -3
  27. package/dist/es/_virtual/async.js +0 -6
  28. package/dist/es/_virtual/async2.js +0 -3
  29. package/dist/es/_virtual/base64.js +0 -3
  30. package/dist/es/_virtual/bl.js +0 -3
  31. package/dist/es/_virtual/browser-buffer-decode.js +0 -3
  32. package/dist/es/_virtual/browser-buffer-encode.js +0 -3
  33. package/dist/es/_virtual/comment-xform.js +0 -3
  34. package/dist/es/_virtual/comments-xform.js +0 -3
  35. package/dist/es/_virtual/common.js +0 -3
  36. package/dist/es/_virtual/common2.js +0 -3
  37. package/dist/es/_virtual/compressions.js +0 -3
  38. package/dist/es/_virtual/copy-style.js +0 -3
  39. package/dist/es/_virtual/crc32.js +0 -3
  40. package/dist/es/_virtual/defaults.js +0 -3
  41. package/dist/es/_virtual/deflate.js +0 -3
  42. package/dist/es/_virtual/deflate2.js +0 -3
  43. package/dist/es/_virtual/ed2.js +0 -3
  44. package/dist/es/_virtual/ed3.js +0 -3
  45. package/dist/es/_virtual/ed5.js +0 -3
  46. package/dist/es/_virtual/error.js +0 -3
  47. package/dist/es/_virtual/errors.js +0 -3
  48. package/dist/es/_virtual/errors2.js +0 -3
  49. package/dist/es/_virtual/errors3.js +0 -3
  50. package/dist/es/_virtual/errors4.js +0 -3
  51. package/dist/es/_virtual/errors5.js +0 -3
  52. package/dist/es/_virtual/errors6.js +0 -3
  53. package/dist/es/_virtual/errors7.js +0 -3
  54. package/dist/es/_virtual/es5.js +0 -3
  55. package/dist/es/_virtual/file.js +0 -3
  56. package/dist/es/_virtual/file2.js +0 -3
  57. package/dist/es/_virtual/flate.js +0 -3
  58. package/dist/es/_virtual/fstream.js +0 -3
  59. package/dist/es/_virtual/general-purpose-bit.js +0 -3
  60. package/dist/es/_virtual/headers.js +0 -3
  61. package/dist/es/_virtual/index10.js +0 -3
  62. package/dist/es/_virtual/index11.js +0 -3
  63. package/dist/es/_virtual/index12.js +0 -3
  64. package/dist/es/_virtual/index13.js +0 -3
  65. package/dist/es/_virtual/index14.js +0 -3
  66. package/dist/es/_virtual/index15.js +0 -3
  67. package/dist/es/_virtual/index16.js +0 -6
  68. package/dist/es/_virtual/index17.js +0 -3
  69. package/dist/es/_virtual/index18.js +0 -3
  70. package/dist/es/_virtual/index19.js +0 -3
  71. package/dist/es/_virtual/index20.js +0 -3
  72. package/dist/es/_virtual/index21.js +0 -3
  73. package/dist/es/_virtual/index22.js +0 -3
  74. package/dist/es/_virtual/index23.js +0 -3
  75. package/dist/es/_virtual/index24.js +0 -3
  76. package/dist/es/_virtual/index25.js +0 -3
  77. package/dist/es/_virtual/index26.js +0 -3
  78. package/dist/es/_virtual/index4.js +0 -3
  79. package/dist/es/_virtual/index5.js +0 -3
  80. package/dist/es/_virtual/index6.js +0 -3
  81. package/dist/es/_virtual/index7.js +0 -3
  82. package/dist/es/_virtual/index8.js +0 -3
  83. package/dist/es/_virtual/index9.js +0 -3
  84. package/dist/es/_virtual/inflate.js +0 -3
  85. package/dist/es/_virtual/inflate2.js +0 -3
  86. package/dist/es/_virtual/inherits.js +0 -3
  87. package/dist/es/_virtual/inherits_browser.js +0 -3
  88. package/dist/es/_virtual/old.js +0 -3
  89. package/dist/es/_virtual/once.js +0 -3
  90. package/dist/es/_virtual/promise.js +0 -3
  91. package/dist/es/_virtual/readable.js +0 -3
  92. package/dist/es/_virtual/readable2.js +0 -3
  93. package/dist/es/_virtual/readable3.js +0 -3
  94. package/dist/es/_virtual/readable4.js +0 -3
  95. package/dist/es/_virtual/readable5.js +0 -3
  96. package/dist/es/_virtual/readable6.js +0 -3
  97. package/dist/es/_virtual/readable7.js +0 -3
  98. package/dist/es/_virtual/readable8.js +0 -3
  99. package/dist/es/_virtual/saxes.js +0 -3
  100. package/dist/es/_virtual/signature.js +0 -3
  101. package/dist/es/_virtual/string_decoder.js +0 -3
  102. package/dist/es/_virtual/string_decoder2.js +0 -3
  103. package/dist/es/_virtual/string_decoder3.js +0 -3
  104. package/dist/es/_virtual/string_decoder4.js +0 -3
  105. package/dist/es/_virtual/string_decoder5.js +0 -3
  106. package/dist/es/_virtual/string_decoder6.js +0 -3
  107. package/dist/es/_virtual/string_decoder7.js +0 -3
  108. package/dist/es/_virtual/string_decoder8.js +0 -3
  109. package/dist/es/_virtual/strings.js +0 -3
  110. package/dist/es/_virtual/support.js +0 -3
  111. package/dist/es/_virtual/tmp.js +0 -3
  112. package/dist/es/_virtual/trees.js +0 -3
  113. package/dist/es/_virtual/types.js +0 -3
  114. package/dist/es/_virtual/types2.js +0 -3
  115. package/dist/es/_virtual/unzip.js +0 -3
  116. package/dist/es/_virtual/utf8.js +0 -3
  117. package/dist/es/_virtual/util.js +0 -3
  118. package/dist/es/_virtual/util2.js +0 -3
  119. package/dist/es/_virtual/utils.js +0 -3
  120. package/dist/es/_virtual/zip-archive-entry.js +0 -3
  121. package/dist/es/_virtual/zip-archive-output-stream.js +0 -3
  122. package/dist/es/node_modules/@fast-csv/format/build/src/CsvFormatterStream.js +0 -68
  123. package/dist/es/node_modules/@fast-csv/format/build/src/FormatterOptions.js +0 -40
  124. package/dist/es/node_modules/@fast-csv/format/build/src/formatter/FieldFormatter.js +0 -64
  125. package/dist/es/node_modules/@fast-csv/format/build/src/formatter/RowFormatter.js +0 -177
  126. package/dist/es/node_modules/@fast-csv/format/build/src/formatter/index.js +0 -15
  127. package/dist/es/node_modules/@fast-csv/format/build/src/index.js +0 -81
  128. package/dist/es/node_modules/@fast-csv/format/build/src/types.js +0 -8
  129. package/dist/es/node_modules/@fast-csv/parse/build/src/CsvParserStream.js +0 -220
  130. package/dist/es/node_modules/@fast-csv/parse/build/src/ParserOptions.js +0 -52
  131. package/dist/es/node_modules/@fast-csv/parse/build/src/index.js +0 -56
  132. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/Parser.js +0 -84
  133. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/RowParser.js +0 -82
  134. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/Scanner.js +0 -86
  135. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/Token.js +0 -33
  136. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/column/ColumnFormatter.js +0 -23
  137. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/column/ColumnParser.js +0 -31
  138. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/column/NonQuotedColumnParser.js +0 -35
  139. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/column/QuotedColumnParser.js +0 -103
  140. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/column/index.js +0 -23
  141. package/dist/es/node_modules/@fast-csv/parse/build/src/parser/index.js +0 -29
  142. package/dist/es/node_modules/@fast-csv/parse/build/src/transforms/HeaderTransformer.js +0 -122
  143. package/dist/es/node_modules/@fast-csv/parse/build/src/transforms/RowTransformerValidator.js +0 -99
  144. package/dist/es/node_modules/@fast-csv/parse/build/src/transforms/index.js +0 -15
  145. package/dist/es/node_modules/@fast-csv/parse/build/src/types.js +0 -8
  146. package/dist/es/node_modules/archiver/index.js +0 -92
  147. package/dist/es/node_modules/archiver/lib/core.js +0 -930
  148. package/dist/es/node_modules/archiver/lib/error.js +0 -49
  149. package/dist/es/node_modules/archiver/lib/plugins/json.js +0 -113
  150. package/dist/es/node_modules/archiver/lib/plugins/tar.js +0 -148
  151. package/dist/es/node_modules/archiver/lib/plugins/zip.js +0 -93
  152. package/dist/es/node_modules/archiver/node_modules/readable-stream/errors.js +0 -126
  153. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  154. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  155. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  156. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  157. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  158. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  159. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  160. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  161. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  162. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  163. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  164. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  165. package/dist/es/node_modules/archiver/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  166. package/dist/es/node_modules/archiver/node_modules/readable-stream/readable.js +0 -32
  167. package/dist/es/node_modules/archiver/node_modules/string_decoder/lib/string_decoder.js +0 -285
  168. package/dist/es/node_modules/archiver-utils/file.js +0 -222
  169. package/dist/es/node_modules/archiver-utils/index.js +0 -165
  170. package/dist/es/node_modules/async/dist/async.js +0 -5948
  171. package/dist/es/node_modules/balanced-match/index.js +0 -63
  172. package/dist/es/node_modules/big-integer/BigInteger.js +0 -1453
  173. package/dist/es/node_modules/binary/index.js +0 -409
  174. package/dist/es/node_modules/binary/lib/vars.js +0 -30
  175. package/dist/es/node_modules/bl/BufferList.js +0 -398
  176. package/dist/es/node_modules/bl/bl.js +0 -91
  177. package/dist/es/node_modules/bl/node_modules/readable-stream/errors.js +0 -126
  178. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  179. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  180. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  181. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  182. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  183. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  184. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  185. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  186. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  187. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  188. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  189. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  190. package/dist/es/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  191. package/dist/es/node_modules/bl/node_modules/readable-stream/readable.js +0 -32
  192. package/dist/es/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +0 -285
  193. package/dist/es/node_modules/brace-expansion/index.js +0 -206
  194. package/dist/es/node_modules/buffer-crc32/index.js +0 -115
  195. package/dist/es/node_modules/buffer-indexof-polyfill/index.js +0 -74
  196. package/dist/es/node_modules/buffer-indexof-polyfill/init-buffer.js +0 -10
  197. package/dist/es/node_modules/buffers/index.js +0 -268
  198. package/dist/es/node_modules/chainsaw/index.js +0 -149
  199. package/dist/es/node_modules/compress-commons/lib/archivers/archive-entry.js +0 -23
  200. package/dist/es/node_modules/compress-commons/lib/archivers/archive-output-stream.js +0 -128
  201. package/dist/es/node_modules/compress-commons/lib/archivers/zip/constants.js +0 -74
  202. package/dist/es/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js +0 -109
  203. package/dist/es/node_modules/compress-commons/lib/archivers/zip/unix-stat.js +0 -56
  204. package/dist/es/node_modules/compress-commons/lib/archivers/zip/util.js +0 -81
  205. package/dist/es/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js +0 -427
  206. package/dist/es/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js +0 -453
  207. package/dist/es/node_modules/compress-commons/lib/compress-commons.js +0 -21
  208. package/dist/es/node_modules/compress-commons/lib/util/index.js +0 -39
  209. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/errors.js +0 -126
  210. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  211. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  212. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  213. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  214. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  215. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  216. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  217. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  218. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  219. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  220. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  221. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  222. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  223. package/dist/es/node_modules/compress-commons/node_modules/readable-stream/readable.js +0 -32
  224. package/dist/es/node_modules/compress-commons/node_modules/string_decoder/lib/string_decoder.js +0 -285
  225. package/dist/es/node_modules/concat-map/index.js +0 -15
  226. package/dist/es/node_modules/core-util-is/lib/util.js +0 -119
  227. package/dist/es/node_modules/crc-32/crc32.js +0 -109
  228. package/dist/es/node_modules/crc32-stream/lib/crc32-stream.js +0 -52
  229. package/dist/es/node_modules/crc32-stream/lib/deflate-crc32-stream.js +0 -66
  230. package/dist/es/node_modules/crc32-stream/lib/index.js +0 -17
  231. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/errors.js +0 -126
  232. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  233. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  234. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  235. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  236. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  237. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  238. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  239. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  240. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  241. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  242. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  243. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  244. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  245. package/dist/es/node_modules/crc32-stream/node_modules/readable-stream/readable.js +0 -32
  246. package/dist/es/node_modules/crc32-stream/node_modules/string_decoder/lib/string_decoder.js +0 -285
  247. package/dist/es/node_modules/duplexer2/index.js +0 -81
  248. package/dist/es/node_modules/end-of-stream/index.js +0 -98
  249. package/dist/es/node_modules/exceljs/excel.js +0 -20
  250. package/dist/es/node_modules/exceljs/lib/csv/csv.js +0 -202
  251. package/dist/es/node_modules/exceljs/lib/doc/anchor.js +0 -93
  252. package/dist/es/node_modules/exceljs/lib/doc/cell.js +0 -1133
  253. package/dist/es/node_modules/exceljs/lib/doc/column.js +0 -324
  254. package/dist/es/node_modules/exceljs/lib/doc/data-validations.js +0 -21
  255. package/dist/es/node_modules/exceljs/lib/doc/defined-names.js +0 -201
  256. package/dist/es/node_modules/exceljs/lib/doc/enums.js +0 -48
  257. package/dist/es/node_modules/exceljs/lib/doc/image.js +0 -64
  258. package/dist/es/node_modules/exceljs/lib/doc/modelcontainer.js +0 -20
  259. package/dist/es/node_modules/exceljs/lib/doc/note.js +0 -69
  260. package/dist/es/node_modules/exceljs/lib/doc/range.js +0 -261
  261. package/dist/es/node_modules/exceljs/lib/doc/row.js +0 -418
  262. package/dist/es/node_modules/exceljs/lib/doc/table.js +0 -470
  263. package/dist/es/node_modules/exceljs/lib/doc/workbook.js +0 -226
  264. package/dist/es/node_modules/exceljs/lib/doc/worksheet.js +0 -942
  265. package/dist/es/node_modules/exceljs/lib/exceljs.nodejs.js +0 -22
  266. package/dist/es/node_modules/exceljs/lib/stream/xlsx/hyperlink-reader.js +0 -88
  267. package/dist/es/node_modules/exceljs/lib/stream/xlsx/sheet-comments-writer.js +0 -129
  268. package/dist/es/node_modules/exceljs/lib/stream/xlsx/sheet-rels-writer.js +0 -125
  269. package/dist/es/node_modules/exceljs/lib/stream/xlsx/workbook-reader.js +0 -354
  270. package/dist/es/node_modules/exceljs/lib/stream/xlsx/workbook-writer.js +0 -365
  271. package/dist/es/node_modules/exceljs/lib/stream/xlsx/worksheet-reader.js +0 -369
  272. package/dist/es/node_modules/exceljs/lib/stream/xlsx/worksheet-writer.js +0 -747
  273. package/dist/es/node_modules/exceljs/lib/utils/browser-buffer-decode.js +0 -18
  274. package/dist/es/node_modules/exceljs/lib/utils/browser-buffer-encode.js +0 -20
  275. package/dist/es/node_modules/exceljs/lib/utils/cell-matrix.js +0 -170
  276. package/dist/es/node_modules/exceljs/lib/utils/col-cache.js +0 -289
  277. package/dist/es/node_modules/exceljs/lib/utils/copy-style.js +0 -47
  278. package/dist/es/node_modules/exceljs/lib/utils/encryptor.js +0 -57
  279. package/dist/es/node_modules/exceljs/lib/utils/iterate-stream.js +0 -50
  280. package/dist/es/node_modules/exceljs/lib/utils/parse-sax.js +0 -38
  281. package/dist/es/node_modules/exceljs/lib/utils/shared-formula.js +0 -48
  282. package/dist/es/node_modules/exceljs/lib/utils/shared-strings.js +0 -37
  283. package/dist/es/node_modules/exceljs/lib/utils/stream-buf.js +0 -371
  284. package/dist/es/node_modules/exceljs/lib/utils/string-buf.js +0 -84
  285. package/dist/es/node_modules/exceljs/lib/utils/under-dash.js +0 -186
  286. package/dist/es/node_modules/exceljs/lib/utils/utils.js +0 -177
  287. package/dist/es/node_modules/exceljs/lib/utils/xml-stream.js +0 -174
  288. package/dist/es/node_modules/exceljs/lib/utils/zip-stream.js +0 -95
  289. package/dist/es/node_modules/exceljs/lib/xlsx/defaultnumformats.js +0 -155
  290. package/dist/es/node_modules/exceljs/lib/xlsx/rel-type.js +0 -21
  291. package/dist/es/node_modules/exceljs/lib/xlsx/xform/base-xform.js +0 -150
  292. package/dist/es/node_modules/exceljs/lib/xlsx/xform/book/defined-name-xform.js +0 -96
  293. package/dist/es/node_modules/exceljs/lib/xlsx/xform/book/sheet-xform.js +0 -39
  294. package/dist/es/node_modules/exceljs/lib/xlsx/xform/book/workbook-calc-properties-xform.js +0 -30
  295. package/dist/es/node_modules/exceljs/lib/xlsx/xform/book/workbook-properties-xform.js +0 -33
  296. package/dist/es/node_modules/exceljs/lib/xlsx/xform/book/workbook-view-xform.js +0 -57
  297. package/dist/es/node_modules/exceljs/lib/xlsx/xform/book/workbook-xform.js +0 -269
  298. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/comment-xform.js +0 -114
  299. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/comments-xform.js +0 -92
  300. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/style/vml-position-xform.js +0 -43
  301. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/style/vml-protection-xform.js +0 -40
  302. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/vml-anchor-xform.js +0 -64
  303. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/vml-client-data-xform.js +0 -102
  304. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/vml-notes-xform.js +0 -113
  305. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/vml-shape-xform.js +0 -101
  306. package/dist/es/node_modules/exceljs/lib/xlsx/xform/comment/vml-textbox-xform.js +0 -68
  307. package/dist/es/node_modules/exceljs/lib/xlsx/xform/composite-xform.js +0 -60
  308. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/app-heading-pairs-xform.js +0 -36
  309. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/app-titles-of-parts-xform.js +0 -32
  310. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/app-xform.js +0 -108
  311. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/content-types-xform.js +0 -125
  312. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/core-xform.js +0 -144
  313. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/relationship-xform.js +0 -29
  314. package/dist/es/node_modules/exceljs/lib/xlsx/xform/core/relationships-xform.js +0 -79
  315. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/base-cell-anchor-xform.js +0 -52
  316. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/blip-fill-xform.js +0 -76
  317. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/blip-xform.js +0 -46
  318. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/c-nv-pic-pr-xform.js +0 -42
  319. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/c-nv-pr-xform.js +0 -74
  320. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/cell-position-xform.js +0 -82
  321. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/drawing-xform.js +0 -117
  322. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/ext-lst-xform.js +0 -47
  323. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/ext-xform.js +0 -48
  324. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/hlink-click-xform.js +0 -45
  325. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/nv-pic-pr-xform.js +0 -71
  326. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/one-cell-anchor-xform.js +0 -71
  327. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/pic-xform.js +0 -85
  328. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/sp-pr.js +0 -19
  329. package/dist/es/node_modules/exceljs/lib/xlsx/xform/drawing/two-cell-anchor-xform.js +0 -69
  330. package/dist/es/node_modules/exceljs/lib/xlsx/xform/list-xform.js +0 -99
  331. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/auto-filter-xform.js +0 -43
  332. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cell-xform.js +0 -495
  333. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/cf-rule-xform.js +0 -312
  334. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/cfvo-xform.js +0 -31
  335. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/color-scale-xform.js +0 -51
  336. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/conditional-formatting-xform.js +0 -53
  337. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/conditional-formattings-xform.js +0 -97
  338. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/databar-xform.js +0 -55
  339. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/ext-lst-ref-xform.js +0 -93
  340. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/formula-xform.js +0 -29
  341. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf/icon-set-xform.js +0 -53
  342. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/cf-icon-ext-xform.js +0 -31
  343. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/cf-rule-ext-xform.js +0 -106
  344. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/cfvo-ext-xform.js +0 -48
  345. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/conditional-formatting-ext-xform.js +0 -68
  346. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/conditional-formattings-ext-xform.js +0 -56
  347. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/databar-ext-xform.js +0 -105
  348. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/f-ext-xform.js +0 -29
  349. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/icon-set-ext-xform.js +0 -80
  350. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/cf-ext/sqref-ext-xform.js +0 -29
  351. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/col-xform.js +0 -91
  352. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/data-validations-xform.js +0 -263
  353. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/dimension-xform.js +0 -33
  354. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/drawing-xform.js +0 -37
  355. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/ext-lst-xform.js +0 -92
  356. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/header-footer-xform.js +0 -147
  357. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/hyperlink-xform.js +0 -58
  358. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/merge-cell-xform.js +0 -31
  359. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/merges.js +0 -63
  360. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/outline-properties-xform.js +0 -47
  361. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/page-breaks-xform.js +0 -31
  362. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/page-margins-xform.js +0 -54
  363. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/page-setup-properties-xform.js +0 -39
  364. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/page-setup-xform.js +0 -108
  365. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/picture-xform.js +0 -37
  366. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/print-options-xform.js +0 -54
  367. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/row-breaks-xform.js +0 -42
  368. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/row-xform.js +0 -148
  369. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/sheet-format-properties-xform.js +0 -60
  370. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/sheet-properties-xform.js +0 -97
  371. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/sheet-protection-xform.js +0 -94
  372. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/sheet-view-xform.js +0 -205
  373. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/table-part-xform.js +0 -37
  374. package/dist/es/node_modules/exceljs/lib/xlsx/xform/sheet/worksheet-xform.js +0 -570
  375. package/dist/es/node_modules/exceljs/lib/xlsx/xform/simple/boolean-xform.js +0 -35
  376. package/dist/es/node_modules/exceljs/lib/xlsx/xform/simple/date-xform.js +0 -70
  377. package/dist/es/node_modules/exceljs/lib/xlsx/xform/simple/integer-xform.js +0 -61
  378. package/dist/es/node_modules/exceljs/lib/xlsx/xform/simple/string-xform.js +0 -55
  379. package/dist/es/node_modules/exceljs/lib/xlsx/xform/static-xform.js +0 -69
  380. package/dist/es/node_modules/exceljs/lib/xlsx/xform/strings/phonetic-text-xform.js +0 -102
  381. package/dist/es/node_modules/exceljs/lib/xlsx/xform/strings/rich-text-xform.js +0 -107
  382. package/dist/es/node_modules/exceljs/lib/xlsx/xform/strings/shared-string-xform.js +0 -107
  383. package/dist/es/node_modules/exceljs/lib/xlsx/xform/strings/shared-strings-xform.js +0 -133
  384. package/dist/es/node_modules/exceljs/lib/xlsx/xform/strings/text-xform.js +0 -48
  385. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/alignment-xform.js +0 -178
  386. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/border-xform.js +0 -214
  387. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/color-xform.js +0 -67
  388. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/dxf-xform.js +0 -121
  389. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/fill-xform.js +0 -367
  390. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/font-xform.js +0 -110
  391. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/numfmt-xform.js +0 -69
  392. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/protection-xform.js +0 -64
  393. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/style-xform.js +0 -131
  394. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/styles-xform.js +0 -540
  395. package/dist/es/node_modules/exceljs/lib/xlsx/xform/style/underline-xform.js +0 -51
  396. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/auto-filter-xform.js +0 -86
  397. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/custom-filter-xform.js +0 -37
  398. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/filter-column-xform.js +0 -103
  399. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/filter-xform.js +0 -35
  400. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/table-column-xform.js +0 -48
  401. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/table-style-info-xform.js +0 -45
  402. package/dist/es/node_modules/exceljs/lib/xlsx/xform/table/table-xform.js +0 -140
  403. package/dist/es/node_modules/exceljs/lib/xlsx/xlsx.js +0 -720
  404. package/dist/es/node_modules/exceljs/lib/xlsx/xml/theme1.js +0 -6
  405. package/dist/es/node_modules/exceljs/node_modules/readable-stream/errors.js +0 -126
  406. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  407. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  408. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  409. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  410. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  411. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  412. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  413. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  414. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  415. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  416. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  417. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  418. package/dist/es/node_modules/exceljs/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  419. package/dist/es/node_modules/exceljs/node_modules/readable-stream/readable.js +0 -32
  420. package/dist/es/node_modules/exceljs/node_modules/string_decoder/lib/string_decoder.js +0 -285
  421. package/dist/es/node_modules/fast-csv/build/src/index.js +0 -27
  422. package/dist/es/node_modules/fs-constants/index.js +0 -6
  423. package/dist/es/node_modules/fs.realpath/index.js +0 -72
  424. package/dist/es/node_modules/fs.realpath/old.js +0 -309
  425. package/dist/es/node_modules/fstream/fstream.js +0 -51
  426. package/dist/es/node_modules/fstream/lib/abstract.js +0 -90
  427. package/dist/es/node_modules/fstream/lib/collect.js +0 -72
  428. package/dist/es/node_modules/fstream/lib/dir-reader.js +0 -268
  429. package/dist/es/node_modules/fstream/lib/dir-writer.js +0 -190
  430. package/dist/es/node_modules/fstream/lib/file-reader.js +0 -164
  431. package/dist/es/node_modules/fstream/lib/file-writer.js +0 -121
  432. package/dist/es/node_modules/fstream/lib/get-type.js +0 -35
  433. package/dist/es/node_modules/fstream/lib/link-reader.js +0 -67
  434. package/dist/es/node_modules/fstream/lib/link-writer.js +0 -111
  435. package/dist/es/node_modules/fstream/lib/proxy-reader.js +0 -110
  436. package/dist/es/node_modules/fstream/lib/proxy-writer.js +0 -127
  437. package/dist/es/node_modules/fstream/lib/reader.js +0 -277
  438. package/dist/es/node_modules/fstream/lib/socket-reader.js +0 -49
  439. package/dist/es/node_modules/fstream/lib/writer.js +0 -412
  440. package/dist/es/node_modules/fstream/node_modules/rimraf/rimraf.js +0 -379
  441. package/dist/es/node_modules/glob/common.js +0 -246
  442. package/dist/es/node_modules/glob/glob.js +0 -810
  443. package/dist/es/node_modules/glob/sync.js +0 -501
  444. package/dist/es/node_modules/graceful-fs/clone.js +0 -23
  445. package/dist/es/node_modules/graceful-fs/graceful-fs.js +0 -458
  446. package/dist/es/node_modules/graceful-fs/legacy-streams.js +0 -122
  447. package/dist/es/node_modules/graceful-fs/polyfills.js +0 -359
  448. package/dist/es/node_modules/immediate/lib/index.js +0 -84
  449. package/dist/es/node_modules/inflight/inflight.js +0 -59
  450. package/dist/es/node_modules/inherits/inherits.js +0 -21
  451. package/dist/es/node_modules/inherits/inherits_browser.js +0 -38
  452. package/dist/es/node_modules/jszip/lib/base64.js +0 -119
  453. package/dist/es/node_modules/jszip/lib/compressedObject.js +0 -79
  454. package/dist/es/node_modules/jszip/lib/compressions.js +0 -19
  455. package/dist/es/node_modules/jszip/lib/crc32.js +0 -79
  456. package/dist/es/node_modules/jszip/lib/defaults.js +0 -14
  457. package/dist/es/node_modules/jszip/lib/external.js +0 -20
  458. package/dist/es/node_modules/jszip/lib/flate.js +0 -91
  459. package/dist/es/node_modules/jszip/lib/generate/ZipFileWorker.js +0 -547
  460. package/dist/es/node_modules/jszip/lib/generate/index.js +0 -62
  461. package/dist/es/node_modules/jszip/lib/index.js +0 -63
  462. package/dist/es/node_modules/jszip/lib/load.js +0 -97
  463. package/dist/es/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +0 -77
  464. package/dist/es/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +0 -54
  465. package/dist/es/node_modules/jszip/lib/nodejsUtils.js +0 -57
  466. package/dist/es/node_modules/jszip/lib/object.js +0 -399
  467. package/dist/es/node_modules/jszip/lib/reader/ArrayReader.js +0 -61
  468. package/dist/es/node_modules/jszip/lib/reader/DataReader.js +0 -119
  469. package/dist/es/node_modules/jszip/lib/reader/NodeBufferReader.js +0 -23
  470. package/dist/es/node_modules/jszip/lib/reader/StringReader.js +0 -42
  471. package/dist/es/node_modules/jszip/lib/reader/Uint8ArrayReader.js +0 -26
  472. package/dist/es/node_modules/jszip/lib/reader/readerFor.js +0 -36
  473. package/dist/es/node_modules/jszip/lib/signature.js +0 -10
  474. package/dist/es/node_modules/jszip/lib/stream/ConvertWorker.js +0 -29
  475. package/dist/es/node_modules/jszip/lib/stream/Crc32Probe.js +0 -28
  476. package/dist/es/node_modules/jszip/lib/stream/DataLengthProbe.js +0 -31
  477. package/dist/es/node_modules/jszip/lib/stream/DataWorker.js +0 -119
  478. package/dist/es/node_modules/jszip/lib/stream/GenericWorker.js +0 -263
  479. package/dist/es/node_modules/jszip/lib/stream/StreamHelper.js +0 -223
  480. package/dist/es/node_modules/jszip/lib/support.js +0 -44
  481. package/dist/es/node_modules/jszip/lib/utf8.js +0 -283
  482. package/dist/es/node_modules/jszip/lib/utils.js +0 -519
  483. package/dist/es/node_modules/jszip/lib/zipEntries.js +0 -263
  484. package/dist/es/node_modules/jszip/lib/zipEntry.js +0 -305
  485. package/dist/es/node_modules/jszip/lib/zipObject.js +0 -140
  486. package/dist/es/node_modules/lazystream/lib/lazystream.js +0 -58
  487. package/dist/es/node_modules/lie/lib/index.js +0 -309
  488. package/dist/es/node_modules/listenercount/index.js +0 -3
  489. package/dist/es/node_modules/lodash.defaults/index.js +0 -670
  490. package/dist/es/node_modules/lodash.difference/index.js +0 -1174
  491. package/dist/es/node_modules/lodash.escaperegexp/index.js +0 -170
  492. package/dist/es/node_modules/lodash.flatten/index.js +0 -353
  493. package/dist/es/node_modules/lodash.groupby/index.js +0 -2379
  494. package/dist/es/node_modules/lodash.isboolean/index.js +0 -72
  495. package/dist/es/node_modules/lodash.isequal/index.js +0 -1858
  496. package/dist/es/node_modules/lodash.isfunction/index.js +0 -159
  497. package/dist/es/node_modules/lodash.isnil/index.js +0 -35
  498. package/dist/es/node_modules/lodash.isplainobject/index.js +0 -141
  499. package/dist/es/node_modules/lodash.isundefined/index.js +0 -32
  500. package/dist/es/node_modules/lodash.union/index.js +0 -1185
  501. package/dist/es/node_modules/lodash.uniq/index.js +0 -900
  502. package/dist/es/node_modules/minimatch/minimatch.js +0 -951
  503. package/dist/es/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  504. package/dist/es/node_modules/mkdirp/index.js +0 -107
  505. package/dist/es/node_modules/normalize-path/index.js +0 -37
  506. package/dist/es/node_modules/once/once.js +0 -49
  507. package/dist/es/node_modules/pako/index.js +0 -21
  508. package/dist/es/node_modules/pako/lib/deflate.js +0 -409
  509. package/dist/es/node_modules/pako/lib/inflate.js +0 -434
  510. package/dist/es/node_modules/pako/lib/utils/common.js +0 -108
  511. package/dist/es/node_modules/pako/lib/utils/strings.js +0 -189
  512. package/dist/es/node_modules/pako/lib/zlib/adler32.js +0 -51
  513. package/dist/es/node_modules/pako/lib/zlib/constants.js +0 -68
  514. package/dist/es/node_modules/pako/lib/zlib/crc32.js +0 -59
  515. package/dist/es/node_modules/pako/lib/zlib/deflate.js +0 -1874
  516. package/dist/es/node_modules/pako/lib/zlib/gzheader.js +0 -58
  517. package/dist/es/node_modules/pako/lib/zlib/inffast.js +0 -345
  518. package/dist/es/node_modules/pako/lib/zlib/inflate.js +0 -1551
  519. package/dist/es/node_modules/pako/lib/zlib/inftrees.js +0 -346
  520. package/dist/es/node_modules/pako/lib/zlib/messages.js +0 -32
  521. package/dist/es/node_modules/pako/lib/zlib/trees.js +0 -1226
  522. package/dist/es/node_modules/pako/lib/zlib/zstream.js +0 -47
  523. package/dist/es/node_modules/path-is-absolute/index.js +0 -24
  524. package/dist/es/node_modules/process-nextick-args/index.js +0 -54
  525. package/dist/es/node_modules/readable-stream/lib/_stream_duplex.js +0 -120
  526. package/dist/es/node_modules/readable-stream/lib/_stream_passthrough.js +0 -35
  527. package/dist/es/node_modules/readable-stream/lib/_stream_readable.js +0 -1021
  528. package/dist/es/node_modules/readable-stream/lib/_stream_transform.js +0 -164
  529. package/dist/es/node_modules/readable-stream/lib/_stream_writable.js +0 -671
  530. package/dist/es/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -92
  531. package/dist/es/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -95
  532. package/dist/es/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  533. package/dist/es/node_modules/readable-stream/node_modules/isarray/index.js +0 -15
  534. package/dist/es/node_modules/readable-stream/node_modules/safe-buffer/index.js +0 -77
  535. package/dist/es/node_modules/readable-stream/passthrough.js +0 -5
  536. package/dist/es/node_modules/readable-stream/readable.js +0 -38
  537. package/dist/es/node_modules/readdir-glob/index.js +0 -250
  538. package/dist/es/node_modules/readdir-glob/node_modules/minimatch/lib/path.js +0 -6
  539. package/dist/es/node_modules/readdir-glob/node_modules/minimatch/minimatch.js +0 -949
  540. package/dist/es/node_modules/safe-buffer/index.js +0 -80
  541. package/dist/es/node_modules/saxes/saxes.js +0 -2066
  542. package/dist/es/node_modules/setimmediate/setImmediate.js +0 -187
  543. package/dist/es/node_modules/string_decoder/lib/string_decoder.js +0 -285
  544. package/dist/es/node_modules/string_decoder/node_modules/safe-buffer/index.js +0 -77
  545. package/dist/es/node_modules/tar-stream/extract.js +0 -265
  546. package/dist/es/node_modules/tar-stream/headers.js +0 -296
  547. package/dist/es/node_modules/tar-stream/index.js +0 -8
  548. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/errors.js +0 -126
  549. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  550. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  551. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  552. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  553. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  554. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  555. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  556. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  557. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  558. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  559. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  560. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  561. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  562. package/dist/es/node_modules/tar-stream/node_modules/readable-stream/readable.js +0 -32
  563. package/dist/es/node_modules/tar-stream/node_modules/string_decoder/lib/string_decoder.js +0 -285
  564. package/dist/es/node_modules/tar-stream/pack.js +0 -265
  565. package/dist/es/node_modules/tmp/lib/tmp.js +0 -854
  566. package/dist/es/node_modules/traverse/index.js +0 -322
  567. package/dist/es/node_modules/unzipper/lib/Buffer.js +0 -16
  568. package/dist/es/node_modules/unzipper/lib/BufferStream.js +0 -32
  569. package/dist/es/node_modules/unzipper/lib/Decrypt.js +0 -78
  570. package/dist/es/node_modules/unzipper/lib/NoopStream.js +0 -25
  571. package/dist/es/node_modules/unzipper/lib/Open/directory.js +0 -245
  572. package/dist/es/node_modules/unzipper/lib/Open/index.js +0 -109
  573. package/dist/es/node_modules/unzipper/lib/Open/unzip.js +0 -139
  574. package/dist/es/node_modules/unzipper/lib/PullStream.js +0 -152
  575. package/dist/es/node_modules/unzipper/lib/extract.js +0 -65
  576. package/dist/es/node_modules/unzipper/lib/parse.js +0 -302
  577. package/dist/es/node_modules/unzipper/lib/parseDateTime.js +0 -15
  578. package/dist/es/node_modules/unzipper/lib/parseExtraField.js +0 -41
  579. package/dist/es/node_modules/unzipper/lib/parseOne.js +0 -66
  580. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/any.js +0 -30
  581. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/async.js +0 -174
  582. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/bind.js +0 -76
  583. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/bluebird.js +0 -14
  584. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/call_get.js +0 -133
  585. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/cancel.js +0 -140
  586. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/catch_filter.js +0 -54
  587. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/context.js +0 -78
  588. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/debuggability.js +0 -924
  589. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/direct_resolve.js +0 -55
  590. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/each.js +0 -38
  591. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/errors.js +0 -128
  592. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/es5.js +0 -90
  593. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/filter.js +0 -21
  594. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/finally.js +0 -122
  595. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/generators.js +0 -234
  596. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/join.js +0 -177
  597. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/map.js +0 -178
  598. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/method.js +0 -66
  599. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/nodeback.js +0 -63
  600. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/nodeify.js +0 -69
  601. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/promise.js +0 -812
  602. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/promise_array.js +0 -194
  603. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/promisify.js +0 -326
  604. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/props.js +0 -130
  605. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/queue.js +0 -82
  606. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/race.js +0 -60
  607. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/reduce.js +0 -183
  608. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/schedule.js +0 -73
  609. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/settle.js +0 -54
  610. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/some.js +0 -160
  611. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/synchronous_inspection.js +0 -112
  612. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/thenables.js +0 -97
  613. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/timers.js +0 -104
  614. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/using.js +0 -238
  615. package/dist/es/node_modules/unzipper/node_modules/bluebird/js/release/util.js +0 -385
  616. package/dist/es/node_modules/unzipper/unzip.js +0 -21
  617. package/dist/es/node_modules/util-deprecate/node.js +0 -17
  618. package/dist/es/node_modules/uuid/dist/esm-browser/index.js +0 -9
  619. package/dist/es/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  620. package/dist/es/node_modules/uuid/dist/esm-browser/nil.js +0 -3
  621. package/dist/es/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  622. package/dist/es/node_modules/uuid/dist/esm-browser/regex.js +0 -3
  623. package/dist/es/node_modules/uuid/dist/esm-browser/rng.js +0 -21
  624. package/dist/es/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  625. package/dist/es/node_modules/uuid/dist/esm-browser/stringify.js +0 -31
  626. package/dist/es/node_modules/uuid/dist/esm-browser/v1.js +0 -96
  627. package/dist/es/node_modules/uuid/dist/esm-browser/v3.js +0 -7
  628. package/dist/es/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  629. package/dist/es/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  630. package/dist/es/node_modules/uuid/dist/esm-browser/v5.js +0 -7
  631. package/dist/es/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  632. package/dist/es/node_modules/uuid/dist/esm-browser/version.js +0 -11
  633. package/dist/es/node_modules/wrappy/wrappy.js +0 -35
  634. package/dist/es/node_modules/xlsx/xlsx.js +0 -15892
  635. package/dist/es/node_modules/xmlchars/xml/1.0/ed5.js +0 -108
  636. package/dist/es/node_modules/xmlchars/xml/1.1/ed2.js +0 -148
  637. package/dist/es/node_modules/xmlchars/xmlns/1.0/ed3.js +0 -68
  638. package/dist/es/node_modules/zip-stream/index.js +0 -197
  639. package/dist/es/node_modules/zip-stream/node_modules/archiver-utils/file.js +0 -222
  640. package/dist/es/node_modules/zip-stream/node_modules/archiver-utils/index.js +0 -164
  641. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/errors.js +0 -126
  642. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -113
  643. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -24
  644. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1030
  645. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -140
  646. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -627
  647. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -191
  648. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -195
  649. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
  650. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -94
  651. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -63
  652. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -95
  653. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -33
  654. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -13
  655. package/dist/es/node_modules/zip-stream/node_modules/readable-stream/readable.js +0 -32
  656. package/dist/es/node_modules/zip-stream/node_modules/string_decoder/lib/string_decoder.js +0 -285
@@ -1,2379 +0,0 @@
1
- import { commonjsGlobal } from '../../_virtual/_commonjsHelpers.js';
2
- import { __module as lodash_groupby } from '../../_virtual/index26.js';
3
-
4
- /**
5
- * lodash (Custom Build) <https://lodash.com/>
6
- * Build: `lodash modularize exports="npm" -o ./`
7
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
8
- * Released under MIT license <https://lodash.com/license>
9
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
10
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
11
- */
12
- lodash_groupby.exports;
13
-
14
- (function (module, exports) {
15
- /** Used as the size to enable large array optimizations. */
16
- var LARGE_ARRAY_SIZE = 200;
17
-
18
- /** Used as the `TypeError` message for "Functions" methods. */
19
- var FUNC_ERROR_TEXT = 'Expected a function';
20
-
21
- /** Used to stand-in for `undefined` hash values. */
22
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
23
-
24
- /** Used to compose bitmasks for comparison styles. */
25
- var UNORDERED_COMPARE_FLAG = 1,
26
- PARTIAL_COMPARE_FLAG = 2;
27
-
28
- /** Used as references for various `Number` constants. */
29
- var INFINITY = 1 / 0,
30
- MAX_SAFE_INTEGER = 9007199254740991;
31
-
32
- /** `Object#toString` result references. */
33
- var argsTag = '[object Arguments]',
34
- arrayTag = '[object Array]',
35
- boolTag = '[object Boolean]',
36
- dateTag = '[object Date]',
37
- errorTag = '[object Error]',
38
- funcTag = '[object Function]',
39
- genTag = '[object GeneratorFunction]',
40
- mapTag = '[object Map]',
41
- numberTag = '[object Number]',
42
- objectTag = '[object Object]',
43
- promiseTag = '[object Promise]',
44
- regexpTag = '[object RegExp]',
45
- setTag = '[object Set]',
46
- stringTag = '[object String]',
47
- symbolTag = '[object Symbol]',
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
- /** Used to match property names within property paths. */
63
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
64
- reIsPlainProp = /^\w*$/,
65
- reLeadingDot = /^\./,
66
- rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
67
-
68
- /**
69
- * Used to match `RegExp`
70
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
71
- */
72
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
73
-
74
- /** Used to match backslashes in property paths. */
75
- var reEscapeChar = /\\(\\)?/g;
76
-
77
- /** Used to detect host constructors (Safari). */
78
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
79
-
80
- /** Used to detect unsigned integer values. */
81
- var reIsUint = /^(?:0|[1-9]\d*)$/;
82
-
83
- /** Used to identify `toStringTag` values of typed arrays. */
84
- var typedArrayTags = {};
85
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
86
- typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
87
- typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
88
- typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
89
- typedArrayTags[uint32Tag] = true;
90
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
91
- typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
92
- typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
93
- typedArrayTags[errorTag] = typedArrayTags[funcTag] =
94
- typedArrayTags[mapTag] = typedArrayTags[numberTag] =
95
- typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
96
- typedArrayTags[setTag] = typedArrayTags[stringTag] =
97
- typedArrayTags[weakMapTag] = false;
98
-
99
- /** Detect free variable `global` from Node.js. */
100
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
101
-
102
- /** Detect free variable `self`. */
103
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
104
-
105
- /** Used as a reference to the global object. */
106
- var root = freeGlobal || freeSelf || Function('return this')();
107
-
108
- /** Detect free variable `exports`. */
109
- var freeExports = exports && !exports.nodeType && exports;
110
-
111
- /** Detect free variable `module`. */
112
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
113
-
114
- /** Detect the popular CommonJS extension `module.exports`. */
115
- var moduleExports = freeModule && freeModule.exports === freeExports;
116
-
117
- /** Detect free variable `process` from Node.js. */
118
- var freeProcess = moduleExports && freeGlobal.process;
119
-
120
- /** Used to access faster Node.js helpers. */
121
- var nodeUtil = (function() {
122
- try {
123
- return freeProcess && freeProcess.binding('util');
124
- } catch (e) {}
125
- }());
126
-
127
- /* Node.js helper references. */
128
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
129
-
130
- /**
131
- * A specialized version of `baseAggregator` for arrays.
132
- *
133
- * @private
134
- * @param {Array} [array] The array to iterate over.
135
- * @param {Function} setter The function to set `accumulator` values.
136
- * @param {Function} iteratee The iteratee to transform keys.
137
- * @param {Object} accumulator The initial aggregated object.
138
- * @returns {Function} Returns `accumulator`.
139
- */
140
- function arrayAggregator(array, setter, iteratee, accumulator) {
141
- var index = -1,
142
- length = array ? array.length : 0;
143
-
144
- while (++index < length) {
145
- var value = array[index];
146
- setter(accumulator, value, iteratee(value), array);
147
- }
148
- return accumulator;
149
- }
150
-
151
- /**
152
- * A specialized version of `_.some` for arrays without support for iteratee
153
- * shorthands.
154
- *
155
- * @private
156
- * @param {Array} [array] The array to iterate over.
157
- * @param {Function} predicate The function invoked per iteration.
158
- * @returns {boolean} Returns `true` if any element passes the predicate check,
159
- * else `false`.
160
- */
161
- function arraySome(array, predicate) {
162
- var index = -1,
163
- length = array ? array.length : 0;
164
-
165
- while (++index < length) {
166
- if (predicate(array[index], index, array)) {
167
- return true;
168
- }
169
- }
170
- return false;
171
- }
172
-
173
- /**
174
- * The base implementation of `_.property` without support for deep paths.
175
- *
176
- * @private
177
- * @param {string} key The key of the property to get.
178
- * @returns {Function} Returns the new accessor function.
179
- */
180
- function baseProperty(key) {
181
- return function(object) {
182
- return object == null ? undefined : object[key];
183
- };
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
- * Gets the value at `key` of `object`.
220
- *
221
- * @private
222
- * @param {Object} [object] The object to query.
223
- * @param {string} key The key of the property to get.
224
- * @returns {*} Returns the property value.
225
- */
226
- function getValue(object, key) {
227
- return object == null ? undefined : object[key];
228
- }
229
-
230
- /**
231
- * Checks if `value` is a host object in IE < 9.
232
- *
233
- * @private
234
- * @param {*} value The value to check.
235
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
236
- */
237
- function isHostObject(value) {
238
- // Many host objects are `Object` objects that can coerce to strings
239
- // despite having improperly defined `toString` methods.
240
- var result = false;
241
- if (value != null && typeof value.toString != 'function') {
242
- try {
243
- result = !!(value + '');
244
- } catch (e) {}
245
- }
246
- return result;
247
- }
248
-
249
- /**
250
- * Converts `map` to its key-value pairs.
251
- *
252
- * @private
253
- * @param {Object} map The map to convert.
254
- * @returns {Array} Returns the key-value pairs.
255
- */
256
- function mapToArray(map) {
257
- var index = -1,
258
- result = Array(map.size);
259
-
260
- map.forEach(function(value, key) {
261
- result[++index] = [key, value];
262
- });
263
- return result;
264
- }
265
-
266
- /**
267
- * Creates a unary function that invokes `func` with its argument transformed.
268
- *
269
- * @private
270
- * @param {Function} func The function to wrap.
271
- * @param {Function} transform The argument transform.
272
- * @returns {Function} Returns the new function.
273
- */
274
- function overArg(func, transform) {
275
- return function(arg) {
276
- return func(transform(arg));
277
- };
278
- }
279
-
280
- /**
281
- * Converts `set` to an array of its values.
282
- *
283
- * @private
284
- * @param {Object} set The set to convert.
285
- * @returns {Array} Returns the values.
286
- */
287
- function setToArray(set) {
288
- var index = -1,
289
- result = Array(set.size);
290
-
291
- set.forEach(function(value) {
292
- result[++index] = value;
293
- });
294
- return result;
295
- }
296
-
297
- /** Used for built-in method references. */
298
- var arrayProto = Array.prototype,
299
- funcProto = Function.prototype,
300
- objectProto = Object.prototype;
301
-
302
- /** Used to detect overreaching core-js shims. */
303
- var coreJsData = root['__core-js_shared__'];
304
-
305
- /** Used to detect methods masquerading as native. */
306
- var maskSrcKey = (function() {
307
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
308
- return uid ? ('Symbol(src)_1.' + uid) : '';
309
- }());
310
-
311
- /** Used to resolve the decompiled source of functions. */
312
- var funcToString = funcProto.toString;
313
-
314
- /** Used to check objects for own properties. */
315
- var hasOwnProperty = objectProto.hasOwnProperty;
316
-
317
- /**
318
- * Used to resolve the
319
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
320
- * of values.
321
- */
322
- var objectToString = objectProto.toString;
323
-
324
- /** Used to detect if a method is native. */
325
- var reIsNative = RegExp('^' +
326
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
327
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
328
- );
329
-
330
- /** Built-in value references. */
331
- var Symbol = root.Symbol,
332
- Uint8Array = root.Uint8Array,
333
- propertyIsEnumerable = objectProto.propertyIsEnumerable,
334
- splice = arrayProto.splice;
335
-
336
- /* Built-in method references for those with the same name as other `lodash` methods. */
337
- var nativeKeys = overArg(Object.keys, Object);
338
-
339
- /* Built-in method references that are verified to be native. */
340
- var DataView = getNative(root, 'DataView'),
341
- Map = getNative(root, 'Map'),
342
- Promise = getNative(root, 'Promise'),
343
- Set = getNative(root, 'Set'),
344
- WeakMap = getNative(root, 'WeakMap'),
345
- nativeCreate = getNative(Object, 'create');
346
-
347
- /** Used to detect maps, sets, and weakmaps. */
348
- var dataViewCtorString = toSource(DataView),
349
- mapCtorString = toSource(Map),
350
- promiseCtorString = toSource(Promise),
351
- setCtorString = toSource(Set),
352
- weakMapCtorString = toSource(WeakMap);
353
-
354
- /** Used to convert symbols to primitives and strings. */
355
- var symbolProto = Symbol ? Symbol.prototype : undefined,
356
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
357
- symbolToString = symbolProto ? symbolProto.toString : undefined;
358
-
359
- /**
360
- * Creates a hash object.
361
- *
362
- * @private
363
- * @constructor
364
- * @param {Array} [entries] The key-value pairs to cache.
365
- */
366
- function Hash(entries) {
367
- var index = -1,
368
- length = entries ? entries.length : 0;
369
-
370
- this.clear();
371
- while (++index < length) {
372
- var entry = entries[index];
373
- this.set(entry[0], entry[1]);
374
- }
375
- }
376
-
377
- /**
378
- * Removes all key-value entries from the hash.
379
- *
380
- * @private
381
- * @name clear
382
- * @memberOf Hash
383
- */
384
- function hashClear() {
385
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
386
- }
387
-
388
- /**
389
- * Removes `key` and its value from the hash.
390
- *
391
- * @private
392
- * @name delete
393
- * @memberOf Hash
394
- * @param {Object} hash The hash to modify.
395
- * @param {string} key The key of the value to remove.
396
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
397
- */
398
- function hashDelete(key) {
399
- return this.has(key) && delete this.__data__[key];
400
- }
401
-
402
- /**
403
- * Gets the hash value for `key`.
404
- *
405
- * @private
406
- * @name get
407
- * @memberOf Hash
408
- * @param {string} key The key of the value to get.
409
- * @returns {*} Returns the entry value.
410
- */
411
- function hashGet(key) {
412
- var data = this.__data__;
413
- if (nativeCreate) {
414
- var result = data[key];
415
- return result === HASH_UNDEFINED ? undefined : result;
416
- }
417
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
418
- }
419
-
420
- /**
421
- * Checks if a hash value for `key` exists.
422
- *
423
- * @private
424
- * @name has
425
- * @memberOf Hash
426
- * @param {string} key The key of the entry to check.
427
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
428
- */
429
- function hashHas(key) {
430
- var data = this.__data__;
431
- return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
432
- }
433
-
434
- /**
435
- * Sets the hash `key` to `value`.
436
- *
437
- * @private
438
- * @name set
439
- * @memberOf Hash
440
- * @param {string} key The key of the value to set.
441
- * @param {*} value The value to set.
442
- * @returns {Object} Returns the hash instance.
443
- */
444
- function hashSet(key, value) {
445
- var data = this.__data__;
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 ? entries.length : 0;
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
- }
485
-
486
- /**
487
- * Removes `key` and its value from the list cache.
488
- *
489
- * @private
490
- * @name delete
491
- * @memberOf ListCache
492
- * @param {string} key The key of the value to remove.
493
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
494
- */
495
- function listCacheDelete(key) {
496
- var data = this.__data__,
497
- index = assocIndexOf(data, key);
498
-
499
- if (index < 0) {
500
- return false;
501
- }
502
- var lastIndex = data.length - 1;
503
- if (index == lastIndex) {
504
- data.pop();
505
- } else {
506
- splice.call(data, index, 1);
507
- }
508
- return true;
509
- }
510
-
511
- /**
512
- * Gets the list cache value for `key`.
513
- *
514
- * @private
515
- * @name get
516
- * @memberOf ListCache
517
- * @param {string} key The key of the value to get.
518
- * @returns {*} Returns the entry value.
519
- */
520
- function listCacheGet(key) {
521
- var data = this.__data__,
522
- index = assocIndexOf(data, key);
523
-
524
- return index < 0 ? undefined : data[index][1];
525
- }
526
-
527
- /**
528
- * Checks if a list cache value for `key` exists.
529
- *
530
- * @private
531
- * @name has
532
- * @memberOf ListCache
533
- * @param {string} key The key of the entry to check.
534
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
535
- */
536
- function listCacheHas(key) {
537
- return assocIndexOf(this.__data__, key) > -1;
538
- }
539
-
540
- /**
541
- * Sets the list cache `key` to `value`.
542
- *
543
- * @private
544
- * @name set
545
- * @memberOf ListCache
546
- * @param {string} key The key of the value to set.
547
- * @param {*} value The value to set.
548
- * @returns {Object} Returns the list cache instance.
549
- */
550
- function listCacheSet(key, value) {
551
- var data = this.__data__,
552
- index = assocIndexOf(data, key);
553
-
554
- if (index < 0) {
555
- data.push([key, value]);
556
- } else {
557
- data[index][1] = value;
558
- }
559
- return this;
560
- }
561
-
562
- // Add methods to `ListCache`.
563
- ListCache.prototype.clear = listCacheClear;
564
- ListCache.prototype['delete'] = listCacheDelete;
565
- ListCache.prototype.get = listCacheGet;
566
- ListCache.prototype.has = listCacheHas;
567
- ListCache.prototype.set = listCacheSet;
568
-
569
- /**
570
- * Creates a map cache object to store key-value pairs.
571
- *
572
- * @private
573
- * @constructor
574
- * @param {Array} [entries] The key-value pairs to cache.
575
- */
576
- function MapCache(entries) {
577
- var index = -1,
578
- length = entries ? entries.length : 0;
579
-
580
- this.clear();
581
- while (++index < length) {
582
- var entry = entries[index];
583
- this.set(entry[0], entry[1]);
584
- }
585
- }
586
-
587
- /**
588
- * Removes all key-value entries from the map.
589
- *
590
- * @private
591
- * @name clear
592
- * @memberOf MapCache
593
- */
594
- function mapCacheClear() {
595
- this.__data__ = {
596
- 'hash': new Hash,
597
- 'map': new (Map || ListCache),
598
- 'string': new Hash
599
- };
600
- }
601
-
602
- /**
603
- * Removes `key` and its value from the map.
604
- *
605
- * @private
606
- * @name delete
607
- * @memberOf MapCache
608
- * @param {string} key The key of the value to remove.
609
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
610
- */
611
- function mapCacheDelete(key) {
612
- return getMapData(this, key)['delete'](key);
613
- }
614
-
615
- /**
616
- * Gets the map value for `key`.
617
- *
618
- * @private
619
- * @name get
620
- * @memberOf MapCache
621
- * @param {string} key The key of the value to get.
622
- * @returns {*} Returns the entry value.
623
- */
624
- function mapCacheGet(key) {
625
- return getMapData(this, key).get(key);
626
- }
627
-
628
- /**
629
- * Checks if a map value for `key` exists.
630
- *
631
- * @private
632
- * @name has
633
- * @memberOf MapCache
634
- * @param {string} key The key of the entry to check.
635
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
636
- */
637
- function mapCacheHas(key) {
638
- return getMapData(this, key).has(key);
639
- }
640
-
641
- /**
642
- * Sets the map `key` to `value`.
643
- *
644
- * @private
645
- * @name set
646
- * @memberOf MapCache
647
- * @param {string} key The key of the value to set.
648
- * @param {*} value The value to set.
649
- * @returns {Object} Returns the map cache instance.
650
- */
651
- function mapCacheSet(key, value) {
652
- getMapData(this, key).set(key, value);
653
- return this;
654
- }
655
-
656
- // Add methods to `MapCache`.
657
- MapCache.prototype.clear = mapCacheClear;
658
- MapCache.prototype['delete'] = mapCacheDelete;
659
- MapCache.prototype.get = mapCacheGet;
660
- MapCache.prototype.has = mapCacheHas;
661
- MapCache.prototype.set = mapCacheSet;
662
-
663
- /**
664
- *
665
- * Creates an array cache object to store unique values.
666
- *
667
- * @private
668
- * @constructor
669
- * @param {Array} [values] The values to cache.
670
- */
671
- function SetCache(values) {
672
- var index = -1,
673
- length = values ? values.length : 0;
674
-
675
- this.__data__ = new MapCache;
676
- while (++index < length) {
677
- this.add(values[index]);
678
- }
679
- }
680
-
681
- /**
682
- * Adds `value` to the array cache.
683
- *
684
- * @private
685
- * @name add
686
- * @memberOf SetCache
687
- * @alias push
688
- * @param {*} value The value to cache.
689
- * @returns {Object} Returns the cache instance.
690
- */
691
- function setCacheAdd(value) {
692
- this.__data__.set(value, HASH_UNDEFINED);
693
- return this;
694
- }
695
-
696
- /**
697
- * Checks if `value` is in the array cache.
698
- *
699
- * @private
700
- * @name has
701
- * @memberOf SetCache
702
- * @param {*} value The value to search for.
703
- * @returns {number} Returns `true` if `value` is found, else `false`.
704
- */
705
- function setCacheHas(value) {
706
- return this.__data__.has(value);
707
- }
708
-
709
- // Add methods to `SetCache`.
710
- SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
711
- SetCache.prototype.has = setCacheHas;
712
-
713
- /**
714
- * Creates a stack cache object to store key-value pairs.
715
- *
716
- * @private
717
- * @constructor
718
- * @param {Array} [entries] The key-value pairs to cache.
719
- */
720
- function Stack(entries) {
721
- this.__data__ = new ListCache(entries);
722
- }
723
-
724
- /**
725
- * Removes all key-value entries from the stack.
726
- *
727
- * @private
728
- * @name clear
729
- * @memberOf Stack
730
- */
731
- function stackClear() {
732
- this.__data__ = new ListCache;
733
- }
734
-
735
- /**
736
- * Removes `key` and its value from the stack.
737
- *
738
- * @private
739
- * @name delete
740
- * @memberOf Stack
741
- * @param {string} key The key of the value to remove.
742
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
743
- */
744
- function stackDelete(key) {
745
- return this.__data__['delete'](key);
746
- }
747
-
748
- /**
749
- * Gets the stack value for `key`.
750
- *
751
- * @private
752
- * @name get
753
- * @memberOf Stack
754
- * @param {string} key The key of the value to get.
755
- * @returns {*} Returns the entry value.
756
- */
757
- function stackGet(key) {
758
- return this.__data__.get(key);
759
- }
760
-
761
- /**
762
- * Checks if a stack value for `key` exists.
763
- *
764
- * @private
765
- * @name has
766
- * @memberOf Stack
767
- * @param {string} key The key of the entry to check.
768
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
769
- */
770
- function stackHas(key) {
771
- return this.__data__.has(key);
772
- }
773
-
774
- /**
775
- * Sets the stack `key` to `value`.
776
- *
777
- * @private
778
- * @name set
779
- * @memberOf Stack
780
- * @param {string} key The key of the value to set.
781
- * @param {*} value The value to set.
782
- * @returns {Object} Returns the stack cache instance.
783
- */
784
- function stackSet(key, value) {
785
- var cache = this.__data__;
786
- if (cache instanceof ListCache) {
787
- var pairs = cache.__data__;
788
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
789
- pairs.push([key, value]);
790
- return this;
791
- }
792
- cache = this.__data__ = new MapCache(pairs);
793
- }
794
- cache.set(key, value);
795
- return this;
796
- }
797
-
798
- // Add methods to `Stack`.
799
- Stack.prototype.clear = stackClear;
800
- Stack.prototype['delete'] = stackDelete;
801
- Stack.prototype.get = stackGet;
802
- Stack.prototype.has = stackHas;
803
- Stack.prototype.set = stackSet;
804
-
805
- /**
806
- * Creates an array of the enumerable property names of the array-like `value`.
807
- *
808
- * @private
809
- * @param {*} value The value to query.
810
- * @param {boolean} inherited Specify returning inherited property names.
811
- * @returns {Array} Returns the array of property names.
812
- */
813
- function arrayLikeKeys(value, inherited) {
814
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
815
- // Safari 9 makes `arguments.length` enumerable in strict mode.
816
- var result = (isArray(value) || isArguments(value))
817
- ? baseTimes(value.length, String)
818
- : [];
819
-
820
- var length = result.length,
821
- skipIndexes = !!length;
822
-
823
- for (var key in value) {
824
- if ((inherited || hasOwnProperty.call(value, key)) &&
825
- !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
826
- result.push(key);
827
- }
828
- }
829
- return result;
830
- }
831
-
832
- /**
833
- * Gets the index at which the `key` is found in `array` of key-value pairs.
834
- *
835
- * @private
836
- * @param {Array} array The array to inspect.
837
- * @param {*} key The key to search for.
838
- * @returns {number} Returns the index of the matched value, else `-1`.
839
- */
840
- function assocIndexOf(array, key) {
841
- var length = array.length;
842
- while (length--) {
843
- if (eq(array[length][0], key)) {
844
- return length;
845
- }
846
- }
847
- return -1;
848
- }
849
-
850
- /**
851
- * Aggregates elements of `collection` on `accumulator` with keys transformed
852
- * by `iteratee` and values set by `setter`.
853
- *
854
- * @private
855
- * @param {Array|Object} collection The collection to iterate over.
856
- * @param {Function} setter The function to set `accumulator` values.
857
- * @param {Function} iteratee The iteratee to transform keys.
858
- * @param {Object} accumulator The initial aggregated object.
859
- * @returns {Function} Returns `accumulator`.
860
- */
861
- function baseAggregator(collection, setter, iteratee, accumulator) {
862
- baseEach(collection, function(value, key, collection) {
863
- setter(accumulator, value, iteratee(value), collection);
864
- });
865
- return accumulator;
866
- }
867
-
868
- /**
869
- * The base implementation of `_.forEach` without support for iteratee shorthands.
870
- *
871
- * @private
872
- * @param {Array|Object} collection The collection to iterate over.
873
- * @param {Function} iteratee The function invoked per iteration.
874
- * @returns {Array|Object} Returns `collection`.
875
- */
876
- var baseEach = createBaseEach(baseForOwn);
877
-
878
- /**
879
- * The base implementation of `baseForOwn` which iterates over `object`
880
- * properties returned by `keysFunc` and invokes `iteratee` for each property.
881
- * Iteratee functions may exit iteration early by explicitly returning `false`.
882
- *
883
- * @private
884
- * @param {Object} object The object to iterate over.
885
- * @param {Function} iteratee The function invoked per iteration.
886
- * @param {Function} keysFunc The function to get the keys of `object`.
887
- * @returns {Object} Returns `object`.
888
- */
889
- var baseFor = createBaseFor();
890
-
891
- /**
892
- * The base implementation of `_.forOwn` without support for iteratee shorthands.
893
- *
894
- * @private
895
- * @param {Object} object The object to iterate over.
896
- * @param {Function} iteratee The function invoked per iteration.
897
- * @returns {Object} Returns `object`.
898
- */
899
- function baseForOwn(object, iteratee) {
900
- return object && baseFor(object, iteratee, keys);
901
- }
902
-
903
- /**
904
- * The base implementation of `_.get` without support for default values.
905
- *
906
- * @private
907
- * @param {Object} object The object to query.
908
- * @param {Array|string} path The path of the property to get.
909
- * @returns {*} Returns the resolved value.
910
- */
911
- function baseGet(object, path) {
912
- path = isKey(path, object) ? [path] : castPath(path);
913
-
914
- var index = 0,
915
- length = path.length;
916
-
917
- while (object != null && index < length) {
918
- object = object[toKey(path[index++])];
919
- }
920
- return (index && index == length) ? object : undefined;
921
- }
922
-
923
- /**
924
- * The base implementation of `getTag`.
925
- *
926
- * @private
927
- * @param {*} value The value to query.
928
- * @returns {string} Returns the `toStringTag`.
929
- */
930
- function baseGetTag(value) {
931
- return objectToString.call(value);
932
- }
933
-
934
- /**
935
- * The base implementation of `_.hasIn` without support for deep paths.
936
- *
937
- * @private
938
- * @param {Object} [object] The object to query.
939
- * @param {Array|string} key The key to check.
940
- * @returns {boolean} Returns `true` if `key` exists, else `false`.
941
- */
942
- function baseHasIn(object, key) {
943
- return object != null && key in Object(object);
944
- }
945
-
946
- /**
947
- * The base implementation of `_.isEqual` which supports partial comparisons
948
- * and tracks traversed objects.
949
- *
950
- * @private
951
- * @param {*} value The value to compare.
952
- * @param {*} other The other value to compare.
953
- * @param {Function} [customizer] The function to customize comparisons.
954
- * @param {boolean} [bitmask] The bitmask of comparison flags.
955
- * The bitmask may be composed of the following flags:
956
- * 1 - Unordered comparison
957
- * 2 - Partial comparison
958
- * @param {Object} [stack] Tracks traversed `value` and `other` objects.
959
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
960
- */
961
- function baseIsEqual(value, other, customizer, bitmask, stack) {
962
- if (value === other) {
963
- return true;
964
- }
965
- if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {
966
- return value !== value && other !== other;
967
- }
968
- return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);
969
- }
970
-
971
- /**
972
- * A specialized version of `baseIsEqual` for arrays and objects which performs
973
- * deep comparisons and tracks traversed objects enabling objects with circular
974
- * references to be compared.
975
- *
976
- * @private
977
- * @param {Object} object The object to compare.
978
- * @param {Object} other The other object to compare.
979
- * @param {Function} equalFunc The function to determine equivalents of values.
980
- * @param {Function} [customizer] The function to customize comparisons.
981
- * @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`
982
- * for more details.
983
- * @param {Object} [stack] Tracks traversed `object` and `other` objects.
984
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
985
- */
986
- function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {
987
- var objIsArr = isArray(object),
988
- othIsArr = isArray(other),
989
- objTag = arrayTag,
990
- othTag = arrayTag;
991
-
992
- if (!objIsArr) {
993
- objTag = getTag(object);
994
- objTag = objTag == argsTag ? objectTag : objTag;
995
- }
996
- if (!othIsArr) {
997
- othTag = getTag(other);
998
- othTag = othTag == argsTag ? objectTag : othTag;
999
- }
1000
- var objIsObj = objTag == objectTag && !isHostObject(object),
1001
- othIsObj = othTag == objectTag && !isHostObject(other),
1002
- isSameTag = objTag == othTag;
1003
-
1004
- if (isSameTag && !objIsObj) {
1005
- stack || (stack = new Stack);
1006
- return (objIsArr || isTypedArray(object))
1007
- ? equalArrays(object, other, equalFunc, customizer, bitmask, stack)
1008
- : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
1009
- }
1010
- if (!(bitmask & PARTIAL_COMPARE_FLAG)) {
1011
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
1012
- othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
1013
-
1014
- if (objIsWrapped || othIsWrapped) {
1015
- var objUnwrapped = objIsWrapped ? object.value() : object,
1016
- othUnwrapped = othIsWrapped ? other.value() : other;
1017
-
1018
- stack || (stack = new Stack);
1019
- return equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);
1020
- }
1021
- }
1022
- if (!isSameTag) {
1023
- return false;
1024
- }
1025
- stack || (stack = new Stack);
1026
- return equalObjects(object, other, equalFunc, customizer, bitmask, stack);
1027
- }
1028
-
1029
- /**
1030
- * The base implementation of `_.isMatch` without support for iteratee shorthands.
1031
- *
1032
- * @private
1033
- * @param {Object} object The object to inspect.
1034
- * @param {Object} source The object of property values to match.
1035
- * @param {Array} matchData The property names, values, and compare flags to match.
1036
- * @param {Function} [customizer] The function to customize comparisons.
1037
- * @returns {boolean} Returns `true` if `object` is a match, else `false`.
1038
- */
1039
- function baseIsMatch(object, source, matchData, customizer) {
1040
- var index = matchData.length,
1041
- length = index,
1042
- noCustomizer = !customizer;
1043
-
1044
- if (object == null) {
1045
- return !length;
1046
- }
1047
- object = Object(object);
1048
- while (index--) {
1049
- var data = matchData[index];
1050
- if ((noCustomizer && data[2])
1051
- ? data[1] !== object[data[0]]
1052
- : !(data[0] in object)
1053
- ) {
1054
- return false;
1055
- }
1056
- }
1057
- while (++index < length) {
1058
- data = matchData[index];
1059
- var key = data[0],
1060
- objValue = object[key],
1061
- srcValue = data[1];
1062
-
1063
- if (noCustomizer && data[2]) {
1064
- if (objValue === undefined && !(key in object)) {
1065
- return false;
1066
- }
1067
- } else {
1068
- var stack = new Stack;
1069
- if (customizer) {
1070
- var result = customizer(objValue, srcValue, key, object, source, stack);
1071
- }
1072
- if (!(result === undefined
1073
- ? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack)
1074
- : result
1075
- )) {
1076
- return false;
1077
- }
1078
- }
1079
- }
1080
- return true;
1081
- }
1082
-
1083
- /**
1084
- * The base implementation of `_.isNative` without bad shim checks.
1085
- *
1086
- * @private
1087
- * @param {*} value The value to check.
1088
- * @returns {boolean} Returns `true` if `value` is a native function,
1089
- * else `false`.
1090
- */
1091
- function baseIsNative(value) {
1092
- if (!isObject(value) || isMasked(value)) {
1093
- return false;
1094
- }
1095
- var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
1096
- return pattern.test(toSource(value));
1097
- }
1098
-
1099
- /**
1100
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
1101
- *
1102
- * @private
1103
- * @param {*} value The value to check.
1104
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1105
- */
1106
- function baseIsTypedArray(value) {
1107
- return isObjectLike(value) &&
1108
- isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
1109
- }
1110
-
1111
- /**
1112
- * The base implementation of `_.iteratee`.
1113
- *
1114
- * @private
1115
- * @param {*} [value=_.identity] The value to convert to an iteratee.
1116
- * @returns {Function} Returns the iteratee.
1117
- */
1118
- function baseIteratee(value) {
1119
- // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
1120
- // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
1121
- if (typeof value == 'function') {
1122
- return value;
1123
- }
1124
- if (value == null) {
1125
- return identity;
1126
- }
1127
- if (typeof value == 'object') {
1128
- return isArray(value)
1129
- ? baseMatchesProperty(value[0], value[1])
1130
- : baseMatches(value);
1131
- }
1132
- return property(value);
1133
- }
1134
-
1135
- /**
1136
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1137
- *
1138
- * @private
1139
- * @param {Object} object The object to query.
1140
- * @returns {Array} Returns the array of property names.
1141
- */
1142
- function baseKeys(object) {
1143
- if (!isPrototype(object)) {
1144
- return nativeKeys(object);
1145
- }
1146
- var result = [];
1147
- for (var key in Object(object)) {
1148
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
1149
- result.push(key);
1150
- }
1151
- }
1152
- return result;
1153
- }
1154
-
1155
- /**
1156
- * The base implementation of `_.matches` which doesn't clone `source`.
1157
- *
1158
- * @private
1159
- * @param {Object} source The object of property values to match.
1160
- * @returns {Function} Returns the new spec function.
1161
- */
1162
- function baseMatches(source) {
1163
- var matchData = getMatchData(source);
1164
- if (matchData.length == 1 && matchData[0][2]) {
1165
- return matchesStrictComparable(matchData[0][0], matchData[0][1]);
1166
- }
1167
- return function(object) {
1168
- return object === source || baseIsMatch(object, source, matchData);
1169
- };
1170
- }
1171
-
1172
- /**
1173
- * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
1174
- *
1175
- * @private
1176
- * @param {string} path The path of the property to get.
1177
- * @param {*} srcValue The value to match.
1178
- * @returns {Function} Returns the new spec function.
1179
- */
1180
- function baseMatchesProperty(path, srcValue) {
1181
- if (isKey(path) && isStrictComparable(srcValue)) {
1182
- return matchesStrictComparable(toKey(path), srcValue);
1183
- }
1184
- return function(object) {
1185
- var objValue = get(object, path);
1186
- return (objValue === undefined && objValue === srcValue)
1187
- ? hasIn(object, path)
1188
- : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);
1189
- };
1190
- }
1191
-
1192
- /**
1193
- * A specialized version of `baseProperty` which supports deep paths.
1194
- *
1195
- * @private
1196
- * @param {Array|string} path The path of the property to get.
1197
- * @returns {Function} Returns the new accessor function.
1198
- */
1199
- function basePropertyDeep(path) {
1200
- return function(object) {
1201
- return baseGet(object, path);
1202
- };
1203
- }
1204
-
1205
- /**
1206
- * The base implementation of `_.toString` which doesn't convert nullish
1207
- * values to empty strings.
1208
- *
1209
- * @private
1210
- * @param {*} value The value to process.
1211
- * @returns {string} Returns the string.
1212
- */
1213
- function baseToString(value) {
1214
- // Exit early for strings to avoid a performance hit in some environments.
1215
- if (typeof value == 'string') {
1216
- return value;
1217
- }
1218
- if (isSymbol(value)) {
1219
- return symbolToString ? symbolToString.call(value) : '';
1220
- }
1221
- var result = (value + '');
1222
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1223
- }
1224
-
1225
- /**
1226
- * Casts `value` to a path array if it's not one.
1227
- *
1228
- * @private
1229
- * @param {*} value The value to inspect.
1230
- * @returns {Array} Returns the cast property path array.
1231
- */
1232
- function castPath(value) {
1233
- return isArray(value) ? value : stringToPath(value);
1234
- }
1235
-
1236
- /**
1237
- * Creates a function like `_.groupBy`.
1238
- *
1239
- * @private
1240
- * @param {Function} setter The function to set accumulator values.
1241
- * @param {Function} [initializer] The accumulator object initializer.
1242
- * @returns {Function} Returns the new aggregator function.
1243
- */
1244
- function createAggregator(setter, initializer) {
1245
- return function(collection, iteratee) {
1246
- var func = isArray(collection) ? arrayAggregator : baseAggregator,
1247
- accumulator = initializer ? initializer() : {};
1248
-
1249
- return func(collection, setter, baseIteratee(iteratee), accumulator);
1250
- };
1251
- }
1252
-
1253
- /**
1254
- * Creates a `baseEach` or `baseEachRight` function.
1255
- *
1256
- * @private
1257
- * @param {Function} eachFunc The function to iterate over a collection.
1258
- * @param {boolean} [fromRight] Specify iterating from right to left.
1259
- * @returns {Function} Returns the new base function.
1260
- */
1261
- function createBaseEach(eachFunc, fromRight) {
1262
- return function(collection, iteratee) {
1263
- if (collection == null) {
1264
- return collection;
1265
- }
1266
- if (!isArrayLike(collection)) {
1267
- return eachFunc(collection, iteratee);
1268
- }
1269
- var length = collection.length,
1270
- index = fromRight ? length : -1,
1271
- iterable = Object(collection);
1272
-
1273
- while ((fromRight ? index-- : ++index < length)) {
1274
- if (iteratee(iterable[index], index, iterable) === false) {
1275
- break;
1276
- }
1277
- }
1278
- return collection;
1279
- };
1280
- }
1281
-
1282
- /**
1283
- * Creates a base function for methods like `_.forIn` and `_.forOwn`.
1284
- *
1285
- * @private
1286
- * @param {boolean} [fromRight] Specify iterating from right to left.
1287
- * @returns {Function} Returns the new base function.
1288
- */
1289
- function createBaseFor(fromRight) {
1290
- return function(object, iteratee, keysFunc) {
1291
- var index = -1,
1292
- iterable = Object(object),
1293
- props = keysFunc(object),
1294
- length = props.length;
1295
-
1296
- while (length--) {
1297
- var key = props[fromRight ? length : ++index];
1298
- if (iteratee(iterable[key], key, iterable) === false) {
1299
- break;
1300
- }
1301
- }
1302
- return object;
1303
- };
1304
- }
1305
-
1306
- /**
1307
- * A specialized version of `baseIsEqualDeep` for arrays with support for
1308
- * partial deep comparisons.
1309
- *
1310
- * @private
1311
- * @param {Array} array The array to compare.
1312
- * @param {Array} other The other array to compare.
1313
- * @param {Function} equalFunc The function to determine equivalents of values.
1314
- * @param {Function} customizer The function to customize comparisons.
1315
- * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
1316
- * for more details.
1317
- * @param {Object} stack Tracks traversed `array` and `other` objects.
1318
- * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
1319
- */
1320
- function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
1321
- var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
1322
- arrLength = array.length,
1323
- othLength = other.length;
1324
-
1325
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
1326
- return false;
1327
- }
1328
- // Assume cyclic values are equal.
1329
- var stacked = stack.get(array);
1330
- if (stacked && stack.get(other)) {
1331
- return stacked == other;
1332
- }
1333
- var index = -1,
1334
- result = true,
1335
- seen = (bitmask & UNORDERED_COMPARE_FLAG) ? new SetCache : undefined;
1336
-
1337
- stack.set(array, other);
1338
- stack.set(other, array);
1339
-
1340
- // Ignore non-index properties.
1341
- while (++index < arrLength) {
1342
- var arrValue = array[index],
1343
- othValue = other[index];
1344
-
1345
- if (customizer) {
1346
- var compared = isPartial
1347
- ? customizer(othValue, arrValue, index, other, array, stack)
1348
- : customizer(arrValue, othValue, index, array, other, stack);
1349
- }
1350
- if (compared !== undefined) {
1351
- if (compared) {
1352
- continue;
1353
- }
1354
- result = false;
1355
- break;
1356
- }
1357
- // Recursively compare arrays (susceptible to call stack limits).
1358
- if (seen) {
1359
- if (!arraySome(other, function(othValue, othIndex) {
1360
- if (!seen.has(othIndex) &&
1361
- (arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {
1362
- return seen.add(othIndex);
1363
- }
1364
- })) {
1365
- result = false;
1366
- break;
1367
- }
1368
- } else if (!(
1369
- arrValue === othValue ||
1370
- equalFunc(arrValue, othValue, customizer, bitmask, stack)
1371
- )) {
1372
- result = false;
1373
- break;
1374
- }
1375
- }
1376
- stack['delete'](array);
1377
- stack['delete'](other);
1378
- return result;
1379
- }
1380
-
1381
- /**
1382
- * A specialized version of `baseIsEqualDeep` for comparing objects of
1383
- * the same `toStringTag`.
1384
- *
1385
- * **Note:** This function only supports comparing values with tags of
1386
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
1387
- *
1388
- * @private
1389
- * @param {Object} object The object to compare.
1390
- * @param {Object} other The other object to compare.
1391
- * @param {string} tag The `toStringTag` of the objects to compare.
1392
- * @param {Function} equalFunc The function to determine equivalents of values.
1393
- * @param {Function} customizer The function to customize comparisons.
1394
- * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
1395
- * for more details.
1396
- * @param {Object} stack Tracks traversed `object` and `other` objects.
1397
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
1398
- */
1399
- function equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {
1400
- switch (tag) {
1401
- case dataViewTag:
1402
- if ((object.byteLength != other.byteLength) ||
1403
- (object.byteOffset != other.byteOffset)) {
1404
- return false;
1405
- }
1406
- object = object.buffer;
1407
- other = other.buffer;
1408
-
1409
- case arrayBufferTag:
1410
- if ((object.byteLength != other.byteLength) ||
1411
- !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
1412
- return false;
1413
- }
1414
- return true;
1415
-
1416
- case boolTag:
1417
- case dateTag:
1418
- case numberTag:
1419
- // Coerce booleans to `1` or `0` and dates to milliseconds.
1420
- // Invalid dates are coerced to `NaN`.
1421
- return eq(+object, +other);
1422
-
1423
- case errorTag:
1424
- return object.name == other.name && object.message == other.message;
1425
-
1426
- case regexpTag:
1427
- case stringTag:
1428
- // Coerce regexes to strings and treat strings, primitives and objects,
1429
- // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
1430
- // for more details.
1431
- return object == (other + '');
1432
-
1433
- case mapTag:
1434
- var convert = mapToArray;
1435
-
1436
- case setTag:
1437
- var isPartial = bitmask & PARTIAL_COMPARE_FLAG;
1438
- convert || (convert = setToArray);
1439
-
1440
- if (object.size != other.size && !isPartial) {
1441
- return false;
1442
- }
1443
- // Assume cyclic values are equal.
1444
- var stacked = stack.get(object);
1445
- if (stacked) {
1446
- return stacked == other;
1447
- }
1448
- bitmask |= UNORDERED_COMPARE_FLAG;
1449
-
1450
- // Recursively compare objects (susceptible to call stack limits).
1451
- stack.set(object, other);
1452
- var result = equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask, stack);
1453
- stack['delete'](object);
1454
- return result;
1455
-
1456
- case symbolTag:
1457
- if (symbolValueOf) {
1458
- return symbolValueOf.call(object) == symbolValueOf.call(other);
1459
- }
1460
- }
1461
- return false;
1462
- }
1463
-
1464
- /**
1465
- * A specialized version of `baseIsEqualDeep` for objects with support for
1466
- * partial deep comparisons.
1467
- *
1468
- * @private
1469
- * @param {Object} object The object to compare.
1470
- * @param {Object} other The other object to compare.
1471
- * @param {Function} equalFunc The function to determine equivalents of values.
1472
- * @param {Function} customizer The function to customize comparisons.
1473
- * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
1474
- * for more details.
1475
- * @param {Object} stack Tracks traversed `object` and `other` objects.
1476
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
1477
- */
1478
- function equalObjects(object, other, equalFunc, customizer, bitmask, stack) {
1479
- var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
1480
- objProps = keys(object),
1481
- objLength = objProps.length,
1482
- othProps = keys(other),
1483
- othLength = othProps.length;
1484
-
1485
- if (objLength != othLength && !isPartial) {
1486
- return false;
1487
- }
1488
- var index = objLength;
1489
- while (index--) {
1490
- var key = objProps[index];
1491
- if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
1492
- return false;
1493
- }
1494
- }
1495
- // Assume cyclic values are equal.
1496
- var stacked = stack.get(object);
1497
- if (stacked && stack.get(other)) {
1498
- return stacked == other;
1499
- }
1500
- var result = true;
1501
- stack.set(object, other);
1502
- stack.set(other, object);
1503
-
1504
- var skipCtor = isPartial;
1505
- while (++index < objLength) {
1506
- key = objProps[index];
1507
- var objValue = object[key],
1508
- othValue = other[key];
1509
-
1510
- if (customizer) {
1511
- var compared = isPartial
1512
- ? customizer(othValue, objValue, key, other, object, stack)
1513
- : customizer(objValue, othValue, key, object, other, stack);
1514
- }
1515
- // Recursively compare objects (susceptible to call stack limits).
1516
- if (!(compared === undefined
1517
- ? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))
1518
- : compared
1519
- )) {
1520
- result = false;
1521
- break;
1522
- }
1523
- skipCtor || (skipCtor = key == 'constructor');
1524
- }
1525
- if (result && !skipCtor) {
1526
- var objCtor = object.constructor,
1527
- othCtor = other.constructor;
1528
-
1529
- // Non `Object` object instances with different constructors are not equal.
1530
- if (objCtor != othCtor &&
1531
- ('constructor' in object && 'constructor' in other) &&
1532
- !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
1533
- typeof othCtor == 'function' && othCtor instanceof othCtor)) {
1534
- result = false;
1535
- }
1536
- }
1537
- stack['delete'](object);
1538
- stack['delete'](other);
1539
- return result;
1540
- }
1541
-
1542
- /**
1543
- * Gets the data for `map`.
1544
- *
1545
- * @private
1546
- * @param {Object} map The map to query.
1547
- * @param {string} key The reference key.
1548
- * @returns {*} Returns the map data.
1549
- */
1550
- function getMapData(map, key) {
1551
- var data = map.__data__;
1552
- return isKeyable(key)
1553
- ? data[typeof key == 'string' ? 'string' : 'hash']
1554
- : data.map;
1555
- }
1556
-
1557
- /**
1558
- * Gets the property names, values, and compare flags of `object`.
1559
- *
1560
- * @private
1561
- * @param {Object} object The object to query.
1562
- * @returns {Array} Returns the match data of `object`.
1563
- */
1564
- function getMatchData(object) {
1565
- var result = keys(object),
1566
- length = result.length;
1567
-
1568
- while (length--) {
1569
- var key = result[length],
1570
- value = object[key];
1571
-
1572
- result[length] = [key, value, isStrictComparable(value)];
1573
- }
1574
- return result;
1575
- }
1576
-
1577
- /**
1578
- * Gets the native function at `key` of `object`.
1579
- *
1580
- * @private
1581
- * @param {Object} object The object to query.
1582
- * @param {string} key The key of the method to get.
1583
- * @returns {*} Returns the function if it's native, else `undefined`.
1584
- */
1585
- function getNative(object, key) {
1586
- var value = getValue(object, key);
1587
- return baseIsNative(value) ? value : undefined;
1588
- }
1589
-
1590
- /**
1591
- * Gets the `toStringTag` of `value`.
1592
- *
1593
- * @private
1594
- * @param {*} value The value to query.
1595
- * @returns {string} Returns the `toStringTag`.
1596
- */
1597
- var getTag = baseGetTag;
1598
-
1599
- // Fallback for data views, maps, sets, and weak maps in IE 11,
1600
- // for data views in Edge < 14, and promises in Node.js.
1601
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
1602
- (Map && getTag(new Map) != mapTag) ||
1603
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
1604
- (Set && getTag(new Set) != setTag) ||
1605
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
1606
- getTag = function(value) {
1607
- var result = objectToString.call(value),
1608
- Ctor = result == objectTag ? value.constructor : undefined,
1609
- ctorString = Ctor ? toSource(Ctor) : undefined;
1610
-
1611
- if (ctorString) {
1612
- switch (ctorString) {
1613
- case dataViewCtorString: return dataViewTag;
1614
- case mapCtorString: return mapTag;
1615
- case promiseCtorString: return promiseTag;
1616
- case setCtorString: return setTag;
1617
- case weakMapCtorString: return weakMapTag;
1618
- }
1619
- }
1620
- return result;
1621
- };
1622
- }
1623
-
1624
- /**
1625
- * Checks if `path` exists on `object`.
1626
- *
1627
- * @private
1628
- * @param {Object} object The object to query.
1629
- * @param {Array|string} path The path to check.
1630
- * @param {Function} hasFunc The function to check properties.
1631
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
1632
- */
1633
- function hasPath(object, path, hasFunc) {
1634
- path = isKey(path, object) ? [path] : castPath(path);
1635
-
1636
- var result,
1637
- index = -1,
1638
- length = path.length;
1639
-
1640
- while (++index < length) {
1641
- var key = toKey(path[index]);
1642
- if (!(result = object != null && hasFunc(object, key))) {
1643
- break;
1644
- }
1645
- object = object[key];
1646
- }
1647
- if (result) {
1648
- return result;
1649
- }
1650
- var length = object ? object.length : 0;
1651
- return !!length && isLength(length) && isIndex(key, length) &&
1652
- (isArray(object) || isArguments(object));
1653
- }
1654
-
1655
- /**
1656
- * Checks if `value` is a valid array-like index.
1657
- *
1658
- * @private
1659
- * @param {*} value The value to check.
1660
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1661
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1662
- */
1663
- function isIndex(value, length) {
1664
- length = length == null ? MAX_SAFE_INTEGER : length;
1665
- return !!length &&
1666
- (typeof value == 'number' || reIsUint.test(value)) &&
1667
- (value > -1 && value % 1 == 0 && value < length);
1668
- }
1669
-
1670
- /**
1671
- * Checks if `value` is a property name and not a property path.
1672
- *
1673
- * @private
1674
- * @param {*} value The value to check.
1675
- * @param {Object} [object] The object to query keys on.
1676
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1677
- */
1678
- function isKey(value, object) {
1679
- if (isArray(value)) {
1680
- return false;
1681
- }
1682
- var type = typeof value;
1683
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
1684
- value == null || isSymbol(value)) {
1685
- return true;
1686
- }
1687
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
1688
- (object != null && value in Object(object));
1689
- }
1690
-
1691
- /**
1692
- * Checks if `value` is suitable for use as unique object key.
1693
- *
1694
- * @private
1695
- * @param {*} value The value to check.
1696
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1697
- */
1698
- function isKeyable(value) {
1699
- var type = typeof value;
1700
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1701
- ? (value !== '__proto__')
1702
- : (value === null);
1703
- }
1704
-
1705
- /**
1706
- * Checks if `func` has its source masked.
1707
- *
1708
- * @private
1709
- * @param {Function} func The function to check.
1710
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1711
- */
1712
- function isMasked(func) {
1713
- return !!maskSrcKey && (maskSrcKey in func);
1714
- }
1715
-
1716
- /**
1717
- * Checks if `value` is likely a prototype object.
1718
- *
1719
- * @private
1720
- * @param {*} value The value to check.
1721
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
1722
- */
1723
- function isPrototype(value) {
1724
- var Ctor = value && value.constructor,
1725
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
1726
-
1727
- return value === proto;
1728
- }
1729
-
1730
- /**
1731
- * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
1732
- *
1733
- * @private
1734
- * @param {*} value The value to check.
1735
- * @returns {boolean} Returns `true` if `value` if suitable for strict
1736
- * equality comparisons, else `false`.
1737
- */
1738
- function isStrictComparable(value) {
1739
- return value === value && !isObject(value);
1740
- }
1741
-
1742
- /**
1743
- * A specialized version of `matchesProperty` for source values suitable
1744
- * for strict equality comparisons, i.e. `===`.
1745
- *
1746
- * @private
1747
- * @param {string} key The key of the property to get.
1748
- * @param {*} srcValue The value to match.
1749
- * @returns {Function} Returns the new spec function.
1750
- */
1751
- function matchesStrictComparable(key, srcValue) {
1752
- return function(object) {
1753
- if (object == null) {
1754
- return false;
1755
- }
1756
- return object[key] === srcValue &&
1757
- (srcValue !== undefined || (key in Object(object)));
1758
- };
1759
- }
1760
-
1761
- /**
1762
- * Converts `string` to a property path array.
1763
- *
1764
- * @private
1765
- * @param {string} string The string to convert.
1766
- * @returns {Array} Returns the property path array.
1767
- */
1768
- var stringToPath = memoize(function(string) {
1769
- string = toString(string);
1770
-
1771
- var result = [];
1772
- if (reLeadingDot.test(string)) {
1773
- result.push('');
1774
- }
1775
- string.replace(rePropName, function(match, number, quote, string) {
1776
- result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
1777
- });
1778
- return result;
1779
- });
1780
-
1781
- /**
1782
- * Converts `value` to a string key if it's not a string or symbol.
1783
- *
1784
- * @private
1785
- * @param {*} value The value to inspect.
1786
- * @returns {string|symbol} Returns the key.
1787
- */
1788
- function toKey(value) {
1789
- if (typeof value == 'string' || isSymbol(value)) {
1790
- return value;
1791
- }
1792
- var result = (value + '');
1793
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1794
- }
1795
-
1796
- /**
1797
- * Converts `func` to its source code.
1798
- *
1799
- * @private
1800
- * @param {Function} func The function to process.
1801
- * @returns {string} Returns the source code.
1802
- */
1803
- function toSource(func) {
1804
- if (func != null) {
1805
- try {
1806
- return funcToString.call(func);
1807
- } catch (e) {}
1808
- try {
1809
- return (func + '');
1810
- } catch (e) {}
1811
- }
1812
- return '';
1813
- }
1814
-
1815
- /**
1816
- * Creates an object composed of keys generated from the results of running
1817
- * each element of `collection` thru `iteratee`. The order of grouped values
1818
- * is determined by the order they occur in `collection`. The corresponding
1819
- * value of each key is an array of elements responsible for generating the
1820
- * key. The iteratee is invoked with one argument: (value).
1821
- *
1822
- * @static
1823
- * @memberOf _
1824
- * @since 0.1.0
1825
- * @category Collection
1826
- * @param {Array|Object} collection The collection to iterate over.
1827
- * @param {Function} [iteratee=_.identity]
1828
- * The iteratee to transform keys.
1829
- * @returns {Object} Returns the composed aggregate object.
1830
- * @example
1831
- *
1832
- * _.groupBy([6.1, 4.2, 6.3], Math.floor);
1833
- * // => { '4': [4.2], '6': [6.1, 6.3] }
1834
- *
1835
- * // The `_.property` iteratee shorthand.
1836
- * _.groupBy(['one', 'two', 'three'], 'length');
1837
- * // => { '3': ['one', 'two'], '5': ['three'] }
1838
- */
1839
- var groupBy = createAggregator(function(result, value, key) {
1840
- if (hasOwnProperty.call(result, key)) {
1841
- result[key].push(value);
1842
- } else {
1843
- result[key] = [value];
1844
- }
1845
- });
1846
-
1847
- /**
1848
- * Creates a function that memoizes the result of `func`. If `resolver` is
1849
- * provided, it determines the cache key for storing the result based on the
1850
- * arguments provided to the memoized function. By default, the first argument
1851
- * provided to the memoized function is used as the map cache key. The `func`
1852
- * is invoked with the `this` binding of the memoized function.
1853
- *
1854
- * **Note:** The cache is exposed as the `cache` property on the memoized
1855
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
1856
- * constructor with one whose instances implement the
1857
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1858
- * method interface of `delete`, `get`, `has`, and `set`.
1859
- *
1860
- * @static
1861
- * @memberOf _
1862
- * @since 0.1.0
1863
- * @category Function
1864
- * @param {Function} func The function to have its output memoized.
1865
- * @param {Function} [resolver] The function to resolve the cache key.
1866
- * @returns {Function} Returns the new memoized function.
1867
- * @example
1868
- *
1869
- * var object = { 'a': 1, 'b': 2 };
1870
- * var other = { 'c': 3, 'd': 4 };
1871
- *
1872
- * var values = _.memoize(_.values);
1873
- * values(object);
1874
- * // => [1, 2]
1875
- *
1876
- * values(other);
1877
- * // => [3, 4]
1878
- *
1879
- * object.a = 2;
1880
- * values(object);
1881
- * // => [1, 2]
1882
- *
1883
- * // Modify the result cache.
1884
- * values.cache.set(object, ['a', 'b']);
1885
- * values(object);
1886
- * // => ['a', 'b']
1887
- *
1888
- * // Replace `_.memoize.Cache`.
1889
- * _.memoize.Cache = WeakMap;
1890
- */
1891
- function memoize(func, resolver) {
1892
- if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
1893
- throw new TypeError(FUNC_ERROR_TEXT);
1894
- }
1895
- var memoized = function() {
1896
- var args = arguments,
1897
- key = resolver ? resolver.apply(this, args) : args[0],
1898
- cache = memoized.cache;
1899
-
1900
- if (cache.has(key)) {
1901
- return cache.get(key);
1902
- }
1903
- var result = func.apply(this, args);
1904
- memoized.cache = cache.set(key, result);
1905
- return result;
1906
- };
1907
- memoized.cache = new (memoize.Cache || MapCache);
1908
- return memoized;
1909
- }
1910
-
1911
- // Assign cache to `_.memoize`.
1912
- memoize.Cache = MapCache;
1913
-
1914
- /**
1915
- * Performs a
1916
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1917
- * comparison between two values to determine if they are equivalent.
1918
- *
1919
- * @static
1920
- * @memberOf _
1921
- * @since 4.0.0
1922
- * @category Lang
1923
- * @param {*} value The value to compare.
1924
- * @param {*} other The other value to compare.
1925
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1926
- * @example
1927
- *
1928
- * var object = { 'a': 1 };
1929
- * var other = { 'a': 1 };
1930
- *
1931
- * _.eq(object, object);
1932
- * // => true
1933
- *
1934
- * _.eq(object, other);
1935
- * // => false
1936
- *
1937
- * _.eq('a', 'a');
1938
- * // => true
1939
- *
1940
- * _.eq('a', Object('a'));
1941
- * // => false
1942
- *
1943
- * _.eq(NaN, NaN);
1944
- * // => true
1945
- */
1946
- function eq(value, other) {
1947
- return value === other || (value !== value && other !== other);
1948
- }
1949
-
1950
- /**
1951
- * Checks if `value` is likely an `arguments` object.
1952
- *
1953
- * @static
1954
- * @memberOf _
1955
- * @since 0.1.0
1956
- * @category Lang
1957
- * @param {*} value The value to check.
1958
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1959
- * else `false`.
1960
- * @example
1961
- *
1962
- * _.isArguments(function() { return arguments; }());
1963
- * // => true
1964
- *
1965
- * _.isArguments([1, 2, 3]);
1966
- * // => false
1967
- */
1968
- function isArguments(value) {
1969
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
1970
- return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
1971
- (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
1972
- }
1973
-
1974
- /**
1975
- * Checks if `value` is classified as an `Array` object.
1976
- *
1977
- * @static
1978
- * @memberOf _
1979
- * @since 0.1.0
1980
- * @category Lang
1981
- * @param {*} value The value to check.
1982
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1983
- * @example
1984
- *
1985
- * _.isArray([1, 2, 3]);
1986
- * // => true
1987
- *
1988
- * _.isArray(document.body.children);
1989
- * // => false
1990
- *
1991
- * _.isArray('abc');
1992
- * // => false
1993
- *
1994
- * _.isArray(_.noop);
1995
- * // => false
1996
- */
1997
- var isArray = Array.isArray;
1998
-
1999
- /**
2000
- * Checks if `value` is array-like. A value is considered array-like if it's
2001
- * not a function and has a `value.length` that's an integer greater than or
2002
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
2003
- *
2004
- * @static
2005
- * @memberOf _
2006
- * @since 4.0.0
2007
- * @category Lang
2008
- * @param {*} value The value to check.
2009
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
2010
- * @example
2011
- *
2012
- * _.isArrayLike([1, 2, 3]);
2013
- * // => true
2014
- *
2015
- * _.isArrayLike(document.body.children);
2016
- * // => true
2017
- *
2018
- * _.isArrayLike('abc');
2019
- * // => true
2020
- *
2021
- * _.isArrayLike(_.noop);
2022
- * // => false
2023
- */
2024
- function isArrayLike(value) {
2025
- return value != null && isLength(value.length) && !isFunction(value);
2026
- }
2027
-
2028
- /**
2029
- * This method is like `_.isArrayLike` except that it also checks if `value`
2030
- * is an object.
2031
- *
2032
- * @static
2033
- * @memberOf _
2034
- * @since 4.0.0
2035
- * @category Lang
2036
- * @param {*} value The value to check.
2037
- * @returns {boolean} Returns `true` if `value` is an array-like object,
2038
- * else `false`.
2039
- * @example
2040
- *
2041
- * _.isArrayLikeObject([1, 2, 3]);
2042
- * // => true
2043
- *
2044
- * _.isArrayLikeObject(document.body.children);
2045
- * // => true
2046
- *
2047
- * _.isArrayLikeObject('abc');
2048
- * // => false
2049
- *
2050
- * _.isArrayLikeObject(_.noop);
2051
- * // => false
2052
- */
2053
- function isArrayLikeObject(value) {
2054
- return isObjectLike(value) && isArrayLike(value);
2055
- }
2056
-
2057
- /**
2058
- * Checks if `value` is classified as a `Function` object.
2059
- *
2060
- * @static
2061
- * @memberOf _
2062
- * @since 0.1.0
2063
- * @category Lang
2064
- * @param {*} value The value to check.
2065
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
2066
- * @example
2067
- *
2068
- * _.isFunction(_);
2069
- * // => true
2070
- *
2071
- * _.isFunction(/abc/);
2072
- * // => false
2073
- */
2074
- function isFunction(value) {
2075
- // The use of `Object#toString` avoids issues with the `typeof` operator
2076
- // in Safari 8-9 which returns 'object' for typed array and other constructors.
2077
- var tag = isObject(value) ? objectToString.call(value) : '';
2078
- return tag == funcTag || tag == genTag;
2079
- }
2080
-
2081
- /**
2082
- * Checks if `value` is a valid array-like length.
2083
- *
2084
- * **Note:** This method is loosely based on
2085
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
2086
- *
2087
- * @static
2088
- * @memberOf _
2089
- * @since 4.0.0
2090
- * @category Lang
2091
- * @param {*} value The value to check.
2092
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
2093
- * @example
2094
- *
2095
- * _.isLength(3);
2096
- * // => true
2097
- *
2098
- * _.isLength(Number.MIN_VALUE);
2099
- * // => false
2100
- *
2101
- * _.isLength(Infinity);
2102
- * // => false
2103
- *
2104
- * _.isLength('3');
2105
- * // => false
2106
- */
2107
- function isLength(value) {
2108
- return typeof value == 'number' &&
2109
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2110
- }
2111
-
2112
- /**
2113
- * Checks if `value` is the
2114
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
2115
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
2116
- *
2117
- * @static
2118
- * @memberOf _
2119
- * @since 0.1.0
2120
- * @category Lang
2121
- * @param {*} value The value to check.
2122
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
2123
- * @example
2124
- *
2125
- * _.isObject({});
2126
- * // => true
2127
- *
2128
- * _.isObject([1, 2, 3]);
2129
- * // => true
2130
- *
2131
- * _.isObject(_.noop);
2132
- * // => true
2133
- *
2134
- * _.isObject(null);
2135
- * // => false
2136
- */
2137
- function isObject(value) {
2138
- var type = typeof value;
2139
- return !!value && (type == 'object' || type == 'function');
2140
- }
2141
-
2142
- /**
2143
- * Checks if `value` is object-like. A value is object-like if it's not `null`
2144
- * and has a `typeof` result of "object".
2145
- *
2146
- * @static
2147
- * @memberOf _
2148
- * @since 4.0.0
2149
- * @category Lang
2150
- * @param {*} value The value to check.
2151
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
2152
- * @example
2153
- *
2154
- * _.isObjectLike({});
2155
- * // => true
2156
- *
2157
- * _.isObjectLike([1, 2, 3]);
2158
- * // => true
2159
- *
2160
- * _.isObjectLike(_.noop);
2161
- * // => false
2162
- *
2163
- * _.isObjectLike(null);
2164
- * // => false
2165
- */
2166
- function isObjectLike(value) {
2167
- return !!value && typeof value == 'object';
2168
- }
2169
-
2170
- /**
2171
- * Checks if `value` is classified as a `Symbol` primitive or object.
2172
- *
2173
- * @static
2174
- * @memberOf _
2175
- * @since 4.0.0
2176
- * @category Lang
2177
- * @param {*} value The value to check.
2178
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
2179
- * @example
2180
- *
2181
- * _.isSymbol(Symbol.iterator);
2182
- * // => true
2183
- *
2184
- * _.isSymbol('abc');
2185
- * // => false
2186
- */
2187
- function isSymbol(value) {
2188
- return typeof value == 'symbol' ||
2189
- (isObjectLike(value) && objectToString.call(value) == symbolTag);
2190
- }
2191
-
2192
- /**
2193
- * Checks if `value` is classified as a typed array.
2194
- *
2195
- * @static
2196
- * @memberOf _
2197
- * @since 3.0.0
2198
- * @category Lang
2199
- * @param {*} value The value to check.
2200
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
2201
- * @example
2202
- *
2203
- * _.isTypedArray(new Uint8Array);
2204
- * // => true
2205
- *
2206
- * _.isTypedArray([]);
2207
- * // => false
2208
- */
2209
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
2210
-
2211
- /**
2212
- * Converts `value` to a string. An empty string is returned for `null`
2213
- * and `undefined` values. The sign of `-0` is preserved.
2214
- *
2215
- * @static
2216
- * @memberOf _
2217
- * @since 4.0.0
2218
- * @category Lang
2219
- * @param {*} value The value to process.
2220
- * @returns {string} Returns the string.
2221
- * @example
2222
- *
2223
- * _.toString(null);
2224
- * // => ''
2225
- *
2226
- * _.toString(-0);
2227
- * // => '-0'
2228
- *
2229
- * _.toString([1, 2, 3]);
2230
- * // => '1,2,3'
2231
- */
2232
- function toString(value) {
2233
- return value == null ? '' : baseToString(value);
2234
- }
2235
-
2236
- /**
2237
- * Gets the value at `path` of `object`. If the resolved value is
2238
- * `undefined`, the `defaultValue` is returned in its place.
2239
- *
2240
- * @static
2241
- * @memberOf _
2242
- * @since 3.7.0
2243
- * @category Object
2244
- * @param {Object} object The object to query.
2245
- * @param {Array|string} path The path of the property to get.
2246
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
2247
- * @returns {*} Returns the resolved value.
2248
- * @example
2249
- *
2250
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
2251
- *
2252
- * _.get(object, 'a[0].b.c');
2253
- * // => 3
2254
- *
2255
- * _.get(object, ['a', '0', 'b', 'c']);
2256
- * // => 3
2257
- *
2258
- * _.get(object, 'a.b.c', 'default');
2259
- * // => 'default'
2260
- */
2261
- function get(object, path, defaultValue) {
2262
- var result = object == null ? undefined : baseGet(object, path);
2263
- return result === undefined ? defaultValue : result;
2264
- }
2265
-
2266
- /**
2267
- * Checks if `path` is a direct or inherited property of `object`.
2268
- *
2269
- * @static
2270
- * @memberOf _
2271
- * @since 4.0.0
2272
- * @category Object
2273
- * @param {Object} object The object to query.
2274
- * @param {Array|string} path The path to check.
2275
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
2276
- * @example
2277
- *
2278
- * var object = _.create({ 'a': _.create({ 'b': 2 }) });
2279
- *
2280
- * _.hasIn(object, 'a');
2281
- * // => true
2282
- *
2283
- * _.hasIn(object, 'a.b');
2284
- * // => true
2285
- *
2286
- * _.hasIn(object, ['a', 'b']);
2287
- * // => true
2288
- *
2289
- * _.hasIn(object, 'b');
2290
- * // => false
2291
- */
2292
- function hasIn(object, path) {
2293
- return object != null && hasPath(object, path, baseHasIn);
2294
- }
2295
-
2296
- /**
2297
- * Creates an array of the own enumerable property names of `object`.
2298
- *
2299
- * **Note:** Non-object values are coerced to objects. See the
2300
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
2301
- * for more details.
2302
- *
2303
- * @static
2304
- * @since 0.1.0
2305
- * @memberOf _
2306
- * @category Object
2307
- * @param {Object} object The object to query.
2308
- * @returns {Array} Returns the array of property names.
2309
- * @example
2310
- *
2311
- * function Foo() {
2312
- * this.a = 1;
2313
- * this.b = 2;
2314
- * }
2315
- *
2316
- * Foo.prototype.c = 3;
2317
- *
2318
- * _.keys(new Foo);
2319
- * // => ['a', 'b'] (iteration order is not guaranteed)
2320
- *
2321
- * _.keys('hi');
2322
- * // => ['0', '1']
2323
- */
2324
- function keys(object) {
2325
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
2326
- }
2327
-
2328
- /**
2329
- * This method returns the first argument it receives.
2330
- *
2331
- * @static
2332
- * @since 0.1.0
2333
- * @memberOf _
2334
- * @category Util
2335
- * @param {*} value Any value.
2336
- * @returns {*} Returns `value`.
2337
- * @example
2338
- *
2339
- * var object = { 'a': 1 };
2340
- *
2341
- * console.log(_.identity(object) === object);
2342
- * // => true
2343
- */
2344
- function identity(value) {
2345
- return value;
2346
- }
2347
-
2348
- /**
2349
- * Creates a function that returns the value at `path` of a given object.
2350
- *
2351
- * @static
2352
- * @memberOf _
2353
- * @since 2.4.0
2354
- * @category Util
2355
- * @param {Array|string} path The path of the property to get.
2356
- * @returns {Function} Returns the new accessor function.
2357
- * @example
2358
- *
2359
- * var objects = [
2360
- * { 'a': { 'b': 2 } },
2361
- * { 'a': { 'b': 1 } }
2362
- * ];
2363
- *
2364
- * _.map(objects, _.property('a.b'));
2365
- * // => [2, 1]
2366
- *
2367
- * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
2368
- * // => [1, 2]
2369
- */
2370
- function property(path) {
2371
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
2372
- }
2373
-
2374
- module.exports = groupBy;
2375
- } (lodash_groupby, lodash_groupby.exports));
2376
-
2377
- var lodash_groupbyExports = lodash_groupby.exports;
2378
-
2379
- export { lodash_groupbyExports as l };