@clary-so/measure 0.4.5 → 0.4.7

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 (1534) hide show
  1. package/dist/bin-bundled.js +12 -59445
  2. package/dist/react-bundled.js +305 -0
  3. package/esbuild-bin.mjs +32 -14
  4. package/node_modules/@types/yoga-layout/LICENSE +21 -0
  5. package/node_modules/@types/yoga-layout/README.md +16 -0
  6. package/node_modules/@types/yoga-layout/index.d.ts +413 -0
  7. package/node_modules/@types/yoga-layout/package.json +24 -0
  8. package/node_modules/ansi-escapes/index.d.ts +248 -0
  9. package/node_modules/ansi-escapes/index.js +157 -0
  10. package/node_modules/ansi-escapes/license +9 -0
  11. package/node_modules/ansi-escapes/node_modules/type-fest/base.d.ts +39 -0
  12. package/node_modules/ansi-escapes/node_modules/type-fest/index.d.ts +2 -0
  13. package/node_modules/ansi-escapes/node_modules/type-fest/license +9 -0
  14. package/node_modules/ansi-escapes/node_modules/type-fest/package.json +58 -0
  15. package/node_modules/ansi-escapes/node_modules/type-fest/readme.md +760 -0
  16. package/node_modules/ansi-escapes/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  17. package/node_modules/ansi-escapes/node_modules/type-fest/source/asyncify.d.ts +31 -0
  18. package/node_modules/ansi-escapes/node_modules/type-fest/source/basic.d.ts +51 -0
  19. package/node_modules/ansi-escapes/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  20. package/node_modules/ansi-escapes/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  21. package/node_modules/ansi-escapes/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  22. package/node_modules/ansi-escapes/node_modules/type-fest/source/entries.d.ts +57 -0
  23. package/node_modules/ansi-escapes/node_modules/type-fest/source/entry.d.ts +60 -0
  24. package/node_modules/ansi-escapes/node_modules/type-fest/source/except.d.ts +22 -0
  25. package/node_modules/ansi-escapes/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
  26. package/node_modules/ansi-escapes/node_modules/type-fest/source/iterable-element.d.ts +46 -0
  27. package/node_modules/ansi-escapes/node_modules/type-fest/source/literal-union.d.ts +33 -0
  28. package/node_modules/ansi-escapes/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  29. package/node_modules/ansi-escapes/node_modules/type-fest/source/merge.d.ts +25 -0
  30. package/node_modules/ansi-escapes/node_modules/type-fest/source/mutable.d.ts +38 -0
  31. package/node_modules/ansi-escapes/node_modules/type-fest/source/opaque.d.ts +65 -0
  32. package/node_modules/ansi-escapes/node_modules/type-fest/source/package-json.d.ts +611 -0
  33. package/node_modules/ansi-escapes/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  34. package/node_modules/ansi-escapes/node_modules/type-fest/source/promisable.d.ts +23 -0
  35. package/node_modules/ansi-escapes/node_modules/type-fest/source/promise-value.d.ts +27 -0
  36. package/node_modules/ansi-escapes/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  37. package/node_modules/ansi-escapes/node_modules/type-fest/source/require-at-least-one.d.ts +33 -0
  38. package/node_modules/ansi-escapes/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  39. package/node_modules/ansi-escapes/node_modules/type-fest/source/set-optional.d.ts +33 -0
  40. package/node_modules/ansi-escapes/node_modules/type-fest/source/set-required.d.ts +33 -0
  41. package/node_modules/ansi-escapes/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  42. package/node_modules/ansi-escapes/node_modules/type-fest/source/simplify.d.ts +4 -0
  43. package/node_modules/ansi-escapes/node_modules/type-fest/source/stringified.d.ts +21 -0
  44. package/node_modules/ansi-escapes/node_modules/type-fest/source/tsconfig-json.d.ts +870 -0
  45. package/node_modules/ansi-escapes/node_modules/type-fest/source/typed-array.d.ts +15 -0
  46. package/node_modules/ansi-escapes/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  47. package/node_modules/ansi-escapes/node_modules/type-fest/source/utilities.d.ts +5 -0
  48. package/node_modules/ansi-escapes/node_modules/type-fest/source/value-of.d.ts +40 -0
  49. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/camel-case.d.ts +64 -0
  50. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/delimiter-case.d.ts +85 -0
  51. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/get.d.ts +131 -0
  52. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/index.d.ts +10 -0
  53. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/kebab-case.d.ts +36 -0
  54. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/pascal-case.d.ts +36 -0
  55. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/snake-case.d.ts +35 -0
  56. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/utilities.d.ts +8 -0
  57. package/node_modules/ansi-escapes/package.json +57 -0
  58. package/node_modules/ansi-escapes/readme.md +245 -0
  59. package/node_modules/ansi-regex/index.d.ts +37 -0
  60. package/node_modules/ansi-regex/index.js +10 -0
  61. package/node_modules/ansi-regex/license +9 -0
  62. package/node_modules/ansi-regex/package.json +55 -0
  63. package/node_modules/ansi-regex/readme.md +78 -0
  64. package/node_modules/ansi-styles/index.d.ts +345 -0
  65. package/node_modules/ansi-styles/index.js +163 -0
  66. package/node_modules/ansi-styles/license +9 -0
  67. package/node_modules/ansi-styles/package.json +56 -0
  68. package/node_modules/ansi-styles/readme.md +152 -0
  69. package/node_modules/astral-regex/index.d.ts +28 -0
  70. package/node_modules/astral-regex/index.js +6 -0
  71. package/node_modules/astral-regex/license +9 -0
  72. package/node_modules/astral-regex/package.json +33 -0
  73. package/node_modules/astral-regex/readme.md +46 -0
  74. package/node_modules/auto-bind/index.d.ts +54 -0
  75. package/node_modules/auto-bind/index.js +43 -0
  76. package/node_modules/auto-bind/license +9 -0
  77. package/node_modules/auto-bind/package.json +46 -0
  78. package/node_modules/auto-bind/react.d.ts +28 -0
  79. package/node_modules/auto-bind/react.js +29 -0
  80. package/node_modules/auto-bind/readme.md +92 -0
  81. package/node_modules/chalk/index.d.ts +415 -0
  82. package/node_modules/chalk/license +9 -0
  83. package/node_modules/chalk/package.json +68 -0
  84. package/node_modules/chalk/readme.md +341 -0
  85. package/node_modules/chalk/source/index.js +229 -0
  86. package/node_modules/chalk/source/templates.js +134 -0
  87. package/node_modules/chalk/source/util.js +39 -0
  88. package/node_modules/ci-info/CHANGELOG.md +78 -0
  89. package/node_modules/ci-info/LICENSE +21 -0
  90. package/node_modules/ci-info/README.md +108 -0
  91. package/node_modules/ci-info/index.js +66 -0
  92. package/node_modules/ci-info/package.json +36 -0
  93. package/node_modules/ci-info/vendors.json +153 -0
  94. package/node_modules/cli-boxes/boxes.json +58 -0
  95. package/node_modules/cli-boxes/index.d.ts +113 -0
  96. package/node_modules/cli-boxes/index.js +6 -0
  97. package/node_modules/cli-boxes/license +9 -0
  98. package/node_modules/cli-boxes/package.json +42 -0
  99. package/node_modules/cli-boxes/readme.md +105 -0
  100. package/node_modules/cli-cursor/index.d.ts +45 -0
  101. package/node_modules/cli-cursor/index.js +35 -0
  102. package/node_modules/cli-cursor/license +9 -0
  103. package/node_modules/cli-cursor/package.json +46 -0
  104. package/node_modules/cli-cursor/readme.md +55 -0
  105. package/node_modules/cli-truncate/index.d.ts +96 -0
  106. package/node_modules/cli-truncate/index.js +106 -0
  107. package/node_modules/cli-truncate/license +9 -0
  108. package/node_modules/cli-truncate/package.json +46 -0
  109. package/node_modules/cli-truncate/readme.md +139 -0
  110. package/node_modules/code-excerpt/index.d.ts +44 -0
  111. package/node_modules/code-excerpt/index.js +40 -0
  112. package/node_modules/code-excerpt/license +21 -0
  113. package/node_modules/code-excerpt/package.json +30 -0
  114. package/node_modules/code-excerpt/readme.md +65 -0
  115. package/node_modules/color-convert/LICENSE +21 -0
  116. package/node_modules/color-convert/README.md +68 -0
  117. package/node_modules/color-convert/conversions.js +839 -0
  118. package/node_modules/color-convert/index.js +81 -0
  119. package/node_modules/color-convert/package.json +48 -0
  120. package/node_modules/color-convert/route.js +97 -0
  121. package/node_modules/color-name/LICENSE +8 -0
  122. package/node_modules/color-name/README.md +11 -0
  123. package/node_modules/color-name/index.js +152 -0
  124. package/node_modules/color-name/package.json +28 -0
  125. package/node_modules/convert-to-spaces/index.js +5 -0
  126. package/node_modules/convert-to-spaces/license +21 -0
  127. package/node_modules/convert-to-spaces/package.json +25 -0
  128. package/node_modules/convert-to-spaces/readme.md +48 -0
  129. package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  130. package/node_modules/emoji-regex/README.md +73 -0
  131. package/node_modules/emoji-regex/es2015/index.js +6 -0
  132. package/node_modules/emoji-regex/es2015/text.js +6 -0
  133. package/node_modules/emoji-regex/index.d.ts +23 -0
  134. package/node_modules/emoji-regex/index.js +6 -0
  135. package/node_modules/emoji-regex/package.json +50 -0
  136. package/node_modules/emoji-regex/text.js +6 -0
  137. package/node_modules/escape-string-regexp/index.d.ts +18 -0
  138. package/node_modules/escape-string-regexp/index.js +11 -0
  139. package/node_modules/escape-string-regexp/license +9 -0
  140. package/node_modules/escape-string-regexp/package.json +43 -0
  141. package/node_modules/escape-string-regexp/readme.md +29 -0
  142. package/node_modules/has-flag/index.d.ts +39 -0
  143. package/node_modules/has-flag/index.js +8 -0
  144. package/node_modules/has-flag/license +9 -0
  145. package/node_modules/has-flag/package.json +46 -0
  146. package/node_modules/has-flag/readme.md +89 -0
  147. package/node_modules/indent-string/index.d.ts +42 -0
  148. package/node_modules/indent-string/index.js +35 -0
  149. package/node_modules/indent-string/license +9 -0
  150. package/node_modules/indent-string/package.json +37 -0
  151. package/node_modules/indent-string/readme.md +70 -0
  152. package/node_modules/ink/build/colorize.d.ts +3 -0
  153. package/node_modules/ink/build/colorize.js +53 -0
  154. package/node_modules/ink/build/colorize.js.map +1 -0
  155. package/node_modules/ink/build/components/App.d.ts +57 -0
  156. package/node_modules/ink/build/components/App.js +282 -0
  157. package/node_modules/ink/build/components/App.js.map +1 -0
  158. package/node_modules/ink/build/components/AppContext.d.ts +12 -0
  159. package/node_modules/ink/build/components/AppContext.js +12 -0
  160. package/node_modules/ink/build/components/AppContext.js.map +1 -0
  161. package/node_modules/ink/build/components/Box.d.ts +86 -0
  162. package/node_modules/ink/build/components/Box.js +50 -0
  163. package/node_modules/ink/build/components/Box.js.map +1 -0
  164. package/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
  165. package/node_modules/ink/build/components/ErrorOverview.js +97 -0
  166. package/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
  167. package/node_modules/ink/build/components/FocusContext.d.ts +17 -0
  168. package/node_modules/ink/build/components/FocusContext.js +18 -0
  169. package/node_modules/ink/build/components/FocusContext.js.map +1 -0
  170. package/node_modules/ink/build/components/Newline.d.ts +14 -0
  171. package/node_modules/ink/build/components/Newline.js +13 -0
  172. package/node_modules/ink/build/components/Newline.js.map +1 -0
  173. package/node_modules/ink/build/components/Spacer.d.ts +7 -0
  174. package/node_modules/ink/build/components/Spacer.js +15 -0
  175. package/node_modules/ink/build/components/Spacer.js.map +1 -0
  176. package/node_modules/ink/build/components/Static.d.ts +35 -0
  177. package/node_modules/ink/build/components/Static.js +54 -0
  178. package/node_modules/ink/build/components/Static.js.map +1 -0
  179. package/node_modules/ink/build/components/StderrContext.d.ts +19 -0
  180. package/node_modules/ink/build/components/StderrContext.js +13 -0
  181. package/node_modules/ink/build/components/StderrContext.js.map +1 -0
  182. package/node_modules/ink/build/components/StdinContext.d.ts +23 -0
  183. package/node_modules/ink/build/components/StdinContext.js +15 -0
  184. package/node_modules/ink/build/components/StdinContext.js.map +1 -0
  185. package/node_modules/ink/build/components/StdoutContext.d.ts +19 -0
  186. package/node_modules/ink/build/components/StdoutContext.js +13 -0
  187. package/node_modules/ink/build/components/StdoutContext.js.map +1 -0
  188. package/node_modules/ink/build/components/Text.d.ts +50 -0
  189. package/node_modules/ink/build/components/Text.js +55 -0
  190. package/node_modules/ink/build/components/Text.js.map +1 -0
  191. package/node_modules/ink/build/components/Transform.d.ts +16 -0
  192. package/node_modules/ink/build/components/Transform.js +21 -0
  193. package/node_modules/ink/build/components/Transform.js.map +1 -0
  194. package/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
  195. package/node_modules/ink/build/devtools-window-polyfill.js +72 -0
  196. package/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
  197. package/node_modules/ink/build/devtools.d.ts +1 -0
  198. package/node_modules/ink/build/devtools.js +8 -0
  199. package/node_modules/ink/build/devtools.js.map +1 -0
  200. package/node_modules/ink/build/dom.d.ts +45 -0
  201. package/node_modules/ink/build/dom.js +134 -0
  202. package/node_modules/ink/build/dom.js.map +1 -0
  203. package/node_modules/ink/build/get-max-width.d.ts +3 -0
  204. package/node_modules/ink/build/get-max-width.js +14 -0
  205. package/node_modules/ink/build/get-max-width.js.map +1 -0
  206. package/node_modules/ink/build/hooks/use-app.d.ts +5 -0
  207. package/node_modules/ink/build/hooks/use-app.js +13 -0
  208. package/node_modules/ink/build/hooks/use-app.js.map +1 -0
  209. package/node_modules/ink/build/hooks/use-focus-manager.d.ts +34 -0
  210. package/node_modules/ink/build/hooks/use-focus-manager.js +23 -0
  211. package/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
  212. package/node_modules/ink/build/hooks/use-focus.d.ts +34 -0
  213. package/node_modules/ink/build/hooks/use-focus.js +52 -0
  214. package/node_modules/ink/build/hooks/use-focus.js.map +1 -0
  215. package/node_modules/ink/build/hooks/use-input.d.ts +97 -0
  216. package/node_modules/ink/build/hooks/use-input.js +98 -0
  217. package/node_modules/ink/build/hooks/use-input.js.map +1 -0
  218. package/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
  219. package/node_modules/ink/build/hooks/use-stderr.js +13 -0
  220. package/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
  221. package/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
  222. package/node_modules/ink/build/hooks/use-stdin.js +13 -0
  223. package/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
  224. package/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
  225. package/node_modules/ink/build/hooks/use-stdout.js +13 -0
  226. package/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
  227. package/node_modules/ink/build/index.d.ts +20 -0
  228. package/node_modules/ink/build/index.js +33 -0
  229. package/node_modules/ink/build/index.js.map +1 -0
  230. package/node_modules/ink/build/ink.d.ts +36 -0
  231. package/node_modules/ink/build/ink.js +235 -0
  232. package/node_modules/ink/build/ink.js.map +1 -0
  233. package/node_modules/ink/build/instances.d.ts +2 -0
  234. package/node_modules/ink/build/instances.js +9 -0
  235. package/node_modules/ink/build/instances.js.map +1 -0
  236. package/node_modules/ink/build/log-update.d.ts +13 -0
  237. package/node_modules/ink/build/log-update.js +41 -0
  238. package/node_modules/ink/build/log-update.js.map +1 -0
  239. package/node_modules/ink/build/measure-element.d.ts +16 -0
  240. package/node_modules/ink/build/measure-element.js +13 -0
  241. package/node_modules/ink/build/measure-element.js.map +1 -0
  242. package/node_modules/ink/build/measure-text.d.ts +6 -0
  243. package/node_modules/ink/build/measure-text.js +23 -0
  244. package/node_modules/ink/build/measure-text.js.map +1 -0
  245. package/node_modules/ink/build/output.d.ts +27 -0
  246. package/node_modules/ink/build/output.js +58 -0
  247. package/node_modules/ink/build/output.js.map +1 -0
  248. package/node_modules/ink/build/reconciler.d.ts +4 -0
  249. package/node_modules/ink/build/reconciler.js +196 -0
  250. package/node_modules/ink/build/reconciler.js.map +1 -0
  251. package/node_modules/ink/build/render-border.d.ts +4 -0
  252. package/node_modules/ink/build/render-border.js +23 -0
  253. package/node_modules/ink/build/render-border.js.map +1 -0
  254. package/node_modules/ink/build/render-node-to-output.d.ts +10 -0
  255. package/node_modules/ink/build/render-node-to-output.js +80 -0
  256. package/node_modules/ink/build/render-node-to-output.js.map +1 -0
  257. package/node_modules/ink/build/render.d.ts +65 -0
  258. package/node_modules/ink/build/render.js +45 -0
  259. package/node_modules/ink/build/render.js.map +1 -0
  260. package/node_modules/ink/build/renderer.d.ts +8 -0
  261. package/node_modules/ink/build/renderer.js +44 -0
  262. package/node_modules/ink/build/renderer.js.map +1 -0
  263. package/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
  264. package/node_modules/ink/build/squash-text-nodes.js +35 -0
  265. package/node_modules/ink/build/squash-text-nodes.js.map +1 -0
  266. package/node_modules/ink/build/styles.d.ts +109 -0
  267. package/node_modules/ink/build/styles.js +187 -0
  268. package/node_modules/ink/build/styles.js.map +1 -0
  269. package/node_modules/ink/build/wrap-text.d.ts +3 -0
  270. package/node_modules/ink/build/wrap-text.js +34 -0
  271. package/node_modules/ink/build/wrap-text.js.map +1 -0
  272. package/node_modules/ink/license +9 -0
  273. package/node_modules/ink/node_modules/react-reconciler/LICENSE +21 -0
  274. package/node_modules/ink/node_modules/react-reconciler/README.md +64 -0
  275. package/node_modules/ink/node_modules/react-reconciler/build-info.json +8 -0
  276. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +603 -0
  277. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.min.js +15 -0
  278. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js +18644 -0
  279. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +216 -0
  280. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.profiling.min.js +224 -0
  281. package/node_modules/ink/node_modules/react-reconciler/index.js +7 -0
  282. package/node_modules/ink/node_modules/react-reconciler/package.json +41 -0
  283. package/node_modules/ink/node_modules/react-reconciler/reflection.js +7 -0
  284. package/node_modules/ink/package.json +172 -0
  285. package/node_modules/ink/readme.md +1810 -0
  286. package/node_modules/is-ci/CHANGELOG.md +14 -0
  287. package/node_modules/is-ci/LICENSE +21 -0
  288. package/node_modules/is-ci/README.md +50 -0
  289. package/node_modules/is-ci/bin.js +4 -0
  290. package/node_modules/is-ci/index.js +3 -0
  291. package/node_modules/is-ci/package.json +38 -0
  292. package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  293. package/node_modules/is-fullwidth-code-point/index.js +50 -0
  294. package/node_modules/is-fullwidth-code-point/license +9 -0
  295. package/node_modules/is-fullwidth-code-point/package.json +42 -0
  296. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  297. package/node_modules/js-tokens/LICENSE +21 -0
  298. package/node_modules/js-tokens/README.md +240 -0
  299. package/node_modules/js-tokens/index.js +23 -0
  300. package/node_modules/js-tokens/package.json +30 -0
  301. package/node_modules/lodash/LICENSE +47 -0
  302. package/node_modules/lodash/README.md +39 -0
  303. package/node_modules/lodash/_DataView.js +7 -0
  304. package/node_modules/lodash/_Hash.js +32 -0
  305. package/node_modules/lodash/_LazyWrapper.js +28 -0
  306. package/node_modules/lodash/_ListCache.js +32 -0
  307. package/node_modules/lodash/_LodashWrapper.js +22 -0
  308. package/node_modules/lodash/_Map.js +7 -0
  309. package/node_modules/lodash/_MapCache.js +32 -0
  310. package/node_modules/lodash/_Promise.js +7 -0
  311. package/node_modules/lodash/_Set.js +7 -0
  312. package/node_modules/lodash/_SetCache.js +27 -0
  313. package/node_modules/lodash/_Stack.js +27 -0
  314. package/node_modules/lodash/_Symbol.js +6 -0
  315. package/node_modules/lodash/_Uint8Array.js +6 -0
  316. package/node_modules/lodash/_WeakMap.js +7 -0
  317. package/node_modules/lodash/_apply.js +21 -0
  318. package/node_modules/lodash/_arrayAggregator.js +22 -0
  319. package/node_modules/lodash/_arrayEach.js +22 -0
  320. package/node_modules/lodash/_arrayEachRight.js +21 -0
  321. package/node_modules/lodash/_arrayEvery.js +23 -0
  322. package/node_modules/lodash/_arrayFilter.js +25 -0
  323. package/node_modules/lodash/_arrayIncludes.js +17 -0
  324. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  325. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  326. package/node_modules/lodash/_arrayMap.js +21 -0
  327. package/node_modules/lodash/_arrayPush.js +20 -0
  328. package/node_modules/lodash/_arrayReduce.js +26 -0
  329. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  330. package/node_modules/lodash/_arraySample.js +15 -0
  331. package/node_modules/lodash/_arraySampleSize.js +17 -0
  332. package/node_modules/lodash/_arrayShuffle.js +15 -0
  333. package/node_modules/lodash/_arraySome.js +23 -0
  334. package/node_modules/lodash/_asciiSize.js +12 -0
  335. package/node_modules/lodash/_asciiToArray.js +12 -0
  336. package/node_modules/lodash/_asciiWords.js +15 -0
  337. package/node_modules/lodash/_assignMergeValue.js +20 -0
  338. package/node_modules/lodash/_assignValue.js +28 -0
  339. package/node_modules/lodash/_assocIndexOf.js +21 -0
  340. package/node_modules/lodash/_baseAggregator.js +21 -0
  341. package/node_modules/lodash/_baseAssign.js +17 -0
  342. package/node_modules/lodash/_baseAssignIn.js +17 -0
  343. package/node_modules/lodash/_baseAssignValue.js +25 -0
  344. package/node_modules/lodash/_baseAt.js +23 -0
  345. package/node_modules/lodash/_baseClamp.js +22 -0
  346. package/node_modules/lodash/_baseClone.js +166 -0
  347. package/node_modules/lodash/_baseConforms.js +18 -0
  348. package/node_modules/lodash/_baseConformsTo.js +27 -0
  349. package/node_modules/lodash/_baseCreate.js +30 -0
  350. package/node_modules/lodash/_baseDelay.js +21 -0
  351. package/node_modules/lodash/_baseDifference.js +67 -0
  352. package/node_modules/lodash/_baseEach.js +14 -0
  353. package/node_modules/lodash/_baseEachRight.js +14 -0
  354. package/node_modules/lodash/_baseEvery.js +21 -0
  355. package/node_modules/lodash/_baseExtremum.js +32 -0
  356. package/node_modules/lodash/_baseFill.js +32 -0
  357. package/node_modules/lodash/_baseFilter.js +21 -0
  358. package/node_modules/lodash/_baseFindIndex.js +24 -0
  359. package/node_modules/lodash/_baseFindKey.js +23 -0
  360. package/node_modules/lodash/_baseFlatten.js +38 -0
  361. package/node_modules/lodash/_baseFor.js +16 -0
  362. package/node_modules/lodash/_baseForOwn.js +16 -0
  363. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  364. package/node_modules/lodash/_baseForRight.js +15 -0
  365. package/node_modules/lodash/_baseFunctions.js +19 -0
  366. package/node_modules/lodash/_baseGet.js +24 -0
  367. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  368. package/node_modules/lodash/_baseGetTag.js +28 -0
  369. package/node_modules/lodash/_baseGt.js +14 -0
  370. package/node_modules/lodash/_baseHas.js +19 -0
  371. package/node_modules/lodash/_baseHasIn.js +13 -0
  372. package/node_modules/lodash/_baseInRange.js +18 -0
  373. package/node_modules/lodash/_baseIndexOf.js +20 -0
  374. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  375. package/node_modules/lodash/_baseIntersection.js +74 -0
  376. package/node_modules/lodash/_baseInverter.js +21 -0
  377. package/node_modules/lodash/_baseInvoke.js +24 -0
  378. package/node_modules/lodash/_baseIsArguments.js +18 -0
  379. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  380. package/node_modules/lodash/_baseIsDate.js +18 -0
  381. package/node_modules/lodash/_baseIsEqual.js +28 -0
  382. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  383. package/node_modules/lodash/_baseIsMap.js +18 -0
  384. package/node_modules/lodash/_baseIsMatch.js +62 -0
  385. package/node_modules/lodash/_baseIsNaN.js +12 -0
  386. package/node_modules/lodash/_baseIsNative.js +47 -0
  387. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  388. package/node_modules/lodash/_baseIsSet.js +18 -0
  389. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  390. package/node_modules/lodash/_baseIteratee.js +31 -0
  391. package/node_modules/lodash/_baseKeys.js +30 -0
  392. package/node_modules/lodash/_baseKeysIn.js +33 -0
  393. package/node_modules/lodash/_baseLodash.js +10 -0
  394. package/node_modules/lodash/_baseLt.js +14 -0
  395. package/node_modules/lodash/_baseMap.js +22 -0
  396. package/node_modules/lodash/_baseMatches.js +22 -0
  397. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  398. package/node_modules/lodash/_baseMean.js +20 -0
  399. package/node_modules/lodash/_baseMerge.js +42 -0
  400. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  401. package/node_modules/lodash/_baseNth.js +20 -0
  402. package/node_modules/lodash/_baseOrderBy.js +49 -0
  403. package/node_modules/lodash/_basePick.js +19 -0
  404. package/node_modules/lodash/_basePickBy.js +30 -0
  405. package/node_modules/lodash/_baseProperty.js +14 -0
  406. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  407. package/node_modules/lodash/_basePropertyOf.js +14 -0
  408. package/node_modules/lodash/_basePullAll.js +51 -0
  409. package/node_modules/lodash/_basePullAt.js +37 -0
  410. package/node_modules/lodash/_baseRandom.js +18 -0
  411. package/node_modules/lodash/_baseRange.js +28 -0
  412. package/node_modules/lodash/_baseReduce.js +23 -0
  413. package/node_modules/lodash/_baseRepeat.js +35 -0
  414. package/node_modules/lodash/_baseRest.js +17 -0
  415. package/node_modules/lodash/_baseSample.js +15 -0
  416. package/node_modules/lodash/_baseSampleSize.js +18 -0
  417. package/node_modules/lodash/_baseSet.js +51 -0
  418. package/node_modules/lodash/_baseSetData.js +17 -0
  419. package/node_modules/lodash/_baseSetToString.js +22 -0
  420. package/node_modules/lodash/_baseShuffle.js +15 -0
  421. package/node_modules/lodash/_baseSlice.js +31 -0
  422. package/node_modules/lodash/_baseSome.js +22 -0
  423. package/node_modules/lodash/_baseSortBy.js +21 -0
  424. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  425. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  426. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  427. package/node_modules/lodash/_baseSum.js +24 -0
  428. package/node_modules/lodash/_baseTimes.js +20 -0
  429. package/node_modules/lodash/_baseToNumber.js +24 -0
  430. package/node_modules/lodash/_baseToPairs.js +18 -0
  431. package/node_modules/lodash/_baseToString.js +37 -0
  432. package/node_modules/lodash/_baseTrim.js +19 -0
  433. package/node_modules/lodash/_baseUnary.js +14 -0
  434. package/node_modules/lodash/_baseUniq.js +72 -0
  435. package/node_modules/lodash/_baseUnset.js +65 -0
  436. package/node_modules/lodash/_baseUpdate.js +18 -0
  437. package/node_modules/lodash/_baseValues.js +19 -0
  438. package/node_modules/lodash/_baseWhile.js +26 -0
  439. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  440. package/node_modules/lodash/_baseXor.js +36 -0
  441. package/node_modules/lodash/_baseZipObject.js +23 -0
  442. package/node_modules/lodash/_cacheHas.js +13 -0
  443. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  444. package/node_modules/lodash/_castFunction.js +14 -0
  445. package/node_modules/lodash/_castPath.js +21 -0
  446. package/node_modules/lodash/_castRest.js +14 -0
  447. package/node_modules/lodash/_castSlice.js +18 -0
  448. package/node_modules/lodash/_charsEndIndex.js +19 -0
  449. package/node_modules/lodash/_charsStartIndex.js +20 -0
  450. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  451. package/node_modules/lodash/_cloneBuffer.js +35 -0
  452. package/node_modules/lodash/_cloneDataView.js +16 -0
  453. package/node_modules/lodash/_cloneRegExp.js +17 -0
  454. package/node_modules/lodash/_cloneSymbol.js +18 -0
  455. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  456. package/node_modules/lodash/_compareAscending.js +41 -0
  457. package/node_modules/lodash/_compareMultiple.js +44 -0
  458. package/node_modules/lodash/_composeArgs.js +39 -0
  459. package/node_modules/lodash/_composeArgsRight.js +41 -0
  460. package/node_modules/lodash/_copyArray.js +20 -0
  461. package/node_modules/lodash/_copyObject.js +40 -0
  462. package/node_modules/lodash/_copySymbols.js +16 -0
  463. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  464. package/node_modules/lodash/_coreJsData.js +6 -0
  465. package/node_modules/lodash/_countHolders.js +21 -0
  466. package/node_modules/lodash/_createAggregator.js +23 -0
  467. package/node_modules/lodash/_createAssigner.js +37 -0
  468. package/node_modules/lodash/_createBaseEach.js +32 -0
  469. package/node_modules/lodash/_createBaseFor.js +25 -0
  470. package/node_modules/lodash/_createBind.js +28 -0
  471. package/node_modules/lodash/_createCaseFirst.js +33 -0
  472. package/node_modules/lodash/_createCompounder.js +24 -0
  473. package/node_modules/lodash/_createCtor.js +37 -0
  474. package/node_modules/lodash/_createCurry.js +46 -0
  475. package/node_modules/lodash/_createFind.js +25 -0
  476. package/node_modules/lodash/_createFlow.js +78 -0
  477. package/node_modules/lodash/_createHybrid.js +92 -0
  478. package/node_modules/lodash/_createInverter.js +17 -0
  479. package/node_modules/lodash/_createMathOperation.js +38 -0
  480. package/node_modules/lodash/_createOver.js +27 -0
  481. package/node_modules/lodash/_createPadding.js +33 -0
  482. package/node_modules/lodash/_createPartial.js +43 -0
  483. package/node_modules/lodash/_createRange.js +30 -0
  484. package/node_modules/lodash/_createRecurry.js +56 -0
  485. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  486. package/node_modules/lodash/_createRound.js +35 -0
  487. package/node_modules/lodash/_createSet.js +19 -0
  488. package/node_modules/lodash/_createToPairs.js +30 -0
  489. package/node_modules/lodash/_createWrap.js +106 -0
  490. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  491. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  492. package/node_modules/lodash/_customOmitClone.js +16 -0
  493. package/node_modules/lodash/_deburrLetter.js +71 -0
  494. package/node_modules/lodash/_defineProperty.js +11 -0
  495. package/node_modules/lodash/_equalArrays.js +84 -0
  496. package/node_modules/lodash/_equalByTag.js +112 -0
  497. package/node_modules/lodash/_equalObjects.js +90 -0
  498. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  499. package/node_modules/lodash/_escapeStringChar.js +22 -0
  500. package/node_modules/lodash/_flatRest.js +16 -0
  501. package/node_modules/lodash/_freeGlobal.js +4 -0
  502. package/node_modules/lodash/_getAllKeys.js +16 -0
  503. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  504. package/node_modules/lodash/_getData.js +15 -0
  505. package/node_modules/lodash/_getFuncName.js +31 -0
  506. package/node_modules/lodash/_getHolder.js +13 -0
  507. package/node_modules/lodash/_getMapData.js +18 -0
  508. package/node_modules/lodash/_getMatchData.js +24 -0
  509. package/node_modules/lodash/_getNative.js +17 -0
  510. package/node_modules/lodash/_getPrototype.js +6 -0
  511. package/node_modules/lodash/_getRawTag.js +46 -0
  512. package/node_modules/lodash/_getSymbols.js +30 -0
  513. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  514. package/node_modules/lodash/_getTag.js +58 -0
  515. package/node_modules/lodash/_getValue.js +13 -0
  516. package/node_modules/lodash/_getView.js +33 -0
  517. package/node_modules/lodash/_getWrapDetails.js +17 -0
  518. package/node_modules/lodash/_hasPath.js +39 -0
  519. package/node_modules/lodash/_hasUnicode.js +26 -0
  520. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  521. package/node_modules/lodash/_hashClear.js +15 -0
  522. package/node_modules/lodash/_hashDelete.js +17 -0
  523. package/node_modules/lodash/_hashGet.js +30 -0
  524. package/node_modules/lodash/_hashHas.js +23 -0
  525. package/node_modules/lodash/_hashSet.js +23 -0
  526. package/node_modules/lodash/_initCloneArray.js +26 -0
  527. package/node_modules/lodash/_initCloneByTag.js +77 -0
  528. package/node_modules/lodash/_initCloneObject.js +18 -0
  529. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  530. package/node_modules/lodash/_isFlattenable.js +20 -0
  531. package/node_modules/lodash/_isIndex.js +25 -0
  532. package/node_modules/lodash/_isIterateeCall.js +30 -0
  533. package/node_modules/lodash/_isKey.js +29 -0
  534. package/node_modules/lodash/_isKeyable.js +15 -0
  535. package/node_modules/lodash/_isLaziable.js +28 -0
  536. package/node_modules/lodash/_isMaskable.js +14 -0
  537. package/node_modules/lodash/_isMasked.js +20 -0
  538. package/node_modules/lodash/_isPrototype.js +18 -0
  539. package/node_modules/lodash/_isStrictComparable.js +15 -0
  540. package/node_modules/lodash/_iteratorToArray.js +18 -0
  541. package/node_modules/lodash/_lazyClone.js +23 -0
  542. package/node_modules/lodash/_lazyReverse.js +23 -0
  543. package/node_modules/lodash/_lazyValue.js +69 -0
  544. package/node_modules/lodash/_listCacheClear.js +13 -0
  545. package/node_modules/lodash/_listCacheDelete.js +35 -0
  546. package/node_modules/lodash/_listCacheGet.js +19 -0
  547. package/node_modules/lodash/_listCacheHas.js +16 -0
  548. package/node_modules/lodash/_listCacheSet.js +26 -0
  549. package/node_modules/lodash/_mapCacheClear.js +21 -0
  550. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  551. package/node_modules/lodash/_mapCacheGet.js +16 -0
  552. package/node_modules/lodash/_mapCacheHas.js +16 -0
  553. package/node_modules/lodash/_mapCacheSet.js +22 -0
  554. package/node_modules/lodash/_mapToArray.js +18 -0
  555. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  556. package/node_modules/lodash/_memoizeCapped.js +26 -0
  557. package/node_modules/lodash/_mergeData.js +90 -0
  558. package/node_modules/lodash/_metaMap.js +6 -0
  559. package/node_modules/lodash/_nativeCreate.js +6 -0
  560. package/node_modules/lodash/_nativeKeys.js +6 -0
  561. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  562. package/node_modules/lodash/_nodeUtil.js +30 -0
  563. package/node_modules/lodash/_objectToString.js +22 -0
  564. package/node_modules/lodash/_overArg.js +15 -0
  565. package/node_modules/lodash/_overRest.js +36 -0
  566. package/node_modules/lodash/_parent.js +16 -0
  567. package/node_modules/lodash/_reEscape.js +4 -0
  568. package/node_modules/lodash/_reEvaluate.js +4 -0
  569. package/node_modules/lodash/_reInterpolate.js +4 -0
  570. package/node_modules/lodash/_realNames.js +4 -0
  571. package/node_modules/lodash/_reorder.js +29 -0
  572. package/node_modules/lodash/_replaceHolders.js +29 -0
  573. package/node_modules/lodash/_root.js +9 -0
  574. package/node_modules/lodash/_safeGet.js +21 -0
  575. package/node_modules/lodash/_setCacheAdd.js +19 -0
  576. package/node_modules/lodash/_setCacheHas.js +14 -0
  577. package/node_modules/lodash/_setData.js +20 -0
  578. package/node_modules/lodash/_setToArray.js +18 -0
  579. package/node_modules/lodash/_setToPairs.js +18 -0
  580. package/node_modules/lodash/_setToString.js +14 -0
  581. package/node_modules/lodash/_setWrapToString.js +21 -0
  582. package/node_modules/lodash/_shortOut.js +37 -0
  583. package/node_modules/lodash/_shuffleSelf.js +28 -0
  584. package/node_modules/lodash/_stackClear.js +15 -0
  585. package/node_modules/lodash/_stackDelete.js +18 -0
  586. package/node_modules/lodash/_stackGet.js +14 -0
  587. package/node_modules/lodash/_stackHas.js +14 -0
  588. package/node_modules/lodash/_stackSet.js +34 -0
  589. package/node_modules/lodash/_strictIndexOf.js +23 -0
  590. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  591. package/node_modules/lodash/_stringSize.js +18 -0
  592. package/node_modules/lodash/_stringToArray.js +18 -0
  593. package/node_modules/lodash/_stringToPath.js +27 -0
  594. package/node_modules/lodash/_toKey.js +21 -0
  595. package/node_modules/lodash/_toSource.js +26 -0
  596. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  597. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  598. package/node_modules/lodash/_unicodeSize.js +44 -0
  599. package/node_modules/lodash/_unicodeToArray.js +40 -0
  600. package/node_modules/lodash/_unicodeWords.js +69 -0
  601. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  602. package/node_modules/lodash/_wrapperClone.js +23 -0
  603. package/node_modules/lodash/add.js +22 -0
  604. package/node_modules/lodash/after.js +42 -0
  605. package/node_modules/lodash/array.js +67 -0
  606. package/node_modules/lodash/ary.js +29 -0
  607. package/node_modules/lodash/assign.js +58 -0
  608. package/node_modules/lodash/assignIn.js +40 -0
  609. package/node_modules/lodash/assignInWith.js +38 -0
  610. package/node_modules/lodash/assignWith.js +37 -0
  611. package/node_modules/lodash/at.js +23 -0
  612. package/node_modules/lodash/attempt.js +35 -0
  613. package/node_modules/lodash/before.js +40 -0
  614. package/node_modules/lodash/bind.js +57 -0
  615. package/node_modules/lodash/bindAll.js +41 -0
  616. package/node_modules/lodash/bindKey.js +68 -0
  617. package/node_modules/lodash/camelCase.js +29 -0
  618. package/node_modules/lodash/capitalize.js +23 -0
  619. package/node_modules/lodash/castArray.js +44 -0
  620. package/node_modules/lodash/ceil.js +26 -0
  621. package/node_modules/lodash/chain.js +38 -0
  622. package/node_modules/lodash/chunk.js +50 -0
  623. package/node_modules/lodash/clamp.js +39 -0
  624. package/node_modules/lodash/clone.js +36 -0
  625. package/node_modules/lodash/cloneDeep.js +29 -0
  626. package/node_modules/lodash/cloneDeepWith.js +40 -0
  627. package/node_modules/lodash/cloneWith.js +42 -0
  628. package/node_modules/lodash/collection.js +30 -0
  629. package/node_modules/lodash/commit.js +33 -0
  630. package/node_modules/lodash/compact.js +31 -0
  631. package/node_modules/lodash/concat.js +43 -0
  632. package/node_modules/lodash/cond.js +60 -0
  633. package/node_modules/lodash/conforms.js +35 -0
  634. package/node_modules/lodash/conformsTo.js +32 -0
  635. package/node_modules/lodash/constant.js +26 -0
  636. package/node_modules/lodash/core.js +3877 -0
  637. package/node_modules/lodash/core.min.js +29 -0
  638. package/node_modules/lodash/countBy.js +40 -0
  639. package/node_modules/lodash/create.js +43 -0
  640. package/node_modules/lodash/curry.js +57 -0
  641. package/node_modules/lodash/curryRight.js +54 -0
  642. package/node_modules/lodash/date.js +3 -0
  643. package/node_modules/lodash/debounce.js +191 -0
  644. package/node_modules/lodash/deburr.js +45 -0
  645. package/node_modules/lodash/defaultTo.js +25 -0
  646. package/node_modules/lodash/defaults.js +64 -0
  647. package/node_modules/lodash/defaultsDeep.js +30 -0
  648. package/node_modules/lodash/defer.js +26 -0
  649. package/node_modules/lodash/delay.js +28 -0
  650. package/node_modules/lodash/difference.js +33 -0
  651. package/node_modules/lodash/differenceBy.js +44 -0
  652. package/node_modules/lodash/differenceWith.js +40 -0
  653. package/node_modules/lodash/divide.js +22 -0
  654. package/node_modules/lodash/drop.js +38 -0
  655. package/node_modules/lodash/dropRight.js +39 -0
  656. package/node_modules/lodash/dropRightWhile.js +45 -0
  657. package/node_modules/lodash/dropWhile.js +45 -0
  658. package/node_modules/lodash/each.js +1 -0
  659. package/node_modules/lodash/eachRight.js +1 -0
  660. package/node_modules/lodash/endsWith.js +43 -0
  661. package/node_modules/lodash/entries.js +1 -0
  662. package/node_modules/lodash/entriesIn.js +1 -0
  663. package/node_modules/lodash/eq.js +37 -0
  664. package/node_modules/lodash/escape.js +43 -0
  665. package/node_modules/lodash/escapeRegExp.js +32 -0
  666. package/node_modules/lodash/every.js +56 -0
  667. package/node_modules/lodash/extend.js +1 -0
  668. package/node_modules/lodash/extendWith.js +1 -0
  669. package/node_modules/lodash/fill.js +45 -0
  670. package/node_modules/lodash/filter.js +52 -0
  671. package/node_modules/lodash/find.js +42 -0
  672. package/node_modules/lodash/findIndex.js +55 -0
  673. package/node_modules/lodash/findKey.js +44 -0
  674. package/node_modules/lodash/findLast.js +25 -0
  675. package/node_modules/lodash/findLastIndex.js +59 -0
  676. package/node_modules/lodash/findLastKey.js +44 -0
  677. package/node_modules/lodash/first.js +1 -0
  678. package/node_modules/lodash/flatMap.js +29 -0
  679. package/node_modules/lodash/flatMapDeep.js +31 -0
  680. package/node_modules/lodash/flatMapDepth.js +31 -0
  681. package/node_modules/lodash/flatten.js +22 -0
  682. package/node_modules/lodash/flattenDeep.js +25 -0
  683. package/node_modules/lodash/flattenDepth.js +33 -0
  684. package/node_modules/lodash/flip.js +28 -0
  685. package/node_modules/lodash/floor.js +26 -0
  686. package/node_modules/lodash/flow.js +27 -0
  687. package/node_modules/lodash/flowRight.js +26 -0
  688. package/node_modules/lodash/forEach.js +41 -0
  689. package/node_modules/lodash/forEachRight.js +31 -0
  690. package/node_modules/lodash/forIn.js +39 -0
  691. package/node_modules/lodash/forInRight.js +37 -0
  692. package/node_modules/lodash/forOwn.js +36 -0
  693. package/node_modules/lodash/forOwnRight.js +34 -0
  694. package/node_modules/lodash/fp/F.js +1 -0
  695. package/node_modules/lodash/fp/T.js +1 -0
  696. package/node_modules/lodash/fp/__.js +1 -0
  697. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  698. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  699. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  700. package/node_modules/lodash/fp/_mapping.js +358 -0
  701. package/node_modules/lodash/fp/_util.js +16 -0
  702. package/node_modules/lodash/fp/add.js +5 -0
  703. package/node_modules/lodash/fp/after.js +5 -0
  704. package/node_modules/lodash/fp/all.js +1 -0
  705. package/node_modules/lodash/fp/allPass.js +1 -0
  706. package/node_modules/lodash/fp/always.js +1 -0
  707. package/node_modules/lodash/fp/any.js +1 -0
  708. package/node_modules/lodash/fp/anyPass.js +1 -0
  709. package/node_modules/lodash/fp/apply.js +1 -0
  710. package/node_modules/lodash/fp/array.js +2 -0
  711. package/node_modules/lodash/fp/ary.js +5 -0
  712. package/node_modules/lodash/fp/assign.js +5 -0
  713. package/node_modules/lodash/fp/assignAll.js +5 -0
  714. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  715. package/node_modules/lodash/fp/assignIn.js +5 -0
  716. package/node_modules/lodash/fp/assignInAll.js +5 -0
  717. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  718. package/node_modules/lodash/fp/assignInWith.js +5 -0
  719. package/node_modules/lodash/fp/assignWith.js +5 -0
  720. package/node_modules/lodash/fp/assoc.js +1 -0
  721. package/node_modules/lodash/fp/assocPath.js +1 -0
  722. package/node_modules/lodash/fp/at.js +5 -0
  723. package/node_modules/lodash/fp/attempt.js +5 -0
  724. package/node_modules/lodash/fp/before.js +5 -0
  725. package/node_modules/lodash/fp/bind.js +5 -0
  726. package/node_modules/lodash/fp/bindAll.js +5 -0
  727. package/node_modules/lodash/fp/bindKey.js +5 -0
  728. package/node_modules/lodash/fp/camelCase.js +5 -0
  729. package/node_modules/lodash/fp/capitalize.js +5 -0
  730. package/node_modules/lodash/fp/castArray.js +5 -0
  731. package/node_modules/lodash/fp/ceil.js +5 -0
  732. package/node_modules/lodash/fp/chain.js +5 -0
  733. package/node_modules/lodash/fp/chunk.js +5 -0
  734. package/node_modules/lodash/fp/clamp.js +5 -0
  735. package/node_modules/lodash/fp/clone.js +5 -0
  736. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  737. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  738. package/node_modules/lodash/fp/cloneWith.js +5 -0
  739. package/node_modules/lodash/fp/collection.js +2 -0
  740. package/node_modules/lodash/fp/commit.js +5 -0
  741. package/node_modules/lodash/fp/compact.js +5 -0
  742. package/node_modules/lodash/fp/complement.js +1 -0
  743. package/node_modules/lodash/fp/compose.js +1 -0
  744. package/node_modules/lodash/fp/concat.js +5 -0
  745. package/node_modules/lodash/fp/cond.js +5 -0
  746. package/node_modules/lodash/fp/conforms.js +1 -0
  747. package/node_modules/lodash/fp/conformsTo.js +5 -0
  748. package/node_modules/lodash/fp/constant.js +5 -0
  749. package/node_modules/lodash/fp/contains.js +1 -0
  750. package/node_modules/lodash/fp/convert.js +18 -0
  751. package/node_modules/lodash/fp/countBy.js +5 -0
  752. package/node_modules/lodash/fp/create.js +5 -0
  753. package/node_modules/lodash/fp/curry.js +5 -0
  754. package/node_modules/lodash/fp/curryN.js +5 -0
  755. package/node_modules/lodash/fp/curryRight.js +5 -0
  756. package/node_modules/lodash/fp/curryRightN.js +5 -0
  757. package/node_modules/lodash/fp/date.js +2 -0
  758. package/node_modules/lodash/fp/debounce.js +5 -0
  759. package/node_modules/lodash/fp/deburr.js +5 -0
  760. package/node_modules/lodash/fp/defaultTo.js +5 -0
  761. package/node_modules/lodash/fp/defaults.js +5 -0
  762. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  763. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  764. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  765. package/node_modules/lodash/fp/defer.js +5 -0
  766. package/node_modules/lodash/fp/delay.js +5 -0
  767. package/node_modules/lodash/fp/difference.js +5 -0
  768. package/node_modules/lodash/fp/differenceBy.js +5 -0
  769. package/node_modules/lodash/fp/differenceWith.js +5 -0
  770. package/node_modules/lodash/fp/dissoc.js +1 -0
  771. package/node_modules/lodash/fp/dissocPath.js +1 -0
  772. package/node_modules/lodash/fp/divide.js +5 -0
  773. package/node_modules/lodash/fp/drop.js +5 -0
  774. package/node_modules/lodash/fp/dropLast.js +1 -0
  775. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  776. package/node_modules/lodash/fp/dropRight.js +5 -0
  777. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  778. package/node_modules/lodash/fp/dropWhile.js +5 -0
  779. package/node_modules/lodash/fp/each.js +1 -0
  780. package/node_modules/lodash/fp/eachRight.js +1 -0
  781. package/node_modules/lodash/fp/endsWith.js +5 -0
  782. package/node_modules/lodash/fp/entries.js +1 -0
  783. package/node_modules/lodash/fp/entriesIn.js +1 -0
  784. package/node_modules/lodash/fp/eq.js +5 -0
  785. package/node_modules/lodash/fp/equals.js +1 -0
  786. package/node_modules/lodash/fp/escape.js +5 -0
  787. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  788. package/node_modules/lodash/fp/every.js +5 -0
  789. package/node_modules/lodash/fp/extend.js +1 -0
  790. package/node_modules/lodash/fp/extendAll.js +1 -0
  791. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  792. package/node_modules/lodash/fp/extendWith.js +1 -0
  793. package/node_modules/lodash/fp/fill.js +5 -0
  794. package/node_modules/lodash/fp/filter.js +5 -0
  795. package/node_modules/lodash/fp/find.js +5 -0
  796. package/node_modules/lodash/fp/findFrom.js +5 -0
  797. package/node_modules/lodash/fp/findIndex.js +5 -0
  798. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  799. package/node_modules/lodash/fp/findKey.js +5 -0
  800. package/node_modules/lodash/fp/findLast.js +5 -0
  801. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  802. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  803. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  804. package/node_modules/lodash/fp/findLastKey.js +5 -0
  805. package/node_modules/lodash/fp/first.js +1 -0
  806. package/node_modules/lodash/fp/flatMap.js +5 -0
  807. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  808. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  809. package/node_modules/lodash/fp/flatten.js +5 -0
  810. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  811. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  812. package/node_modules/lodash/fp/flip.js +5 -0
  813. package/node_modules/lodash/fp/floor.js +5 -0
  814. package/node_modules/lodash/fp/flow.js +5 -0
  815. package/node_modules/lodash/fp/flowRight.js +5 -0
  816. package/node_modules/lodash/fp/forEach.js +5 -0
  817. package/node_modules/lodash/fp/forEachRight.js +5 -0
  818. package/node_modules/lodash/fp/forIn.js +5 -0
  819. package/node_modules/lodash/fp/forInRight.js +5 -0
  820. package/node_modules/lodash/fp/forOwn.js +5 -0
  821. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  822. package/node_modules/lodash/fp/fromPairs.js +5 -0
  823. package/node_modules/lodash/fp/function.js +2 -0
  824. package/node_modules/lodash/fp/functions.js +5 -0
  825. package/node_modules/lodash/fp/functionsIn.js +5 -0
  826. package/node_modules/lodash/fp/get.js +5 -0
  827. package/node_modules/lodash/fp/getOr.js +5 -0
  828. package/node_modules/lodash/fp/groupBy.js +5 -0
  829. package/node_modules/lodash/fp/gt.js +5 -0
  830. package/node_modules/lodash/fp/gte.js +5 -0
  831. package/node_modules/lodash/fp/has.js +5 -0
  832. package/node_modules/lodash/fp/hasIn.js +5 -0
  833. package/node_modules/lodash/fp/head.js +5 -0
  834. package/node_modules/lodash/fp/identical.js +1 -0
  835. package/node_modules/lodash/fp/identity.js +5 -0
  836. package/node_modules/lodash/fp/inRange.js +5 -0
  837. package/node_modules/lodash/fp/includes.js +5 -0
  838. package/node_modules/lodash/fp/includesFrom.js +5 -0
  839. package/node_modules/lodash/fp/indexBy.js +1 -0
  840. package/node_modules/lodash/fp/indexOf.js +5 -0
  841. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  842. package/node_modules/lodash/fp/init.js +1 -0
  843. package/node_modules/lodash/fp/initial.js +5 -0
  844. package/node_modules/lodash/fp/intersection.js +5 -0
  845. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  846. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  847. package/node_modules/lodash/fp/invert.js +5 -0
  848. package/node_modules/lodash/fp/invertBy.js +5 -0
  849. package/node_modules/lodash/fp/invertObj.js +1 -0
  850. package/node_modules/lodash/fp/invoke.js +5 -0
  851. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  852. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  853. package/node_modules/lodash/fp/invokeMap.js +5 -0
  854. package/node_modules/lodash/fp/isArguments.js +5 -0
  855. package/node_modules/lodash/fp/isArray.js +5 -0
  856. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  857. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  858. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  859. package/node_modules/lodash/fp/isBoolean.js +5 -0
  860. package/node_modules/lodash/fp/isBuffer.js +5 -0
  861. package/node_modules/lodash/fp/isDate.js +5 -0
  862. package/node_modules/lodash/fp/isElement.js +5 -0
  863. package/node_modules/lodash/fp/isEmpty.js +5 -0
  864. package/node_modules/lodash/fp/isEqual.js +5 -0
  865. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  866. package/node_modules/lodash/fp/isError.js +5 -0
  867. package/node_modules/lodash/fp/isFinite.js +5 -0
  868. package/node_modules/lodash/fp/isFunction.js +5 -0
  869. package/node_modules/lodash/fp/isInteger.js +5 -0
  870. package/node_modules/lodash/fp/isLength.js +5 -0
  871. package/node_modules/lodash/fp/isMap.js +5 -0
  872. package/node_modules/lodash/fp/isMatch.js +5 -0
  873. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  874. package/node_modules/lodash/fp/isNaN.js +5 -0
  875. package/node_modules/lodash/fp/isNative.js +5 -0
  876. package/node_modules/lodash/fp/isNil.js +5 -0
  877. package/node_modules/lodash/fp/isNull.js +5 -0
  878. package/node_modules/lodash/fp/isNumber.js +5 -0
  879. package/node_modules/lodash/fp/isObject.js +5 -0
  880. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  881. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  882. package/node_modules/lodash/fp/isRegExp.js +5 -0
  883. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  884. package/node_modules/lodash/fp/isSet.js +5 -0
  885. package/node_modules/lodash/fp/isString.js +5 -0
  886. package/node_modules/lodash/fp/isSymbol.js +5 -0
  887. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  888. package/node_modules/lodash/fp/isUndefined.js +5 -0
  889. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  890. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  891. package/node_modules/lodash/fp/iteratee.js +5 -0
  892. package/node_modules/lodash/fp/join.js +5 -0
  893. package/node_modules/lodash/fp/juxt.js +1 -0
  894. package/node_modules/lodash/fp/kebabCase.js +5 -0
  895. package/node_modules/lodash/fp/keyBy.js +5 -0
  896. package/node_modules/lodash/fp/keys.js +5 -0
  897. package/node_modules/lodash/fp/keysIn.js +5 -0
  898. package/node_modules/lodash/fp/lang.js +2 -0
  899. package/node_modules/lodash/fp/last.js +5 -0
  900. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  901. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  902. package/node_modules/lodash/fp/lowerCase.js +5 -0
  903. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  904. package/node_modules/lodash/fp/lt.js +5 -0
  905. package/node_modules/lodash/fp/lte.js +5 -0
  906. package/node_modules/lodash/fp/map.js +5 -0
  907. package/node_modules/lodash/fp/mapKeys.js +5 -0
  908. package/node_modules/lodash/fp/mapValues.js +5 -0
  909. package/node_modules/lodash/fp/matches.js +1 -0
  910. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  911. package/node_modules/lodash/fp/math.js +2 -0
  912. package/node_modules/lodash/fp/max.js +5 -0
  913. package/node_modules/lodash/fp/maxBy.js +5 -0
  914. package/node_modules/lodash/fp/mean.js +5 -0
  915. package/node_modules/lodash/fp/meanBy.js +5 -0
  916. package/node_modules/lodash/fp/memoize.js +5 -0
  917. package/node_modules/lodash/fp/merge.js +5 -0
  918. package/node_modules/lodash/fp/mergeAll.js +5 -0
  919. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  920. package/node_modules/lodash/fp/mergeWith.js +5 -0
  921. package/node_modules/lodash/fp/method.js +5 -0
  922. package/node_modules/lodash/fp/methodOf.js +5 -0
  923. package/node_modules/lodash/fp/min.js +5 -0
  924. package/node_modules/lodash/fp/minBy.js +5 -0
  925. package/node_modules/lodash/fp/mixin.js +5 -0
  926. package/node_modules/lodash/fp/multiply.js +5 -0
  927. package/node_modules/lodash/fp/nAry.js +1 -0
  928. package/node_modules/lodash/fp/negate.js +5 -0
  929. package/node_modules/lodash/fp/next.js +5 -0
  930. package/node_modules/lodash/fp/noop.js +5 -0
  931. package/node_modules/lodash/fp/now.js +5 -0
  932. package/node_modules/lodash/fp/nth.js +5 -0
  933. package/node_modules/lodash/fp/nthArg.js +5 -0
  934. package/node_modules/lodash/fp/number.js +2 -0
  935. package/node_modules/lodash/fp/object.js +2 -0
  936. package/node_modules/lodash/fp/omit.js +5 -0
  937. package/node_modules/lodash/fp/omitAll.js +1 -0
  938. package/node_modules/lodash/fp/omitBy.js +5 -0
  939. package/node_modules/lodash/fp/once.js +5 -0
  940. package/node_modules/lodash/fp/orderBy.js +5 -0
  941. package/node_modules/lodash/fp/over.js +5 -0
  942. package/node_modules/lodash/fp/overArgs.js +5 -0
  943. package/node_modules/lodash/fp/overEvery.js +5 -0
  944. package/node_modules/lodash/fp/overSome.js +5 -0
  945. package/node_modules/lodash/fp/pad.js +5 -0
  946. package/node_modules/lodash/fp/padChars.js +5 -0
  947. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  948. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  949. package/node_modules/lodash/fp/padEnd.js +5 -0
  950. package/node_modules/lodash/fp/padStart.js +5 -0
  951. package/node_modules/lodash/fp/parseInt.js +5 -0
  952. package/node_modules/lodash/fp/partial.js +5 -0
  953. package/node_modules/lodash/fp/partialRight.js +5 -0
  954. package/node_modules/lodash/fp/partition.js +5 -0
  955. package/node_modules/lodash/fp/path.js +1 -0
  956. package/node_modules/lodash/fp/pathEq.js +1 -0
  957. package/node_modules/lodash/fp/pathOr.js +1 -0
  958. package/node_modules/lodash/fp/paths.js +1 -0
  959. package/node_modules/lodash/fp/pick.js +5 -0
  960. package/node_modules/lodash/fp/pickAll.js +1 -0
  961. package/node_modules/lodash/fp/pickBy.js +5 -0
  962. package/node_modules/lodash/fp/pipe.js +1 -0
  963. package/node_modules/lodash/fp/placeholder.js +6 -0
  964. package/node_modules/lodash/fp/plant.js +5 -0
  965. package/node_modules/lodash/fp/pluck.js +1 -0
  966. package/node_modules/lodash/fp/prop.js +1 -0
  967. package/node_modules/lodash/fp/propEq.js +1 -0
  968. package/node_modules/lodash/fp/propOr.js +1 -0
  969. package/node_modules/lodash/fp/property.js +1 -0
  970. package/node_modules/lodash/fp/propertyOf.js +5 -0
  971. package/node_modules/lodash/fp/props.js +1 -0
  972. package/node_modules/lodash/fp/pull.js +5 -0
  973. package/node_modules/lodash/fp/pullAll.js +5 -0
  974. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  975. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  976. package/node_modules/lodash/fp/pullAt.js +5 -0
  977. package/node_modules/lodash/fp/random.js +5 -0
  978. package/node_modules/lodash/fp/range.js +5 -0
  979. package/node_modules/lodash/fp/rangeRight.js +5 -0
  980. package/node_modules/lodash/fp/rangeStep.js +5 -0
  981. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  982. package/node_modules/lodash/fp/rearg.js +5 -0
  983. package/node_modules/lodash/fp/reduce.js +5 -0
  984. package/node_modules/lodash/fp/reduceRight.js +5 -0
  985. package/node_modules/lodash/fp/reject.js +5 -0
  986. package/node_modules/lodash/fp/remove.js +5 -0
  987. package/node_modules/lodash/fp/repeat.js +5 -0
  988. package/node_modules/lodash/fp/replace.js +5 -0
  989. package/node_modules/lodash/fp/rest.js +5 -0
  990. package/node_modules/lodash/fp/restFrom.js +5 -0
  991. package/node_modules/lodash/fp/result.js +5 -0
  992. package/node_modules/lodash/fp/reverse.js +5 -0
  993. package/node_modules/lodash/fp/round.js +5 -0
  994. package/node_modules/lodash/fp/sample.js +5 -0
  995. package/node_modules/lodash/fp/sampleSize.js +5 -0
  996. package/node_modules/lodash/fp/seq.js +2 -0
  997. package/node_modules/lodash/fp/set.js +5 -0
  998. package/node_modules/lodash/fp/setWith.js +5 -0
  999. package/node_modules/lodash/fp/shuffle.js +5 -0
  1000. package/node_modules/lodash/fp/size.js +5 -0
  1001. package/node_modules/lodash/fp/slice.js +5 -0
  1002. package/node_modules/lodash/fp/snakeCase.js +5 -0
  1003. package/node_modules/lodash/fp/some.js +5 -0
  1004. package/node_modules/lodash/fp/sortBy.js +5 -0
  1005. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  1006. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1007. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1008. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1009. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1010. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1011. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  1012. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1013. package/node_modules/lodash/fp/split.js +5 -0
  1014. package/node_modules/lodash/fp/spread.js +5 -0
  1015. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  1016. package/node_modules/lodash/fp/startCase.js +5 -0
  1017. package/node_modules/lodash/fp/startsWith.js +5 -0
  1018. package/node_modules/lodash/fp/string.js +2 -0
  1019. package/node_modules/lodash/fp/stubArray.js +5 -0
  1020. package/node_modules/lodash/fp/stubFalse.js +5 -0
  1021. package/node_modules/lodash/fp/stubObject.js +5 -0
  1022. package/node_modules/lodash/fp/stubString.js +5 -0
  1023. package/node_modules/lodash/fp/stubTrue.js +5 -0
  1024. package/node_modules/lodash/fp/subtract.js +5 -0
  1025. package/node_modules/lodash/fp/sum.js +5 -0
  1026. package/node_modules/lodash/fp/sumBy.js +5 -0
  1027. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1028. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1029. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1030. package/node_modules/lodash/fp/tail.js +5 -0
  1031. package/node_modules/lodash/fp/take.js +5 -0
  1032. package/node_modules/lodash/fp/takeLast.js +1 -0
  1033. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1034. package/node_modules/lodash/fp/takeRight.js +5 -0
  1035. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1036. package/node_modules/lodash/fp/takeWhile.js +5 -0
  1037. package/node_modules/lodash/fp/tap.js +5 -0
  1038. package/node_modules/lodash/fp/template.js +5 -0
  1039. package/node_modules/lodash/fp/templateSettings.js +5 -0
  1040. package/node_modules/lodash/fp/throttle.js +5 -0
  1041. package/node_modules/lodash/fp/thru.js +5 -0
  1042. package/node_modules/lodash/fp/times.js +5 -0
  1043. package/node_modules/lodash/fp/toArray.js +5 -0
  1044. package/node_modules/lodash/fp/toFinite.js +5 -0
  1045. package/node_modules/lodash/fp/toInteger.js +5 -0
  1046. package/node_modules/lodash/fp/toIterator.js +5 -0
  1047. package/node_modules/lodash/fp/toJSON.js +5 -0
  1048. package/node_modules/lodash/fp/toLength.js +5 -0
  1049. package/node_modules/lodash/fp/toLower.js +5 -0
  1050. package/node_modules/lodash/fp/toNumber.js +5 -0
  1051. package/node_modules/lodash/fp/toPairs.js +5 -0
  1052. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  1053. package/node_modules/lodash/fp/toPath.js +5 -0
  1054. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  1055. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1056. package/node_modules/lodash/fp/toString.js +5 -0
  1057. package/node_modules/lodash/fp/toUpper.js +5 -0
  1058. package/node_modules/lodash/fp/transform.js +5 -0
  1059. package/node_modules/lodash/fp/trim.js +5 -0
  1060. package/node_modules/lodash/fp/trimChars.js +5 -0
  1061. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1062. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1063. package/node_modules/lodash/fp/trimEnd.js +5 -0
  1064. package/node_modules/lodash/fp/trimStart.js +5 -0
  1065. package/node_modules/lodash/fp/truncate.js +5 -0
  1066. package/node_modules/lodash/fp/unapply.js +1 -0
  1067. package/node_modules/lodash/fp/unary.js +5 -0
  1068. package/node_modules/lodash/fp/unescape.js +5 -0
  1069. package/node_modules/lodash/fp/union.js +5 -0
  1070. package/node_modules/lodash/fp/unionBy.js +5 -0
  1071. package/node_modules/lodash/fp/unionWith.js +5 -0
  1072. package/node_modules/lodash/fp/uniq.js +5 -0
  1073. package/node_modules/lodash/fp/uniqBy.js +5 -0
  1074. package/node_modules/lodash/fp/uniqWith.js +5 -0
  1075. package/node_modules/lodash/fp/uniqueId.js +5 -0
  1076. package/node_modules/lodash/fp/unnest.js +1 -0
  1077. package/node_modules/lodash/fp/unset.js +5 -0
  1078. package/node_modules/lodash/fp/unzip.js +5 -0
  1079. package/node_modules/lodash/fp/unzipWith.js +5 -0
  1080. package/node_modules/lodash/fp/update.js +5 -0
  1081. package/node_modules/lodash/fp/updateWith.js +5 -0
  1082. package/node_modules/lodash/fp/upperCase.js +5 -0
  1083. package/node_modules/lodash/fp/upperFirst.js +5 -0
  1084. package/node_modules/lodash/fp/useWith.js +1 -0
  1085. package/node_modules/lodash/fp/util.js +2 -0
  1086. package/node_modules/lodash/fp/value.js +5 -0
  1087. package/node_modules/lodash/fp/valueOf.js +5 -0
  1088. package/node_modules/lodash/fp/values.js +5 -0
  1089. package/node_modules/lodash/fp/valuesIn.js +5 -0
  1090. package/node_modules/lodash/fp/where.js +1 -0
  1091. package/node_modules/lodash/fp/whereEq.js +1 -0
  1092. package/node_modules/lodash/fp/without.js +5 -0
  1093. package/node_modules/lodash/fp/words.js +5 -0
  1094. package/node_modules/lodash/fp/wrap.js +5 -0
  1095. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  1096. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  1097. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1098. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1099. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  1100. package/node_modules/lodash/fp/xor.js +5 -0
  1101. package/node_modules/lodash/fp/xorBy.js +5 -0
  1102. package/node_modules/lodash/fp/xorWith.js +5 -0
  1103. package/node_modules/lodash/fp/zip.js +5 -0
  1104. package/node_modules/lodash/fp/zipAll.js +5 -0
  1105. package/node_modules/lodash/fp/zipObj.js +1 -0
  1106. package/node_modules/lodash/fp/zipObject.js +5 -0
  1107. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1108. package/node_modules/lodash/fp/zipWith.js +5 -0
  1109. package/node_modules/lodash/fp.js +2 -0
  1110. package/node_modules/lodash/fromPairs.js +28 -0
  1111. package/node_modules/lodash/function.js +25 -0
  1112. package/node_modules/lodash/functions.js +31 -0
  1113. package/node_modules/lodash/functionsIn.js +31 -0
  1114. package/node_modules/lodash/get.js +33 -0
  1115. package/node_modules/lodash/groupBy.js +41 -0
  1116. package/node_modules/lodash/gt.js +29 -0
  1117. package/node_modules/lodash/gte.js +30 -0
  1118. package/node_modules/lodash/has.js +35 -0
  1119. package/node_modules/lodash/hasIn.js +34 -0
  1120. package/node_modules/lodash/head.js +23 -0
  1121. package/node_modules/lodash/identity.js +21 -0
  1122. package/node_modules/lodash/inRange.js +55 -0
  1123. package/node_modules/lodash/includes.js +53 -0
  1124. package/node_modules/lodash/index.js +1 -0
  1125. package/node_modules/lodash/indexOf.js +42 -0
  1126. package/node_modules/lodash/initial.js +22 -0
  1127. package/node_modules/lodash/intersection.js +30 -0
  1128. package/node_modules/lodash/intersectionBy.js +45 -0
  1129. package/node_modules/lodash/intersectionWith.js +41 -0
  1130. package/node_modules/lodash/invert.js +42 -0
  1131. package/node_modules/lodash/invertBy.js +56 -0
  1132. package/node_modules/lodash/invoke.js +24 -0
  1133. package/node_modules/lodash/invokeMap.js +41 -0
  1134. package/node_modules/lodash/isArguments.js +36 -0
  1135. package/node_modules/lodash/isArray.js +26 -0
  1136. package/node_modules/lodash/isArrayBuffer.js +27 -0
  1137. package/node_modules/lodash/isArrayLike.js +33 -0
  1138. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  1139. package/node_modules/lodash/isBoolean.js +29 -0
  1140. package/node_modules/lodash/isBuffer.js +38 -0
  1141. package/node_modules/lodash/isDate.js +27 -0
  1142. package/node_modules/lodash/isElement.js +25 -0
  1143. package/node_modules/lodash/isEmpty.js +77 -0
  1144. package/node_modules/lodash/isEqual.js +35 -0
  1145. package/node_modules/lodash/isEqualWith.js +41 -0
  1146. package/node_modules/lodash/isError.js +36 -0
  1147. package/node_modules/lodash/isFinite.js +36 -0
  1148. package/node_modules/lodash/isFunction.js +37 -0
  1149. package/node_modules/lodash/isInteger.js +33 -0
  1150. package/node_modules/lodash/isLength.js +35 -0
  1151. package/node_modules/lodash/isMap.js +27 -0
  1152. package/node_modules/lodash/isMatch.js +36 -0
  1153. package/node_modules/lodash/isMatchWith.js +41 -0
  1154. package/node_modules/lodash/isNaN.js +38 -0
  1155. package/node_modules/lodash/isNative.js +40 -0
  1156. package/node_modules/lodash/isNil.js +25 -0
  1157. package/node_modules/lodash/isNull.js +22 -0
  1158. package/node_modules/lodash/isNumber.js +38 -0
  1159. package/node_modules/lodash/isObject.js +31 -0
  1160. package/node_modules/lodash/isObjectLike.js +29 -0
  1161. package/node_modules/lodash/isPlainObject.js +62 -0
  1162. package/node_modules/lodash/isRegExp.js +27 -0
  1163. package/node_modules/lodash/isSafeInteger.js +37 -0
  1164. package/node_modules/lodash/isSet.js +27 -0
  1165. package/node_modules/lodash/isString.js +30 -0
  1166. package/node_modules/lodash/isSymbol.js +29 -0
  1167. package/node_modules/lodash/isTypedArray.js +27 -0
  1168. package/node_modules/lodash/isUndefined.js +22 -0
  1169. package/node_modules/lodash/isWeakMap.js +28 -0
  1170. package/node_modules/lodash/isWeakSet.js +28 -0
  1171. package/node_modules/lodash/iteratee.js +53 -0
  1172. package/node_modules/lodash/join.js +26 -0
  1173. package/node_modules/lodash/kebabCase.js +28 -0
  1174. package/node_modules/lodash/keyBy.js +36 -0
  1175. package/node_modules/lodash/keys.js +37 -0
  1176. package/node_modules/lodash/keysIn.js +32 -0
  1177. package/node_modules/lodash/lang.js +58 -0
  1178. package/node_modules/lodash/last.js +20 -0
  1179. package/node_modules/lodash/lastIndexOf.js +46 -0
  1180. package/node_modules/lodash/lodash.js +17248 -0
  1181. package/node_modules/lodash/lodash.min.js +140 -0
  1182. package/node_modules/lodash/lowerCase.js +27 -0
  1183. package/node_modules/lodash/lowerFirst.js +22 -0
  1184. package/node_modules/lodash/lt.js +29 -0
  1185. package/node_modules/lodash/lte.js +30 -0
  1186. package/node_modules/lodash/map.js +53 -0
  1187. package/node_modules/lodash/mapKeys.js +36 -0
  1188. package/node_modules/lodash/mapValues.js +43 -0
  1189. package/node_modules/lodash/matches.js +46 -0
  1190. package/node_modules/lodash/matchesProperty.js +44 -0
  1191. package/node_modules/lodash/math.js +17 -0
  1192. package/node_modules/lodash/max.js +29 -0
  1193. package/node_modules/lodash/maxBy.js +34 -0
  1194. package/node_modules/lodash/mean.js +22 -0
  1195. package/node_modules/lodash/meanBy.js +31 -0
  1196. package/node_modules/lodash/memoize.js +73 -0
  1197. package/node_modules/lodash/merge.js +39 -0
  1198. package/node_modules/lodash/mergeWith.js +39 -0
  1199. package/node_modules/lodash/method.js +34 -0
  1200. package/node_modules/lodash/methodOf.js +33 -0
  1201. package/node_modules/lodash/min.js +29 -0
  1202. package/node_modules/lodash/minBy.js +34 -0
  1203. package/node_modules/lodash/mixin.js +74 -0
  1204. package/node_modules/lodash/multiply.js +22 -0
  1205. package/node_modules/lodash/negate.js +40 -0
  1206. package/node_modules/lodash/next.js +35 -0
  1207. package/node_modules/lodash/noop.js +17 -0
  1208. package/node_modules/lodash/now.js +23 -0
  1209. package/node_modules/lodash/nth.js +29 -0
  1210. package/node_modules/lodash/nthArg.js +32 -0
  1211. package/node_modules/lodash/number.js +5 -0
  1212. package/node_modules/lodash/object.js +49 -0
  1213. package/node_modules/lodash/omit.js +57 -0
  1214. package/node_modules/lodash/omitBy.js +29 -0
  1215. package/node_modules/lodash/once.js +25 -0
  1216. package/node_modules/lodash/orderBy.js +47 -0
  1217. package/node_modules/lodash/over.js +24 -0
  1218. package/node_modules/lodash/overArgs.js +61 -0
  1219. package/node_modules/lodash/overEvery.js +34 -0
  1220. package/node_modules/lodash/overSome.js +37 -0
  1221. package/node_modules/lodash/package.json +17 -0
  1222. package/node_modules/lodash/pad.js +49 -0
  1223. package/node_modules/lodash/padEnd.js +39 -0
  1224. package/node_modules/lodash/padStart.js +39 -0
  1225. package/node_modules/lodash/parseInt.js +43 -0
  1226. package/node_modules/lodash/partial.js +50 -0
  1227. package/node_modules/lodash/partialRight.js +49 -0
  1228. package/node_modules/lodash/partition.js +43 -0
  1229. package/node_modules/lodash/pick.js +25 -0
  1230. package/node_modules/lodash/pickBy.js +37 -0
  1231. package/node_modules/lodash/plant.js +48 -0
  1232. package/node_modules/lodash/property.js +32 -0
  1233. package/node_modules/lodash/propertyOf.js +30 -0
  1234. package/node_modules/lodash/pull.js +29 -0
  1235. package/node_modules/lodash/pullAll.js +29 -0
  1236. package/node_modules/lodash/pullAllBy.js +33 -0
  1237. package/node_modules/lodash/pullAllWith.js +32 -0
  1238. package/node_modules/lodash/pullAt.js +43 -0
  1239. package/node_modules/lodash/random.js +82 -0
  1240. package/node_modules/lodash/range.js +46 -0
  1241. package/node_modules/lodash/rangeRight.js +41 -0
  1242. package/node_modules/lodash/rearg.js +33 -0
  1243. package/node_modules/lodash/reduce.js +51 -0
  1244. package/node_modules/lodash/reduceRight.js +36 -0
  1245. package/node_modules/lodash/reject.js +46 -0
  1246. package/node_modules/lodash/remove.js +53 -0
  1247. package/node_modules/lodash/repeat.js +37 -0
  1248. package/node_modules/lodash/replace.js +29 -0
  1249. package/node_modules/lodash/rest.js +40 -0
  1250. package/node_modules/lodash/result.js +56 -0
  1251. package/node_modules/lodash/reverse.js +34 -0
  1252. package/node_modules/lodash/round.js +26 -0
  1253. package/node_modules/lodash/sample.js +24 -0
  1254. package/node_modules/lodash/sampleSize.js +37 -0
  1255. package/node_modules/lodash/seq.js +16 -0
  1256. package/node_modules/lodash/set.js +35 -0
  1257. package/node_modules/lodash/setWith.js +32 -0
  1258. package/node_modules/lodash/shuffle.js +25 -0
  1259. package/node_modules/lodash/size.js +46 -0
  1260. package/node_modules/lodash/slice.js +37 -0
  1261. package/node_modules/lodash/snakeCase.js +28 -0
  1262. package/node_modules/lodash/some.js +51 -0
  1263. package/node_modules/lodash/sortBy.js +48 -0
  1264. package/node_modules/lodash/sortedIndex.js +24 -0
  1265. package/node_modules/lodash/sortedIndexBy.js +33 -0
  1266. package/node_modules/lodash/sortedIndexOf.js +31 -0
  1267. package/node_modules/lodash/sortedLastIndex.js +25 -0
  1268. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1269. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1270. package/node_modules/lodash/sortedUniq.js +24 -0
  1271. package/node_modules/lodash/sortedUniqBy.js +26 -0
  1272. package/node_modules/lodash/split.js +52 -0
  1273. package/node_modules/lodash/spread.js +63 -0
  1274. package/node_modules/lodash/startCase.js +29 -0
  1275. package/node_modules/lodash/startsWith.js +39 -0
  1276. package/node_modules/lodash/string.js +33 -0
  1277. package/node_modules/lodash/stubArray.js +23 -0
  1278. package/node_modules/lodash/stubFalse.js +18 -0
  1279. package/node_modules/lodash/stubObject.js +23 -0
  1280. package/node_modules/lodash/stubString.js +18 -0
  1281. package/node_modules/lodash/stubTrue.js +18 -0
  1282. package/node_modules/lodash/subtract.js +22 -0
  1283. package/node_modules/lodash/sum.js +24 -0
  1284. package/node_modules/lodash/sumBy.js +33 -0
  1285. package/node_modules/lodash/tail.js +22 -0
  1286. package/node_modules/lodash/take.js +37 -0
  1287. package/node_modules/lodash/takeRight.js +39 -0
  1288. package/node_modules/lodash/takeRightWhile.js +45 -0
  1289. package/node_modules/lodash/takeWhile.js +45 -0
  1290. package/node_modules/lodash/tap.js +29 -0
  1291. package/node_modules/lodash/template.js +272 -0
  1292. package/node_modules/lodash/templateSettings.js +67 -0
  1293. package/node_modules/lodash/throttle.js +69 -0
  1294. package/node_modules/lodash/thru.js +28 -0
  1295. package/node_modules/lodash/times.js +51 -0
  1296. package/node_modules/lodash/toArray.js +58 -0
  1297. package/node_modules/lodash/toFinite.js +42 -0
  1298. package/node_modules/lodash/toInteger.js +36 -0
  1299. package/node_modules/lodash/toIterator.js +23 -0
  1300. package/node_modules/lodash/toJSON.js +1 -0
  1301. package/node_modules/lodash/toLength.js +38 -0
  1302. package/node_modules/lodash/toLower.js +28 -0
  1303. package/node_modules/lodash/toNumber.js +64 -0
  1304. package/node_modules/lodash/toPairs.js +30 -0
  1305. package/node_modules/lodash/toPairsIn.js +30 -0
  1306. package/node_modules/lodash/toPath.js +33 -0
  1307. package/node_modules/lodash/toPlainObject.js +32 -0
  1308. package/node_modules/lodash/toSafeInteger.js +37 -0
  1309. package/node_modules/lodash/toString.js +28 -0
  1310. package/node_modules/lodash/toUpper.js +28 -0
  1311. package/node_modules/lodash/transform.js +65 -0
  1312. package/node_modules/lodash/trim.js +47 -0
  1313. package/node_modules/lodash/trimEnd.js +41 -0
  1314. package/node_modules/lodash/trimStart.js +43 -0
  1315. package/node_modules/lodash/truncate.js +111 -0
  1316. package/node_modules/lodash/unary.js +22 -0
  1317. package/node_modules/lodash/unescape.js +34 -0
  1318. package/node_modules/lodash/union.js +26 -0
  1319. package/node_modules/lodash/unionBy.js +39 -0
  1320. package/node_modules/lodash/unionWith.js +34 -0
  1321. package/node_modules/lodash/uniq.js +25 -0
  1322. package/node_modules/lodash/uniqBy.js +31 -0
  1323. package/node_modules/lodash/uniqWith.js +28 -0
  1324. package/node_modules/lodash/uniqueId.js +28 -0
  1325. package/node_modules/lodash/unset.js +34 -0
  1326. package/node_modules/lodash/unzip.js +45 -0
  1327. package/node_modules/lodash/unzipWith.js +39 -0
  1328. package/node_modules/lodash/update.js +35 -0
  1329. package/node_modules/lodash/updateWith.js +33 -0
  1330. package/node_modules/lodash/upperCase.js +27 -0
  1331. package/node_modules/lodash/upperFirst.js +22 -0
  1332. package/node_modules/lodash/util.js +34 -0
  1333. package/node_modules/lodash/value.js +1 -0
  1334. package/node_modules/lodash/valueOf.js +1 -0
  1335. package/node_modules/lodash/values.js +34 -0
  1336. package/node_modules/lodash/valuesIn.js +32 -0
  1337. package/node_modules/lodash/without.js +31 -0
  1338. package/node_modules/lodash/words.js +35 -0
  1339. package/node_modules/lodash/wrap.js +30 -0
  1340. package/node_modules/lodash/wrapperAt.js +48 -0
  1341. package/node_modules/lodash/wrapperChain.js +34 -0
  1342. package/node_modules/lodash/wrapperLodash.js +147 -0
  1343. package/node_modules/lodash/wrapperReverse.js +44 -0
  1344. package/node_modules/lodash/wrapperValue.js +21 -0
  1345. package/node_modules/lodash/xor.js +28 -0
  1346. package/node_modules/lodash/xorBy.js +39 -0
  1347. package/node_modules/lodash/xorWith.js +34 -0
  1348. package/node_modules/lodash/zip.js +22 -0
  1349. package/node_modules/lodash/zipObject.js +24 -0
  1350. package/node_modules/lodash/zipObjectDeep.js +23 -0
  1351. package/node_modules/lodash/zipWith.js +32 -0
  1352. package/node_modules/loose-envify/LICENSE +21 -0
  1353. package/node_modules/loose-envify/README.md +45 -0
  1354. package/node_modules/loose-envify/cli.js +16 -0
  1355. package/node_modules/loose-envify/custom.js +4 -0
  1356. package/node_modules/loose-envify/index.js +3 -0
  1357. package/node_modules/loose-envify/loose-envify.js +36 -0
  1358. package/node_modules/loose-envify/package.json +36 -0
  1359. package/node_modules/loose-envify/replace.js +65 -0
  1360. package/node_modules/mimic-fn/index.d.ts +54 -0
  1361. package/node_modules/mimic-fn/index.js +13 -0
  1362. package/node_modules/mimic-fn/license +9 -0
  1363. package/node_modules/mimic-fn/package.json +42 -0
  1364. package/node_modules/mimic-fn/readme.md +69 -0
  1365. package/node_modules/object-assign/index.js +90 -0
  1366. package/node_modules/object-assign/license +21 -0
  1367. package/node_modules/object-assign/package.json +42 -0
  1368. package/node_modules/object-assign/readme.md +61 -0
  1369. package/node_modules/onetime/index.d.ts +64 -0
  1370. package/node_modules/onetime/index.js +44 -0
  1371. package/node_modules/onetime/license +9 -0
  1372. package/node_modules/onetime/package.json +43 -0
  1373. package/node_modules/onetime/readme.md +94 -0
  1374. package/node_modules/patch-console/build/index.d.ts +4 -0
  1375. package/node_modules/patch-console/build/index.js +42 -0
  1376. package/node_modules/patch-console/build/index.js.map +1 -0
  1377. package/node_modules/patch-console/package.json +56 -0
  1378. package/node_modules/patch-console/readme.md +62 -0
  1379. package/node_modules/react-devtools-core/README.md +131 -0
  1380. package/node_modules/react-devtools-core/backend.js +1 -0
  1381. package/node_modules/react-devtools-core/dist/backend.js +16888 -0
  1382. package/node_modules/react-devtools-core/dist/backend.js.map +1 -0
  1383. package/node_modules/react-devtools-core/dist/importFile.worker.worker.js +2 -0
  1384. package/node_modules/react-devtools-core/dist/importFile.worker.worker.js.map +1 -0
  1385. package/node_modules/react-devtools-core/dist/parseHookNames.chunk.js +2 -0
  1386. package/node_modules/react-devtools-core/dist/parseHookNames.chunk.js.map +1 -0
  1387. package/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js +2 -0
  1388. package/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js.map +1 -0
  1389. package/node_modules/react-devtools-core/dist/standalone.js +3 -0
  1390. package/node_modules/react-devtools-core/dist/standalone.js.LICENSE.txt +41 -0
  1391. package/node_modules/react-devtools-core/dist/standalone.js.map +1 -0
  1392. package/node_modules/react-devtools-core/package.json +38 -0
  1393. package/node_modules/react-devtools-core/standalone.js +1 -0
  1394. package/node_modules/restore-cursor/index.d.ts +13 -0
  1395. package/node_modules/restore-cursor/index.js +9 -0
  1396. package/node_modules/restore-cursor/license +9 -0
  1397. package/node_modules/restore-cursor/package.json +52 -0
  1398. package/node_modules/restore-cursor/readme.md +26 -0
  1399. package/node_modules/scheduler/LICENSE +21 -0
  1400. package/node_modules/scheduler/README.md +9 -0
  1401. package/node_modules/scheduler/build-info.json +8 -0
  1402. package/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
  1403. package/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
  1404. package/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
  1405. package/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
  1406. package/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
  1407. package/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
  1408. package/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
  1409. package/node_modules/scheduler/cjs/scheduler.development.js +646 -0
  1410. package/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
  1411. package/node_modules/scheduler/index.js +7 -0
  1412. package/node_modules/scheduler/package.json +40 -0
  1413. package/node_modules/scheduler/tracing-profiling.js +7 -0
  1414. package/node_modules/scheduler/tracing.js +7 -0
  1415. package/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
  1416. package/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
  1417. package/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
  1418. package/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
  1419. package/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
  1420. package/node_modules/scheduler/umd/scheduler.development.js +152 -0
  1421. package/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
  1422. package/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
  1423. package/node_modules/scheduler/unstable_mock.js +7 -0
  1424. package/node_modules/scheduler/unstable_post_task.js +7 -0
  1425. package/node_modules/shell-quote/.eslintrc +30 -0
  1426. package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
  1427. package/node_modules/shell-quote/.nycrc +14 -0
  1428. package/node_modules/shell-quote/LICENSE +24 -0
  1429. package/node_modules/shell-quote/README.md +161 -0
  1430. package/node_modules/shell-quote/index.js +4 -0
  1431. package/node_modules/shell-quote/package.json +72 -0
  1432. package/node_modules/shell-quote/parse.js +226 -0
  1433. package/node_modules/shell-quote/print.py +3 -0
  1434. package/node_modules/shell-quote/quote.js +19 -0
  1435. package/node_modules/shell-quote/security.md +11 -0
  1436. package/node_modules/shell-quote/test/comment.js +16 -0
  1437. package/node_modules/shell-quote/test/env.js +52 -0
  1438. package/node_modules/shell-quote/test/env_fn.js +21 -0
  1439. package/node_modules/shell-quote/test/op.js +102 -0
  1440. package/node_modules/shell-quote/test/parse.js +44 -0
  1441. package/node_modules/shell-quote/test/quote.js +60 -0
  1442. package/node_modules/shell-quote/test/set.js +31 -0
  1443. package/node_modules/signal-exit/LICENSE.txt +16 -0
  1444. package/node_modules/signal-exit/README.md +39 -0
  1445. package/node_modules/signal-exit/index.js +202 -0
  1446. package/node_modules/signal-exit/package.json +38 -0
  1447. package/node_modules/signal-exit/signals.js +53 -0
  1448. package/node_modules/slice-ansi/index.js +97 -0
  1449. package/node_modules/slice-ansi/license +9 -0
  1450. package/node_modules/slice-ansi/package.json +51 -0
  1451. package/node_modules/slice-ansi/readme.md +72 -0
  1452. package/node_modules/stack-utils/LICENSE.md +21 -0
  1453. package/node_modules/stack-utils/index.js +344 -0
  1454. package/node_modules/stack-utils/package.json +39 -0
  1455. package/node_modules/stack-utils/readme.md +143 -0
  1456. package/node_modules/string-width/index.d.ts +29 -0
  1457. package/node_modules/string-width/index.js +47 -0
  1458. package/node_modules/string-width/license +9 -0
  1459. package/node_modules/string-width/package.json +56 -0
  1460. package/node_modules/string-width/readme.md +50 -0
  1461. package/node_modules/strip-ansi/index.d.ts +17 -0
  1462. package/node_modules/strip-ansi/index.js +4 -0
  1463. package/node_modules/strip-ansi/license +9 -0
  1464. package/node_modules/strip-ansi/package.json +54 -0
  1465. package/node_modules/strip-ansi/readme.md +46 -0
  1466. package/node_modules/supports-color/browser.js +5 -0
  1467. package/node_modules/supports-color/index.js +135 -0
  1468. package/node_modules/supports-color/license +9 -0
  1469. package/node_modules/supports-color/package.json +53 -0
  1470. package/node_modules/supports-color/readme.md +76 -0
  1471. package/node_modules/type-fest/index.d.ts +27 -0
  1472. package/node_modules/type-fest/license +9 -0
  1473. package/node_modules/type-fest/package.json +49 -0
  1474. package/node_modules/type-fest/readme.md +640 -0
  1475. package/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  1476. package/node_modules/type-fest/source/basic.d.ts +67 -0
  1477. package/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  1478. package/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  1479. package/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  1480. package/node_modules/type-fest/source/except.d.ts +22 -0
  1481. package/node_modules/type-fest/source/literal-union.d.ts +33 -0
  1482. package/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  1483. package/node_modules/type-fest/source/merge.d.ts +22 -0
  1484. package/node_modules/type-fest/source/mutable.d.ts +22 -0
  1485. package/node_modules/type-fest/source/opaque.d.ts +65 -0
  1486. package/node_modules/type-fest/source/package-json.d.ts +585 -0
  1487. package/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  1488. package/node_modules/type-fest/source/promisable.d.ts +23 -0
  1489. package/node_modules/type-fest/source/promise-value.d.ts +20 -0
  1490. package/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  1491. package/node_modules/type-fest/source/require-at-least-one.d.ts +32 -0
  1492. package/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  1493. package/node_modules/type-fest/source/set-optional.d.ts +34 -0
  1494. package/node_modules/type-fest/source/set-required.d.ts +34 -0
  1495. package/node_modules/type-fest/source/tsconfig-json.d.ts +872 -0
  1496. package/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  1497. package/node_modules/widest-line/index.d.ts +21 -0
  1498. package/node_modules/widest-line/index.js +16 -0
  1499. package/node_modules/widest-line/license +9 -0
  1500. package/node_modules/widest-line/package.json +54 -0
  1501. package/node_modules/widest-line/readme.md +34 -0
  1502. package/node_modules/wrap-ansi/index.js +186 -0
  1503. package/node_modules/wrap-ansi/license +9 -0
  1504. package/node_modules/wrap-ansi/package.json +61 -0
  1505. package/node_modules/wrap-ansi/readme.md +97 -0
  1506. package/node_modules/ws/LICENSE +21 -0
  1507. package/node_modules/ws/README.md +495 -0
  1508. package/node_modules/ws/browser.js +8 -0
  1509. package/node_modules/ws/index.js +10 -0
  1510. package/node_modules/ws/lib/buffer-util.js +129 -0
  1511. package/node_modules/ws/lib/constants.js +10 -0
  1512. package/node_modules/ws/lib/event-target.js +184 -0
  1513. package/node_modules/ws/lib/extension.js +223 -0
  1514. package/node_modules/ws/lib/limiter.js +55 -0
  1515. package/node_modules/ws/lib/permessage-deflate.js +518 -0
  1516. package/node_modules/ws/lib/receiver.js +607 -0
  1517. package/node_modules/ws/lib/sender.js +409 -0
  1518. package/node_modules/ws/lib/stream.js +180 -0
  1519. package/node_modules/ws/lib/validation.js +104 -0
  1520. package/node_modules/ws/lib/websocket-server.js +449 -0
  1521. package/node_modules/ws/lib/websocket.js +1197 -0
  1522. package/node_modules/ws/package.json +56 -0
  1523. package/node_modules/yoga-layout-prebuilt/index.d.ts +3 -0
  1524. package/node_modules/yoga-layout-prebuilt/license +9 -0
  1525. package/node_modules/yoga-layout-prebuilt/package.json +42 -0
  1526. package/node_modules/yoga-layout-prebuilt/readme.md +23 -0
  1527. package/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js +9820 -0
  1528. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/YGEnums.js +110 -0
  1529. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/YGEnums.js.flow +175 -0
  1530. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-browser.js +40 -0
  1531. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-browser.js.flow +56 -0
  1532. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-common.js +247 -0
  1533. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-common.js.flow +360 -0
  1534. package/package.json +8 -4
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const widest_line_1 = __importDefault(require("widest-line"));
7
+ const cache = {};
8
+ exports.default = (text) => {
9
+ if (text.length === 0) {
10
+ return {
11
+ width: 0,
12
+ height: 0
13
+ };
14
+ }
15
+ if (cache[text]) {
16
+ return cache[text];
17
+ }
18
+ const width = widest_line_1.default(text);
19
+ const height = text.split('\n').length;
20
+ cache[text] = { width, height };
21
+ return { width, height };
22
+ };
23
+ //# sourceMappingURL=measure-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"measure-text.js","sourceRoot":"","sources":["../src/measure-text.ts"],"names":[],"mappings":";;;;;AAAA,8DAAqC;AAErC,MAAM,KAAK,GAA2B,EAAE,CAAC;AAOzC,kBAAe,CAAC,IAAY,EAAU,EAAE;IACvC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,OAAO;YACN,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACT,CAAC;KACF;IAED,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE;QAChB,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;KACnB;IAED,MAAM,KAAK,GAAG,qBAAU,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC;IAE9B,OAAO,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC;AACxB,CAAC,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { OutputTransformer } from './render-node-to-output';
2
+ /**
3
+ * "Virtual" output class
4
+ *
5
+ * Handles the positioning and saving of the output of each node in the tree.
6
+ * Also responsible for applying transformations to each character of the output.
7
+ *
8
+ * Used to generate the final output of all nodes before writing it to actual output stream (e.g. stdout)
9
+ */
10
+ interface Options {
11
+ width: number;
12
+ height: number;
13
+ }
14
+ export default class Output {
15
+ width: number;
16
+ height: number;
17
+ private readonly writes;
18
+ constructor(options: Options);
19
+ write(x: number, y: number, text: string, options: {
20
+ transformers: OutputTransformer[];
21
+ }): void;
22
+ get(): {
23
+ output: string;
24
+ height: number;
25
+ };
26
+ }
27
+ export {};
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const slice_ansi_1 = __importDefault(require("slice-ansi"));
7
+ const string_width_1 = __importDefault(require("string-width"));
8
+ class Output {
9
+ constructor(options) {
10
+ // Initialize output array with a specific set of rows, so that margin/padding at the bottom is preserved
11
+ this.writes = [];
12
+ const { width, height } = options;
13
+ this.width = width;
14
+ this.height = height;
15
+ }
16
+ write(x, y, text, options) {
17
+ const { transformers } = options;
18
+ if (!text) {
19
+ return;
20
+ }
21
+ this.writes.push({ x, y, text, transformers });
22
+ }
23
+ get() {
24
+ const output = [];
25
+ for (let y = 0; y < this.height; y++) {
26
+ output.push(' '.repeat(this.width));
27
+ }
28
+ for (const write of this.writes) {
29
+ const { x, y, text, transformers } = write;
30
+ const lines = text.split('\n');
31
+ let offsetY = 0;
32
+ for (let line of lines) {
33
+ const currentLine = output[y + offsetY];
34
+ // Line can be missing if `text` is taller than height of pre-initialized `this.output`
35
+ if (!currentLine) {
36
+ continue;
37
+ }
38
+ const width = string_width_1.default(line);
39
+ for (const transformer of transformers) {
40
+ line = transformer(line);
41
+ }
42
+ output[y + offsetY] =
43
+ slice_ansi_1.default(currentLine, 0, x) +
44
+ line +
45
+ slice_ansi_1.default(currentLine, x + width);
46
+ offsetY++;
47
+ }
48
+ }
49
+ // eslint-disable-next-line unicorn/prefer-trim-start-end
50
+ const generatedOutput = output.map(line => line.trimRight()).join('\n');
51
+ return {
52
+ output: generatedOutput,
53
+ height: output.length
54
+ };
55
+ }
56
+ }
57
+ exports.default = Output;
58
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../src/output.ts"],"names":[],"mappings":";;;;;AAAA,4DAAmC;AACnC,gEAAuC;AAwBvC,MAAqB,MAAM;IAO1B,YAAY,OAAgB;QAH5B,yGAAyG;QACxF,WAAM,GAAa,EAAE,CAAC;QAGtC,MAAM,EAAC,KAAK,EAAE,MAAM,EAAC,GAAG,OAAO,CAAC;QAEhC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC;IAED,KAAK,CACJ,CAAS,EACT,CAAS,EACT,IAAY,EACZ,OAA4C;QAE5C,MAAM,EAAC,YAAY,EAAC,GAAG,OAAO,CAAC;QAE/B,IAAI,CAAC,IAAI,EAAE;YACV,OAAO;SACP;QAED,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC,CAAC;IAC9C,CAAC;IAED,GAAG;QACF,MAAM,MAAM,GAAa,EAAE,CAAC;QAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,G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-reconciler';
2
+ import { TextNode, DOMElement } from './dom';
3
+ declare const _default: createReconciler.Reconciler<DOMElement, DOMElement, TextNode, DOMElement, unknown>;
4
+ export default _default;
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const scheduler_1 = require("scheduler");
7
+ const react_reconciler_1 = __importDefault(require("react-reconciler"));
8
+ const yoga_layout_prebuilt_1 = __importDefault(require("yoga-layout-prebuilt"));
9
+ const dom_1 = require("./dom");
10
+ // We need to conditionally perform devtools connection to avoid
11
+ // accidentally breaking other third-party code.
12
+ // See https://github.com/vadimdemedes/ink/issues/384
13
+ if (process.env.DEV === 'true') {
14
+ // eslint-disable-next-line import/no-unassigned-import
15
+ require('./devtools');
16
+ }
17
+ const cleanupYogaNode = (node) => {
18
+ node === null || node === void 0 ? void 0 : node.unsetMeasureFunc();
19
+ node === null || node === void 0 ? void 0 : node.freeRecursive();
20
+ };
21
+ exports.default = react_reconciler_1.default({
22
+ // @ts-ignore
23
+ schedulePassiveEffects: scheduler_1.unstable_scheduleCallback,
24
+ cancelPassiveEffects: scheduler_1.unstable_cancelCallback,
25
+ now: Date.now,
26
+ getRootHostContext: () => ({
27
+ isInsideText: false
28
+ }),
29
+ prepareForCommit: () => null,
30
+ preparePortalMount: () => null,
31
+ clearContainer: () => false,
32
+ shouldDeprioritizeSubtree: () => false,
33
+ resetAfterCommit: rootNode => {
34
+ // Since renders are throttled at the instance level and <Static> component children
35
+ // are rendered only once and then get deleted, we need an escape hatch to
36
+ // trigger an immediate render to ensure <Static> children are written to output before they get erased
37
+ if (rootNode.isStaticDirty) {
38
+ rootNode.isStaticDirty = false;
39
+ if (typeof rootNode.onImmediateRender === 'function') {
40
+ rootNode.onImmediateRender();
41
+ }
42
+ return;
43
+ }
44
+ if (typeof rootNode.onRender === 'function') {
45
+ rootNode.onRender();
46
+ }
47
+ },
48
+ getChildHostContext: (parentHostContext, type) => {
49
+ const previousIsInsideText = parentHostContext.isInsideText;
50
+ const isInsideText = type === 'ink-text' || type === 'ink-virtual-text';
51
+ if (previousIsInsideText === isInsideText) {
52
+ return parentHostContext;
53
+ }
54
+ return { isInsideText };
55
+ },
56
+ shouldSetTextContent: () => false,
57
+ createInstance: (originalType, newProps, _root, hostContext) => {
58
+ if (hostContext.isInsideText && originalType === 'ink-box') {
59
+ throw new Error(`<Box> can’t be nested inside <Text> component`);
60
+ }
61
+ const type = originalType === 'ink-text' && hostContext.isInsideText
62
+ ? 'ink-virtual-text'
63
+ : originalType;
64
+ const node = dom_1.createNode(type);
65
+ for (const [key, value] of Object.entries(newProps)) {
66
+ if (key === 'children') {
67
+ continue;
68
+ }
69
+ else if (key === 'style') {
70
+ dom_1.setStyle(node, value);
71
+ }
72
+ else if (key === 'internal_transform') {
73
+ node.internal_transform = value;
74
+ }
75
+ else if (key === 'internal_static') {
76
+ node.internal_static = true;
77
+ }
78
+ else {
79
+ dom_1.setAttribute(node, key, value);
80
+ }
81
+ }
82
+ return node;
83
+ },
84
+ createTextInstance: (text, _root, hostContext) => {
85
+ if (!hostContext.isInsideText) {
86
+ throw new Error(`Text string "${text}" must be rendered inside <Text> component`);
87
+ }
88
+ return dom_1.createTextNode(text);
89
+ },
90
+ resetTextContent: () => { },
91
+ hideTextInstance: node => {
92
+ dom_1.setTextNodeValue(node, '');
93
+ },
94
+ unhideTextInstance: (node, text) => {
95
+ dom_1.setTextNodeValue(node, text);
96
+ },
97
+ getPublicInstance: instance => instance,
98
+ hideInstance: node => {
99
+ var _a;
100
+ (_a = node.yogaNode) === null || _a === void 0 ? void 0 : _a.setDisplay(yoga_layout_prebuilt_1.default.DISPLAY_NONE);
101
+ },
102
+ unhideInstance: node => {
103
+ var _a;
104
+ (_a = node.yogaNode) === null || _a === void 0 ? void 0 : _a.setDisplay(yoga_layout_prebuilt_1.default.DISPLAY_FLEX);
105
+ },
106
+ appendInitialChild: dom_1.appendChildNode,
107
+ appendChild: dom_1.appendChildNode,
108
+ insertBefore: dom_1.insertBeforeNode,
109
+ finalizeInitialChildren: (node, _type, _props, rootNode) => {
110
+ if (node.internal_static) {
111
+ rootNode.isStaticDirty = true;
112
+ // Save reference to <Static> node to skip traversal of entire
113
+ // node tree to find it
114
+ rootNode.staticNode = node;
115
+ }
116
+ return false;
117
+ },
118
+ supportsMutation: true,
119
+ appendChildToContainer: dom_1.appendChildNode,
120
+ insertInContainerBefore: dom_1.insertBeforeNode,
121
+ removeChildFromContainer: (node, removeNode) => {
122
+ dom_1.removeChildNode(node, removeNode);
123
+ cleanupYogaNode(removeNode.yogaNode);
124
+ },
125
+ prepareUpdate: (node, _type, oldProps, newProps, rootNode) => {
126
+ if (node.internal_static) {
127
+ rootNode.isStaticDirty = true;
128
+ }
129
+ const updatePayload = {};
130
+ const keys = Object.keys(newProps);
131
+ for (const key of keys) {
132
+ if (newProps[key] !== oldProps[key]) {
133
+ const isStyle = key === 'style' &&
134
+ typeof newProps.style === 'object' &&
135
+ typeof oldProps.style === 'object';
136
+ if (isStyle) {
137
+ const newStyle = newProps.style;
138
+ const oldStyle = oldProps.style;
139
+ const styleKeys = Object.keys(newStyle);
140
+ for (const styleKey of styleKeys) {
141
+ // Always include `borderColor` and `borderStyle` to ensure border is rendered,
142
+ // otherwise resulting `updatePayload` may not contain them
143
+ // if they weren't changed during this update
144
+ if (styleKey === 'borderStyle' || styleKey === 'borderColor') {
145
+ if (typeof updatePayload.style !== 'object') {
146
+ // Linter didn't like `= {} as Style`
147
+ const style = {};
148
+ updatePayload.style = style;
149
+ }
150
+ updatePayload.style.borderStyle = newStyle.borderStyle;
151
+ updatePayload.style.borderColor = newStyle.borderColor;
152
+ }
153
+ if (newStyle[styleKey] !== oldStyle[styleKey]) {
154
+ if (typeof updatePayload.style !== 'object') {
155
+ // Linter didn't like `= {} as Style`
156
+ const style = {};
157
+ updatePayload.style = style;
158
+ }
159
+ updatePayload.style[styleKey] = newStyle[styleKey];
160
+ }
161
+ }
162
+ continue;
163
+ }
164
+ updatePayload[key] = newProps[key];
165
+ }
166
+ }
167
+ return updatePayload;
168
+ },
169
+ commitUpdate: (node, updatePayload) => {
170
+ for (const [key, value] of Object.entries(updatePayload)) {
171
+ if (key === 'children') {
172
+ continue;
173
+ }
174
+ else if (key === 'style') {
175
+ dom_1.setStyle(node, value);
176
+ }
177
+ else if (key === 'internal_transform') {
178
+ node.internal_transform = value;
179
+ }
180
+ else if (key === 'internal_static') {
181
+ node.internal_static = true;
182
+ }
183
+ else {
184
+ dom_1.setAttribute(node, key, value);
185
+ }
186
+ }
187
+ },
188
+ commitTextUpdate: (node, _oldText, newText) => {
189
+ dom_1.setTextNodeValue(node, newText);
190
+ },
191
+ removeChild: (node, removeNode) => {
192
+ dom_1.removeChildNode(node, removeNode);
193
+ cleanupYogaNode(removeNode.yogaNode);
194
+ }
195
+ });
196
+ //# sourceMappingURL=reconciler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reconciler.js","sourceRoot":"","sources":["../src/reconciler.ts"],"names":[],"mappings":";;;;;AAAA,yCAGmB;AACnB,wEAAgD;AAChD,gFAAwC;AACxC,+BAae;AAIf,gEAAgE;AAChE,gDAAgD;AAChD,qDAAqD;AACrD,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,MAAM,EAAE;IAC/B,uDAAuD;IACvD,OAAO,CAAC,YAAY,CAAC,CAAC;CACtB;AAED,MAAM,eAAe,GAAG,CAAC,IAAoB,EAAQ,EAAE;IACtD,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,gBAAgB,GAAG;IACzB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,aAAa,GAAG;AACvB,CAAC,CAAC;AAUF,kBAAe,0BAAgB,CAc7B;IACD,aAAa;IACb,sBAAsB,EAAtB,qCAAsB;IACtB,oBAAoB,EAApB,mCAAoB;IACpB,GAAG,EAAE,IAAI,CAAC,GAA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AAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;aAC5C;SACD;QAED,OAAO,aAAa,CAAC;IACtB,CAAC;IACD,YAAY,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,EAAE;QACrC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;YACzD,IAAI,GAAG,KAAK,UAAU,EAAE;gBACvB,SAAS;aACT;iBAAM,IAAI,GAAG,KAAK,OAAO,EAAE;gBAC3B,cAAQ,CAAC,IAAI,EAAE,KAAe,CAAC,CAAC;aAChC;iBAAM,IAAI,GAAG,KAAK,oBAAoB,EAAE;gBACxC,IAAI,CAAC,kBAAkB,GAAG,KAA0B,CAAC;aACrD;iBAAM,IAAI,GAAG,KAAK,iBAAiB,EAAE;gBACrC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;aAC5B;iBAAM;gBACN,kBAAY,CAAC,IAAI,EAAE,GAAG,EAAE,KAAyB,CAAC,CAAC;aACnD;SACD;IACF,CAAC;IACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;QAC7C,sBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE;QACjC,qBAAe,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAClC,eAAe,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IACtC,CAAC;CACD,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { DOMNode } from './dom';
2
+ import Output from './output';
3
+ declare const _default: (x: number, y: number, node: DOMNode, output: Output) => void;
4
+ export default _default;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const cli_boxes_1 = __importDefault(require("cli-boxes"));
7
+ const colorize_1 = __importDefault(require("./colorize"));
8
+ exports.default = (x, y, node, output) => {
9
+ if (typeof node.style.borderStyle === 'string') {
10
+ const width = node.yogaNode.getComputedWidth();
11
+ const height = node.yogaNode.getComputedHeight();
12
+ const color = node.style.borderColor;
13
+ const box = cli_boxes_1.default[node.style.borderStyle];
14
+ const topBorder = colorize_1.default(box.topLeft + box.horizontal.repeat(width - 2) + box.topRight, color, 'foreground');
15
+ const verticalBorder = (colorize_1.default(box.vertical, color, 'foreground') + '\n').repeat(height - 2);
16
+ const bottomBorder = colorize_1.default(box.bottomLeft + box.horizontal.repeat(width - 2) + box.bottomRight, color, 'foreground');
17
+ output.write(x, y, topBorder, { transformers: [] });
18
+ output.write(x, y + 1, verticalBorder, { transformers: [] });
19
+ output.write(x + width - 1, y + 1, verticalBorder, { transformers: [] });
20
+ output.write(x, y + height - 1, bottomBorder, { transformers: [] });
21
+ }
22
+ };
23
+ //# sourceMappingURL=render-border.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-border.js","sourceRoot":"","sources":["../src/render-border.ts"],"names":[],"mappings":";;;;;AAAA,0DAAiC;AACjC,0DAAkC;AAIlC,kBAAe,CAAC,CAAS,EAAE,CAAS,EAAE,IAAa,EAAE,MAAc,EAAQ,EAAE;IAC5E,IAAI,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,KAAK,QAAQ,EAAE;QAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,QAAS,CAAC,gBAAgB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,CAAC,QAAS,CAAC,iBAAiB,EAAE,CAAC;QAClD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;QACrC,MAAM,GAAG,GAAG,mBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAE7C,MAAM,SAAS,GAAG,kBAAQ,CACzB,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,QAAQ,EAC7D,KAAK,EACL,YAAY,CACZ,CAAC;QAEF,MAAM,cAAc,GAAG,CACtB,kBAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,YAAY,CAAC,GAAG,IAAI,CAClD,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAErB,MAAM,YAAY,GAAG,kBAAQ,CAC5B,GAAG,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,WAAW,EACnE,KAAK,EACL,YAAY,CACZ,CAAC;QAEF,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,EAAC,YAAY,EAAE,EAAE,EAAC,CAAC,CAAC;QAClD,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,EAAC,YAAY,EAAE,EAAE,EAAC,CAAC,CAAC;QAC3D,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,EAAC,YAAY,EAAE,EAAE,EAAC,CAAC,CAAC;QACvE,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,GAAG,CAAC,EAAE,YAAY,EAAE,EAAC,YAAY,EAAE,EAAE,EAAC,CAAC,CAAC;KAClE;AACF,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { DOMElement } from './dom';
2
+ import Output from './output';
3
+ export declare type OutputTransformer = (s: string) => string;
4
+ declare const renderNodeToOutput: (node: DOMElement, output: Output, options: {
5
+ offsetX?: number;
6
+ offsetY?: number;
7
+ transformers?: OutputTransformer[];
8
+ skipStaticElements: boolean;
9
+ }) => void;
10
+ export default renderNodeToOutput;
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const yoga_layout_prebuilt_1 = __importDefault(require("yoga-layout-prebuilt"));
7
+ const widest_line_1 = __importDefault(require("widest-line"));
8
+ const indent_string_1 = __importDefault(require("indent-string"));
9
+ const wrap_text_1 = __importDefault(require("./wrap-text"));
10
+ const get_max_width_1 = __importDefault(require("./get-max-width"));
11
+ const squash_text_nodes_1 = __importDefault(require("./squash-text-nodes"));
12
+ const render_border_1 = __importDefault(require("./render-border"));
13
+ // If parent container is `<Box>`, text nodes will be treated as separate nodes in
14
+ // the tree and will have their own coordinates in the layout.
15
+ // To ensure text nodes are aligned correctly, take X and Y of the first text node
16
+ // and use it as offset for the rest of the nodes
17
+ // Only first node is taken into account, because other text nodes can't have margin or padding,
18
+ // so their coordinates will be relative to the first node anyway
19
+ const applyPaddingToText = (node, text) => {
20
+ var _a;
21
+ const yogaNode = (_a = node.childNodes[0]) === null || _a === void 0 ? void 0 : _a.yogaNode;
22
+ if (yogaNode) {
23
+ const offsetX = yogaNode.getComputedLeft();
24
+ const offsetY = yogaNode.getComputedTop();
25
+ text = '\n'.repeat(offsetY) + indent_string_1.default(text, offsetX);
26
+ }
27
+ return text;
28
+ };
29
+ // After nodes are laid out, render each to output object, which later gets rendered to terminal
30
+ const renderNodeToOutput = (node, output, options) => {
31
+ var _a;
32
+ const { offsetX = 0, offsetY = 0, transformers = [], skipStaticElements } = options;
33
+ if (skipStaticElements && node.internal_static) {
34
+ return;
35
+ }
36
+ const { yogaNode } = node;
37
+ if (yogaNode) {
38
+ if (yogaNode.getDisplay() === yoga_layout_prebuilt_1.default.DISPLAY_NONE) {
39
+ return;
40
+ }
41
+ // Left and top positions in Yoga are relative to their parent node
42
+ const x = offsetX + yogaNode.getComputedLeft();
43
+ const y = offsetY + yogaNode.getComputedTop();
44
+ // Transformers are functions that transform final text output of each component
45
+ // See Output class for logic that applies transformers
46
+ let newTransformers = transformers;
47
+ if (typeof node.internal_transform === 'function') {
48
+ newTransformers = [node.internal_transform, ...transformers];
49
+ }
50
+ if (node.nodeName === 'ink-text') {
51
+ let text = squash_text_nodes_1.default(node);
52
+ if (text.length > 0) {
53
+ const currentWidth = widest_line_1.default(text);
54
+ const maxWidth = get_max_width_1.default(yogaNode);
55
+ if (currentWidth > maxWidth) {
56
+ const textWrap = (_a = node.style.textWrap) !== null && _a !== void 0 ? _a : 'wrap';
57
+ text = wrap_text_1.default(text, maxWidth, textWrap);
58
+ }
59
+ text = applyPaddingToText(node, text);
60
+ output.write(x, y, text, { transformers: newTransformers });
61
+ }
62
+ return;
63
+ }
64
+ if (node.nodeName === 'ink-box') {
65
+ render_border_1.default(x, y, node, output);
66
+ }
67
+ if (node.nodeName === 'ink-root' || node.nodeName === 'ink-box') {
68
+ for (const childNode of node.childNodes) {
69
+ renderNodeToOutput(childNode, output, {
70
+ offsetX: x,
71
+ offsetY: y,
72
+ transformers: newTransformers,
73
+ skipStaticElements
74
+ });
75
+ }
76
+ }
77
+ }
78
+ };
79
+ exports.default = renderNodeToOutput;
80
+ //# sourceMappingURL=render-node-to-output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-node-to-output.js","sourceRoot":"","sources":["../src/render-node-to-output.ts"],"names":[],"mappings":";;;;;AAAA,gFAAwC;AACxC,8DAAqC;AACrC,kEAAyC;AACzC,4DAAmC;AACnC,oEAA0C;AAC1C,4EAAkD;AAClD,oEAA2C;AAI3C,kFAAkF;AAClF,8DAA8D;AAC9D,kFAAkF;AAClF,iDAAiD;AACjD,gGAAgG;AAChG,iEAAiE;AACjE,MAAM,kBAAkB,GAAG,CAAC,IAAgB,EAAE,IAAY,EAAU,EAAE;;IACrE,MAAM,QAAQ,SAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,0CAAE,QAAQ,CA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AE;gBACpB,MAAM,YAAY,GAAG,qBAAU,CAAC,IAAI,CAAC,CAAC;gBACtC,MAAM,QAAQ,GAAG,uBAAW,CAAC,QAAQ,CAAC,CAAC;gBAEvC,IAAI,YAAY,GAAG,QAAQ,EAAE;oBAC5B,MAAM,QAAQ,SAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,mCAAI,MAAM,CAAC;oBAC/C,IAAI,GAAG,mBAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;iBAC1C;gBAED,IAAI,GAAG,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBACtC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,EAAC,YAAY,EAAE,eAAe,EAAC,CAAC,CAAC;aAC1D;YAED,OAAO;SACP;QAED,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE;YAChC,uBAAY,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;SACjC;QAED,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE;YAChE,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE;gBACxC,kBAAkB,CAAC,SAAuB,EAAE,MAAM,EAAE;oBACnD,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,CAAC;oBACV,YAAY,EAAE,eAAe;oBAC7B,kBAAkB;iBAClB,CAAC,CAAC;aACH;SACD;KACD;AACF,CAAC,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
@@ -0,0 +1,65 @@
1
+ /// <reference types="node" />
2
+ import { ReactElement } from 'react';
3
+ import Ink from './ink';
4
+ export interface RenderOptions {
5
+ /**
6
+ * Output stream where app will be rendered.
7
+ *
8
+ * @default process.stdout
9
+ */
10
+ stdout?: NodeJS.WriteStream;
11
+ /**
12
+ * Input stream where app will listen for input.
13
+ *
14
+ * @default process.stdin
15
+ */
16
+ stdin?: NodeJS.ReadStream;
17
+ /**
18
+ * Error stream.
19
+ * @default process.stderr
20
+ */
21
+ stderr?: NodeJS.WriteStream;
22
+ /**
23
+ * If true, each update will be rendered as a separate output, without replacing the previous one.
24
+ *
25
+ * @default false
26
+ */
27
+ debug?: boolean;
28
+ /**
29
+ * Configure whether Ink should listen to Ctrl+C keyboard input and exit the app. This is needed in case `process.stdin` is in raw mode, because then Ctrl+C is ignored by default and process is expected to handle it manually.
30
+ *
31
+ * @default true
32
+ */
33
+ exitOnCtrlC?: boolean;
34
+ /**
35
+ * Patch console methods to ensure console output doesn't mix with Ink output.
36
+ *
37
+ * @default true
38
+ */
39
+ patchConsole?: boolean;
40
+ }
41
+ export interface Instance {
42
+ /**
43
+ * Replace previous root node with a new one or update props of the current root node.
44
+ */
45
+ rerender: Ink['render'];
46
+ /**
47
+ * Manually unmount the whole Ink app.
48
+ */
49
+ unmount: Ink['unmount'];
50
+ /**
51
+ * Returns a promise, which resolves when app is unmounted.
52
+ */
53
+ waitUntilExit: Ink['waitUntilExit'];
54
+ cleanup: () => void;
55
+ /**
56
+ * Clear output.
57
+ */
58
+ clear: () => void;
59
+ }
60
+ declare type RenderFunction = <Props, K extends NodeJS.WriteStream | RenderOptions>(tree: ReactElement<Props>, options?: K) => Instance;
61
+ /**
62
+ * Mount a component and render the output.
63
+ */
64
+ declare const render: RenderFunction;
65
+ export default render;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const ink_1 = __importDefault(require("./ink"));
7
+ const instances_1 = __importDefault(require("./instances"));
8
+ const stream_1 = require("stream");
9
+ /**
10
+ * Mount a component and render the output.
11
+ */
12
+ const render = (node, options) => {
13
+ const inkOptions = Object.assign({ stdout: process.stdout, stdin: process.stdin, stderr: process.stderr, debug: false, exitOnCtrlC: true, patchConsole: true }, getOptions(options));
14
+ const instance = getInstance(inkOptions.stdout, () => new ink_1.default(inkOptions));
15
+ instance.render(node);
16
+ return {
17
+ rerender: instance.render,
18
+ unmount: () => instance.unmount(),
19
+ waitUntilExit: instance.waitUntilExit,
20
+ cleanup: () => instances_1.default.delete(inkOptions.stdout),
21
+ clear: instance.clear
22
+ };
23
+ };
24
+ exports.default = render;
25
+ const getOptions = (stdout = {}) => {
26
+ if (stdout instanceof stream_1.Stream) {
27
+ return {
28
+ stdout,
29
+ stdin: process.stdin
30
+ };
31
+ }
32
+ return stdout;
33
+ };
34
+ const getInstance = (stdout, createInstance) => {
35
+ let instance;
36
+ if (instances_1.default.has(stdout)) {
37
+ instance = instances_1.default.get(stdout);
38
+ }
39
+ else {
40
+ instance = createInstance();
41
+ instances_1.default.set(stdout, instance);
42
+ }
43
+ return instance;
44
+ };
45
+ //# sourceMappingURL=render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.js","sourceRoot":"","sources":["../src/render.ts"],"names":[],"mappings":";;;;;AACA,gDAAiD;AACjD,4DAAoC;AACpC,mCAA8B;AAmE9B;;GAEG;AACH,MAAM,MAAM,GAAmB,CAAC,IAAI,EAAE,OAAO,EAAY,EAAE;IAC1D,MAAM,UAAU,mBACf,MAAM,EAAE,OAAO,CAAC,MAAM,EACtB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,MAAM,EAAE,OAAO,CAAC,MAAM,EACtB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,IAAI,EACjB,YAAY,EAAE,IAAI,IACf,UAAU,CAAC,OAAO,CAAC,CACtB,CAAC;IAEF,MAAM,QAAQ,GAAQ,WAAW,CAChC,UAAU,CAAC,MAAM,EACjB,GAAG,EAAE,CAAC,IAAI,aAAG,CAAC,UAAU,CAAC,CACzB,CAAC;IAEF,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAEtB,OAAO;QACN,QAAQ,EAAE,QAAQ,CAAC,MAAM;QACzB,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,EAAE;QACjC,aAAa,EAAE,QAAQ,CAAC,aAAa;QACrC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAS,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC;QAClD,KAAK,EAAE,QAAQ,CAAC,KAAK;KACrB,CAAC;AACH,CAAC,CAAC;AAEF,kBAAe,MAAM,CAAC;AAEtB,MAAM,UAAU,GAAG,CAClB,SAAyD,EAAE,EAC3C,EAAE;IAClB,IAAI,MAAM,YAAY,eAAM,EAAE;QAC7B,OAAO;YACN,MAAM;YACN,KAAK,EAAE,OAAO,CAAC,KAAK;SACpB,CAAC;KACF;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CACnB,MAA0B,EAC1B,cAAyB,EACnB,EAAE;IACR,IAAI,QAAa,CAAC;IAElB,IAAI,mBAAS,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;QAC1B,QAAQ,GAAG,mBAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;KACjC;SAAM;QACN,QAAQ,GAAG,cAAc,EAAE,CAAC;QAC5B,mBAAS,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;KAChC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { DOMElement } from './dom';
2
+ interface Result {
3
+ output: string;
4
+ outputHeight: number;
5
+ staticOutput: string;
6
+ }
7
+ declare const _default: (node: DOMElement, terminalWidth: number) => Result;
8
+ export default _default;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const yoga_layout_prebuilt_1 = __importDefault(require("yoga-layout-prebuilt"));
7
+ const render_node_to_output_1 = __importDefault(require("./render-node-to-output"));
8
+ const output_1 = __importDefault(require("./output"));
9
+ exports.default = (node, terminalWidth) => {
10
+ var _a;
11
+ node.yogaNode.setWidth(terminalWidth);
12
+ if (node.yogaNode) {
13
+ node.yogaNode.calculateLayout(undefined, undefined, yoga_layout_prebuilt_1.default.DIRECTION_LTR);
14
+ const output = new output_1.default({
15
+ width: node.yogaNode.getComputedWidth(),
16
+ height: node.yogaNode.getComputedHeight()
17
+ });
18
+ render_node_to_output_1.default(node, output, { skipStaticElements: true });
19
+ let staticOutput;
20
+ if ((_a = node.staticNode) === null || _a === void 0 ? void 0 : _a.yogaNode) {
21
+ staticOutput = new output_1.default({
22
+ width: node.staticNode.yogaNode.getComputedWidth(),
23
+ height: node.staticNode.yogaNode.getComputedHeight()
24
+ });
25
+ render_node_to_output_1.default(node.staticNode, staticOutput, {
26
+ skipStaticElements: false
27
+ });
28
+ }
29
+ const { output: generatedOutput, height: outputHeight } = output.get();
30
+ return {
31
+ output: generatedOutput,
32
+ outputHeight,
33
+ // Newline at the end is needed, because static output doesn't have one, so
34
+ // interactive output will override last line of static output
35
+ staticOutput: staticOutput ? `${staticOutput.get().output}\n` : ''
36
+ };
37
+ }
38
+ return {
39
+ output: '',
40
+ outputHeight: 0,
41
+ staticOutput: ''
42
+ };
43
+ };
44
+ //# sourceMappingURL=renderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderer.js","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":";;;;;AAAA,gFAAwC;AACxC,oFAAyD;AACzD,sDAA8B;AAS9B,kBAAe,CAAC,IAAgB,EAAE,aAAqB,EAAU,EAAE;;IAClE,IAAI,CAAC,QAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;IAEvC,IAAI,IAAI,CAAC,QAAQ,EAAE;QAClB,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,EAAE,SAAS,EAAE,8BAAI,CAAC,aAAa,CAAC,CAAC;QAExE,MAAM,MAAM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