wice_grid 6.1.3 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2710) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.rspec +1 -1
  4. data/CHANGELOG.md +18 -13
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +409 -214
  7. data/Guardfile +71 -0
  8. data/README.md +96 -53
  9. data/app/views/kaminari/wice_grid/_paginator.html.erb +2 -2
  10. data/config/locales/is.yml +1 -1
  11. data/lib/wice/columns/column_action.rb +2 -2
  12. data/lib/wice/columns/column_bootstrap_datepicker.rb +6 -6
  13. data/lib/wice/columns/column_jquery_datepicker.rb +8 -8
  14. data/lib/wice/grid_output_buffer.rb +4 -0
  15. data/lib/wice/grid_renderer.rb +27 -27
  16. data/lib/wice/helpers/js_calendar_helpers.rb +1 -1
  17. data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +7 -7
  18. data/lib/wice/helpers/wice_grid_view_helpers.rb +25 -25
  19. data/lib/wice/table_column_matrix.rb +3 -7
  20. data/lib/wice/wice_grid_controller.rb +2 -2
  21. data/lib/wice_grid.rb +8 -2
  22. data/node_modules/.bin/browserslist +1 -0
  23. data/node_modules/.bin/cake +1 -0
  24. data/node_modules/.bin/coffee +1 -0
  25. data/node_modules/.bin/decaffeinate +1 -0
  26. data/node_modules/.bin/esparse +1 -0
  27. data/node_modules/.bin/esvalidate +1 -0
  28. data/node_modules/.bin/is-ci +1 -0
  29. data/node_modules/.bin/is-ci-cli +1 -0
  30. data/node_modules/.bin/jsesc +1 -0
  31. data/node_modules/.bin/json5 +1 -0
  32. data/node_modules/.bin/node-which +1 -0
  33. data/node_modules/.bin/parser +1 -0
  34. data/node_modules/.bin/resolve +1 -0
  35. data/node_modules/.bin/semver +1 -0
  36. data/node_modules/.bin/update-browserslist-db +1 -0
  37. data/node_modules/.yarn-integrity +131 -0
  38. data/node_modules/@ampproject/remapping/LICENSE +202 -0
  39. data/node_modules/@ampproject/remapping/README.md +218 -0
  40. data/node_modules/@ampproject/remapping/dist/remapping.mjs +197 -0
  41. data/node_modules/@ampproject/remapping/dist/remapping.mjs.map +1 -0
  42. data/node_modules/@ampproject/remapping/dist/remapping.umd.js +202 -0
  43. data/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +1 -0
  44. data/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +14 -0
  45. data/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +20 -0
  46. data/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +45 -0
  47. data/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +18 -0
  48. data/node_modules/@ampproject/remapping/dist/types/types.d.ts +15 -0
  49. data/node_modules/@ampproject/remapping/package.json +75 -0
  50. data/node_modules/@babel/code-frame/LICENSE +22 -0
  51. data/node_modules/@babel/code-frame/README.md +19 -0
  52. data/node_modules/@babel/code-frame/lib/index.js +156 -0
  53. data/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  54. data/node_modules/@babel/code-frame/package.json +30 -0
  55. data/node_modules/@babel/compat-data/LICENSE +22 -0
  56. data/node_modules/@babel/compat-data/README.md +19 -0
  57. data/node_modules/@babel/compat-data/corejs2-built-ins.js +2 -0
  58. data/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +2 -0
  59. data/node_modules/@babel/compat-data/data/corejs2-built-ins.json +2090 -0
  60. data/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +5 -0
  61. data/node_modules/@babel/compat-data/data/native-modules.json +18 -0
  62. data/node_modules/@babel/compat-data/data/overlapping-plugins.json +33 -0
  63. data/node_modules/@babel/compat-data/data/plugin-bugfixes.json +213 -0
  64. data/node_modules/@babel/compat-data/data/plugins.json +794 -0
  65. data/node_modules/@babel/compat-data/native-modules.js +1 -0
  66. data/node_modules/@babel/compat-data/overlapping-plugins.js +1 -0
  67. data/node_modules/@babel/compat-data/package.json +40 -0
  68. data/node_modules/@babel/compat-data/plugin-bugfixes.js +1 -0
  69. data/node_modules/@babel/compat-data/plugins.js +1 -0
  70. data/node_modules/@babel/core/LICENSE +22 -0
  71. data/node_modules/@babel/core/README.md +19 -0
  72. data/node_modules/@babel/core/cjs-proxy.cjs +59 -0
  73. data/node_modules/@babel/core/lib/config/cache-contexts.js +3 -0
  74. data/node_modules/@babel/core/lib/config/cache-contexts.js.map +1 -0
  75. data/node_modules/@babel/core/lib/config/caching.js +261 -0
  76. data/node_modules/@babel/core/lib/config/caching.js.map +1 -0
  77. data/node_modules/@babel/core/lib/config/config-chain.js +469 -0
  78. data/node_modules/@babel/core/lib/config/config-chain.js.map +1 -0
  79. data/node_modules/@babel/core/lib/config/config-descriptors.js +190 -0
  80. data/node_modules/@babel/core/lib/config/config-descriptors.js.map +1 -0
  81. data/node_modules/@babel/core/lib/config/files/configuration.js +286 -0
  82. data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -0
  83. data/node_modules/@babel/core/lib/config/files/import.cjs +6 -0
  84. data/node_modules/@babel/core/lib/config/files/import.cjs.map +1 -0
  85. data/node_modules/@babel/core/lib/config/files/index-browser.js +58 -0
  86. data/node_modules/@babel/core/lib/config/files/index-browser.js.map +1 -0
  87. data/node_modules/@babel/core/lib/config/files/index.js +78 -0
  88. data/node_modules/@babel/core/lib/config/files/index.js.map +1 -0
  89. data/node_modules/@babel/core/lib/config/files/module-types.js +176 -0
  90. data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -0
  91. data/node_modules/@babel/core/lib/config/files/package.js +61 -0
  92. data/node_modules/@babel/core/lib/config/files/package.js.map +1 -0
  93. data/node_modules/@babel/core/lib/config/files/plugins.js +217 -0
  94. data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -0
  95. data/node_modules/@babel/core/lib/config/files/types.js +3 -0
  96. data/node_modules/@babel/core/lib/config/files/types.js.map +1 -0
  97. data/node_modules/@babel/core/lib/config/files/utils.js +36 -0
  98. data/node_modules/@babel/core/lib/config/files/utils.js.map +1 -0
  99. data/node_modules/@babel/core/lib/config/full.js +310 -0
  100. data/node_modules/@babel/core/lib/config/full.js.map +1 -0
  101. data/node_modules/@babel/core/lib/config/helpers/config-api.js +84 -0
  102. data/node_modules/@babel/core/lib/config/helpers/config-api.js.map +1 -0
  103. data/node_modules/@babel/core/lib/config/helpers/deep-array.js +23 -0
  104. data/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +1 -0
  105. data/node_modules/@babel/core/lib/config/helpers/environment.js +12 -0
  106. data/node_modules/@babel/core/lib/config/helpers/environment.js.map +1 -0
  107. data/node_modules/@babel/core/lib/config/index.js +93 -0
  108. data/node_modules/@babel/core/lib/config/index.js.map +1 -0
  109. data/node_modules/@babel/core/lib/config/item.js +67 -0
  110. data/node_modules/@babel/core/lib/config/item.js.map +1 -0
  111. data/node_modules/@babel/core/lib/config/partial.js +158 -0
  112. data/node_modules/@babel/core/lib/config/partial.js.map +1 -0
  113. data/node_modules/@babel/core/lib/config/pattern-to-regex.js +38 -0
  114. data/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +1 -0
  115. data/node_modules/@babel/core/lib/config/plugin.js +33 -0
  116. data/node_modules/@babel/core/lib/config/plugin.js.map +1 -0
  117. data/node_modules/@babel/core/lib/config/printer.js +113 -0
  118. data/node_modules/@babel/core/lib/config/printer.js.map +1 -0
  119. data/node_modules/@babel/core/lib/config/resolve-targets-browser.js +41 -0
  120. data/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +1 -0
  121. data/node_modules/@babel/core/lib/config/resolve-targets.js +61 -0
  122. data/node_modules/@babel/core/lib/config/resolve-targets.js.map +1 -0
  123. data/node_modules/@babel/core/lib/config/util.js +31 -0
  124. data/node_modules/@babel/core/lib/config/util.js.map +1 -0
  125. data/node_modules/@babel/core/lib/config/validation/option-assertions.js +277 -0
  126. data/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +1 -0
  127. data/node_modules/@babel/core/lib/config/validation/options.js +189 -0
  128. data/node_modules/@babel/core/lib/config/validation/options.js.map +1 -0
  129. data/node_modules/@babel/core/lib/config/validation/plugins.js +67 -0
  130. data/node_modules/@babel/core/lib/config/validation/plugins.js.map +1 -0
  131. data/node_modules/@babel/core/lib/config/validation/removed.js +68 -0
  132. data/node_modules/@babel/core/lib/config/validation/removed.js.map +1 -0
  133. data/node_modules/@babel/core/lib/errors/config-error.js +18 -0
  134. data/node_modules/@babel/core/lib/errors/config-error.js.map +1 -0
  135. data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +98 -0
  136. data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +1 -0
  137. data/node_modules/@babel/core/lib/gensync-utils/async.js +90 -0
  138. data/node_modules/@babel/core/lib/gensync-utils/async.js.map +1 -0
  139. data/node_modules/@babel/core/lib/gensync-utils/fs.js +31 -0
  140. data/node_modules/@babel/core/lib/gensync-utils/fs.js.map +1 -0
  141. data/node_modules/@babel/core/lib/gensync-utils/functional.js +58 -0
  142. data/node_modules/@babel/core/lib/gensync-utils/functional.js.map +1 -0
  143. data/node_modules/@babel/core/lib/index.js +242 -0
  144. data/node_modules/@babel/core/lib/index.js.map +1 -0
  145. data/node_modules/@babel/core/lib/parse.js +47 -0
  146. data/node_modules/@babel/core/lib/parse.js.map +1 -0
  147. data/node_modules/@babel/core/lib/parser/index.js +79 -0
  148. data/node_modules/@babel/core/lib/parser/index.js.map +1 -0
  149. data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +339 -0
  150. data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +1 -0
  151. data/node_modules/@babel/core/lib/tools/build-external-helpers.js +144 -0
  152. data/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +1 -0
  153. data/node_modules/@babel/core/lib/transform-ast.js +50 -0
  154. data/node_modules/@babel/core/lib/transform-ast.js.map +1 -0
  155. data/node_modules/@babel/core/lib/transform-file-browser.js +23 -0
  156. data/node_modules/@babel/core/lib/transform-file-browser.js.map +1 -0
  157. data/node_modules/@babel/core/lib/transform-file.js +40 -0
  158. data/node_modules/@babel/core/lib/transform-file.js.map +1 -0
  159. data/node_modules/@babel/core/lib/transform.js +49 -0
  160. data/node_modules/@babel/core/lib/transform.js.map +1 -0
  161. data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +84 -0
  162. data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +1 -0
  163. data/node_modules/@babel/core/lib/transformation/file/file.js +216 -0
  164. data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -0
  165. data/node_modules/@babel/core/lib/transformation/file/generate.js +84 -0
  166. data/node_modules/@babel/core/lib/transformation/file/generate.js.map +1 -0
  167. data/node_modules/@babel/core/lib/transformation/file/merge-map.js +37 -0
  168. data/node_modules/@babel/core/lib/transformation/file/merge-map.js.map +1 -0
  169. data/node_modules/@babel/core/lib/transformation/index.js +101 -0
  170. data/node_modules/@babel/core/lib/transformation/index.js.map +1 -0
  171. data/node_modules/@babel/core/lib/transformation/normalize-file.js +129 -0
  172. data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -0
  173. data/node_modules/@babel/core/lib/transformation/normalize-opts.js +59 -0
  174. data/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +1 -0
  175. data/node_modules/@babel/core/lib/transformation/plugin-pass.js +48 -0
  176. data/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +1 -0
  177. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +36 -0
  178. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -0
  179. data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +1043 -0
  180. data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +1 -0
  181. data/node_modules/@babel/core/node_modules/.bin/json5 +1 -0
  182. data/node_modules/@babel/core/node_modules/.bin/parser +1 -0
  183. data/node_modules/@babel/core/node_modules/.bin/semver +1 -0
  184. data/node_modules/@babel/core/package.json +82 -0
  185. data/node_modules/@babel/core/src/config/files/index-browser.ts +109 -0
  186. data/node_modules/@babel/core/src/config/files/index.ts +29 -0
  187. data/node_modules/@babel/core/src/config/resolve-targets-browser.ts +40 -0
  188. data/node_modules/@babel/core/src/config/resolve-targets.ts +56 -0
  189. data/node_modules/@babel/core/src/transform-file-browser.ts +31 -0
  190. data/node_modules/@babel/core/src/transform-file.ts +55 -0
  191. data/node_modules/@babel/generator/LICENSE +22 -0
  192. data/node_modules/@babel/generator/README.md +19 -0
  193. data/node_modules/@babel/generator/lib/buffer.js +323 -0
  194. data/node_modules/@babel/generator/lib/buffer.js.map +1 -0
  195. data/node_modules/@babel/generator/lib/generators/base.js +92 -0
  196. data/node_modules/@babel/generator/lib/generators/base.js.map +1 -0
  197. data/node_modules/@babel/generator/lib/generators/classes.js +177 -0
  198. data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -0
  199. data/node_modules/@babel/generator/lib/generators/expressions.js +309 -0
  200. data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -0
  201. data/node_modules/@babel/generator/lib/generators/flow.js +668 -0
  202. data/node_modules/@babel/generator/lib/generators/flow.js.map +1 -0
  203. data/node_modules/@babel/generator/lib/generators/index.js +128 -0
  204. data/node_modules/@babel/generator/lib/generators/index.js.map +1 -0
  205. data/node_modules/@babel/generator/lib/generators/jsx.js +123 -0
  206. data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -0
  207. data/node_modules/@babel/generator/lib/generators/methods.js +173 -0
  208. data/node_modules/@babel/generator/lib/generators/methods.js.map +1 -0
  209. data/node_modules/@babel/generator/lib/generators/modules.js +274 -0
  210. data/node_modules/@babel/generator/lib/generators/modules.js.map +1 -0
  211. data/node_modules/@babel/generator/lib/generators/statements.js +275 -0
  212. data/node_modules/@babel/generator/lib/generators/statements.js.map +1 -0
  213. data/node_modules/@babel/generator/lib/generators/template-literals.js +31 -0
  214. data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -0
  215. data/node_modules/@babel/generator/lib/generators/types.js +225 -0
  216. data/node_modules/@babel/generator/lib/generators/types.js.map +1 -0
  217. data/node_modules/@babel/generator/lib/generators/typescript.js +690 -0
  218. data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -0
  219. data/node_modules/@babel/generator/lib/index.js +89 -0
  220. data/node_modules/@babel/generator/lib/index.js.map +1 -0
  221. data/node_modules/@babel/generator/lib/node/index.js +76 -0
  222. data/node_modules/@babel/generator/lib/node/index.js.map +1 -0
  223. data/node_modules/@babel/generator/lib/node/parentheses.js +225 -0
  224. data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -0
  225. data/node_modules/@babel/generator/lib/node/whitespace.js +145 -0
  226. data/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -0
  227. data/node_modules/@babel/generator/lib/printer.js +684 -0
  228. data/node_modules/@babel/generator/lib/printer.js.map +1 -0
  229. data/node_modules/@babel/generator/lib/source-map.js +85 -0
  230. data/node_modules/@babel/generator/lib/source-map.js.map +1 -0
  231. data/node_modules/@babel/generator/node_modules/.bin/jsesc +1 -0
  232. data/node_modules/@babel/generator/package.json +38 -0
  233. data/node_modules/@babel/helper-compilation-targets/LICENSE +22 -0
  234. data/node_modules/@babel/helper-compilation-targets/README.md +19 -0
  235. data/node_modules/@babel/helper-compilation-targets/lib/debug.js +28 -0
  236. data/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +1 -0
  237. data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +67 -0
  238. data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +1 -0
  239. data/node_modules/@babel/helper-compilation-targets/lib/index.js +224 -0
  240. data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -0
  241. data/node_modules/@babel/helper-compilation-targets/lib/options.js +24 -0
  242. data/node_modules/@babel/helper-compilation-targets/lib/options.js.map +1 -0
  243. data/node_modules/@babel/helper-compilation-targets/lib/pretty.js +40 -0
  244. data/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +1 -0
  245. data/node_modules/@babel/helper-compilation-targets/lib/targets.js +28 -0
  246. data/node_modules/@babel/helper-compilation-targets/lib/targets.js.map +1 -0
  247. data/node_modules/@babel/helper-compilation-targets/lib/utils.js +58 -0
  248. data/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +1 -0
  249. data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +1 -0
  250. data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +1 -0
  251. data/node_modules/@babel/helper-compilation-targets/package.json +43 -0
  252. data/node_modules/@babel/helper-environment-visitor/LICENSE +22 -0
  253. data/node_modules/@babel/helper-environment-visitor/README.md +19 -0
  254. data/node_modules/@babel/helper-environment-visitor/lib/index.js +51 -0
  255. data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +1 -0
  256. data/node_modules/@babel/helper-environment-visitor/package.json +34 -0
  257. data/node_modules/@babel/helper-function-name/LICENSE +22 -0
  258. data/node_modules/@babel/helper-function-name/README.md +19 -0
  259. data/node_modules/@babel/helper-function-name/lib/index.js +170 -0
  260. data/node_modules/@babel/helper-function-name/lib/index.js.map +1 -0
  261. data/node_modules/@babel/helper-function-name/package.json +28 -0
  262. data/node_modules/@babel/helper-hoist-variables/LICENSE +22 -0
  263. data/node_modules/@babel/helper-hoist-variables/README.md +19 -0
  264. data/node_modules/@babel/helper-hoist-variables/lib/index.js +50 -0
  265. data/node_modules/@babel/helper-hoist-variables/lib/index.js.map +1 -0
  266. data/node_modules/@babel/helper-hoist-variables/package.json +27 -0
  267. data/node_modules/@babel/helper-module-imports/LICENSE +22 -0
  268. data/node_modules/@babel/helper-module-imports/README.md +19 -0
  269. data/node_modules/@babel/helper-module-imports/lib/import-builder.js +122 -0
  270. data/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -0
  271. data/node_modules/@babel/helper-module-imports/lib/import-injector.js +304 -0
  272. data/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -0
  273. data/node_modules/@babel/helper-module-imports/lib/index.js +37 -0
  274. data/node_modules/@babel/helper-module-imports/lib/index.js.map +1 -0
  275. data/node_modules/@babel/helper-module-imports/lib/is-module.js +11 -0
  276. data/node_modules/@babel/helper-module-imports/lib/is-module.js.map +1 -0
  277. data/node_modules/@babel/helper-module-imports/package.json +28 -0
  278. data/node_modules/@babel/helper-module-transforms/LICENSE +22 -0
  279. data/node_modules/@babel/helper-module-transforms/README.md +19 -0
  280. data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +48 -0
  281. data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +1 -0
  282. data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +48 -0
  283. data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +1 -0
  284. data/node_modules/@babel/helper-module-transforms/lib/index.js +380 -0
  285. data/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -0
  286. data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js +31 -0
  287. data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.map +1 -0
  288. data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +358 -0
  289. data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +1 -0
  290. data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +376 -0
  291. data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +1 -0
  292. data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +24 -0
  293. data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map +1 -0
  294. data/node_modules/@babel/helper-module-transforms/package.json +34 -0
  295. data/node_modules/@babel/helper-simple-access/LICENSE +22 -0
  296. data/node_modules/@babel/helper-simple-access/README.md +19 -0
  297. data/node_modules/@babel/helper-simple-access/lib/index.js +91 -0
  298. data/node_modules/@babel/helper-simple-access/lib/index.js.map +1 -0
  299. data/node_modules/@babel/helper-simple-access/package.json +28 -0
  300. data/node_modules/@babel/helper-split-export-declaration/LICENSE +22 -0
  301. data/node_modules/@babel/helper-split-export-declaration/README.md +19 -0
  302. data/node_modules/@babel/helper-split-export-declaration/lib/index.js +59 -0
  303. data/node_modules/@babel/helper-split-export-declaration/lib/index.js.map +1 -0
  304. data/node_modules/@babel/helper-split-export-declaration/package.json +27 -0
  305. data/node_modules/@babel/helper-string-parser/LICENSE +22 -0
  306. data/node_modules/@babel/helper-string-parser/README.md +19 -0
  307. data/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
  308. data/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
  309. data/node_modules/@babel/helper-string-parser/package.json +31 -0
  310. data/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  311. data/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  312. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  313. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  314. data/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  315. data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  316. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  317. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  318. data/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  319. data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +73 -0
  320. data/node_modules/@babel/helper-validator-option/LICENSE +22 -0
  321. data/node_modules/@babel/helper-validator-option/README.md +19 -0
  322. data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +39 -0
  323. data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map +1 -0
  324. data/node_modules/@babel/helper-validator-option/lib/index.js +21 -0
  325. data/node_modules/@babel/helper-validator-option/lib/index.js.map +1 -0
  326. data/node_modules/@babel/helper-validator-option/lib/validator.js +48 -0
  327. data/node_modules/@babel/helper-validator-option/lib/validator.js.map +1 -0
  328. data/node_modules/@babel/helper-validator-option/package.json +27 -0
  329. data/node_modules/@babel/helpers/LICENSE +22 -0
  330. data/node_modules/@babel/helpers/README.md +19 -0
  331. data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js +11 -0
  332. data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.map +1 -0
  333. data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js +12 -0
  334. data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map +1 -0
  335. data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +31 -0
  336. data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map +1 -0
  337. data/node_modules/@babel/helpers/lib/helpers/applyDecs.js +459 -0
  338. data/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map +1 -0
  339. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js +363 -0
  340. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map +1 -0
  341. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js +376 -0
  342. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map +1 -0
  343. data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js +421 -0
  344. data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map +1 -0
  345. data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js +235 -0
  346. data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map +1 -0
  347. data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js +236 -0
  348. data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map +1 -0
  349. data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js +13 -0
  350. data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map +1 -0
  351. data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js +11 -0
  352. data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +1 -0
  353. data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js +12 -0
  354. data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map +1 -0
  355. data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js +14 -0
  356. data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.map +1 -0
  357. data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js +14 -0
  358. data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.map +1 -0
  359. data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js +52 -0
  360. data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map +1 -0
  361. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +70 -0
  362. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -0
  363. data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +38 -0
  364. data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.map +1 -0
  365. data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js +12 -0
  366. data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map +1 -0
  367. data/node_modules/@babel/helpers/lib/helpers/callSuper.js +15 -0
  368. data/node_modules/@babel/helpers/lib/helpers/callSuper.js.map +1 -0
  369. data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js +14 -0
  370. data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map +1 -0
  371. data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js +13 -0
  372. data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map +1 -0
  373. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js +25 -0
  374. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map +1 -0
  375. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js +14 -0
  376. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map +1 -0
  377. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js +18 -0
  378. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map +1 -0
  379. data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js +13 -0
  380. data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map +1 -0
  381. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js +12 -0
  382. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map +1 -0
  383. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js +13 -0
  384. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map +1 -0
  385. data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js +12 -0
  386. data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map +1 -0
  387. data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js +11 -0
  388. data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map +1 -0
  389. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js +14 -0
  390. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map +1 -0
  391. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js +14 -0
  392. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.map +1 -0
  393. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js +12 -0
  394. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.map +1 -0
  395. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js +13 -0
  396. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map +1 -0
  397. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js +14 -0
  398. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map +1 -0
  399. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js +12 -0
  400. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map +1 -0
  401. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js +15 -0
  402. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.map +1 -0
  403. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js +13 -0
  404. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.map +1 -0
  405. data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js +12 -0
  406. data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.map +1 -0
  407. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js +13 -0
  408. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map +1 -0
  409. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js +13 -0
  410. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map +1 -0
  411. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js +11 -0
  412. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.map +1 -0
  413. data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js +13 -0
  414. data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.map +1 -0
  415. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js +16 -0
  416. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map +1 -0
  417. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js +16 -0
  418. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map +1 -0
  419. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js +17 -0
  420. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map +1 -0
  421. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js +13 -0
  422. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map +1 -0
  423. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js +11 -0
  424. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.map +1 -0
  425. data/node_modules/@babel/helpers/lib/helpers/construct.js +20 -0
  426. data/node_modules/@babel/helpers/lib/helpers/construct.js.map +1 -0
  427. data/node_modules/@babel/helpers/lib/helpers/createClass.js +26 -0
  428. data/node_modules/@babel/helpers/lib/helpers/createClass.js.map +1 -0
  429. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js +60 -0
  430. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map +1 -0
  431. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js +27 -0
  432. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map +1 -0
  433. data/node_modules/@babel/helpers/lib/helpers/createSuper.js +25 -0
  434. data/node_modules/@babel/helpers/lib/helpers/createSuper.js.map +1 -0
  435. data/node_modules/@babel/helpers/lib/helpers/decorate.js +350 -0
  436. data/node_modules/@babel/helpers/lib/helpers/decorate.js.map +1 -0
  437. data/node_modules/@babel/helpers/lib/helpers/defaults.js +18 -0
  438. data/node_modules/@babel/helpers/lib/helpers/defaults.js.map +1 -0
  439. data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js +16 -0
  440. data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map +1 -0
  441. data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js +27 -0
  442. data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +1 -0
  443. data/node_modules/@babel/helpers/lib/helpers/defineProperty.js +23 -0
  444. data/node_modules/@babel/helpers/lib/helpers/defineProperty.js.map +1 -0
  445. data/node_modules/@babel/helpers/lib/helpers/dispose.js +47 -0
  446. data/node_modules/@babel/helpers/lib/helpers/dispose.js.map +1 -0
  447. data/node_modules/@babel/helpers/lib/helpers/extends.js +22 -0
  448. data/node_modules/@babel/helpers/lib/helpers/extends.js.map +1 -0
  449. data/node_modules/@babel/helpers/lib/helpers/get.js +25 -0
  450. data/node_modules/@babel/helpers/lib/helpers/get.js.map +1 -0
  451. data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js +14 -0
  452. data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map +1 -0
  453. data/node_modules/@babel/helpers/lib/helpers/identity.js +11 -0
  454. data/node_modules/@babel/helpers/lib/helpers/identity.js.map +1 -0
  455. data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js +35 -0
  456. data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map +1 -0
  457. data/node_modules/@babel/helpers/lib/helpers/inherits.js +25 -0
  458. data/node_modules/@babel/helpers/lib/helpers/inherits.js.map +1 -0
  459. data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js +14 -0
  460. data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map +1 -0
  461. data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +17 -0
  462. data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map +1 -0
  463. data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +11 -0
  464. data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map +1 -0
  465. data/node_modules/@babel/helpers/lib/helpers/instanceof.js +15 -0
  466. data/node_modules/@babel/helpers/lib/helpers/instanceof.js.map +1 -0
  467. data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js +13 -0
  468. data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.map +1 -0
  469. data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js +49 -0
  470. data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +1 -0
  471. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js +15 -0
  472. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -0
  473. data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js +16 -0
  474. data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map +1 -0
  475. data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js +13 -0
  476. data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.map +1 -0
  477. data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js +41 -0
  478. data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map +1 -0
  479. data/node_modules/@babel/helpers/lib/helpers/jsx.js +47 -0
  480. data/node_modules/@babel/helpers/lib/helpers/jsx.js.map +1 -0
  481. data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js +16 -0
  482. data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map +1 -0
  483. data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js +13 -0
  484. data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map +1 -0
  485. data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js +11 -0
  486. data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map +1 -0
  487. data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js +11 -0
  488. data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map +1 -0
  489. data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js +11 -0
  490. data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map +1 -0
  491. data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js +11 -0
  492. data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map +1 -0
  493. data/node_modules/@babel/helpers/lib/helpers/objectSpread.js +24 -0
  494. data/node_modules/@babel/helpers/lib/helpers/objectSpread.js.map +1 -0
  495. data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +39 -0
  496. data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map +1 -0
  497. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +24 -0
  498. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -0
  499. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +19 -0
  500. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -0
  501. data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js +17 -0
  502. data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map +1 -0
  503. data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js +11 -0
  504. data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.map +1 -0
  505. data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +499 -0
  506. data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map +1 -0
  507. data/node_modules/@babel/helpers/lib/helpers/set.js +48 -0
  508. data/node_modules/@babel/helpers/lib/helpers/set.js.map +1 -0
  509. data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js +21 -0
  510. data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map +1 -0
  511. data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js +15 -0
  512. data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map +1 -0
  513. data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js +15 -0
  514. data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map +1 -0
  515. data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js +15 -0
  516. data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map +1 -0
  517. data/node_modules/@babel/helpers/lib/helpers/superPropBase.js +16 -0
  518. data/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map +1 -0
  519. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js +18 -0
  520. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map +1 -0
  521. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js +15 -0
  522. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map +1 -0
  523. data/node_modules/@babel/helpers/lib/helpers/tdz.js +11 -0
  524. data/node_modules/@babel/helpers/lib/helpers/tdz.js.map +1 -0
  525. data/node_modules/@babel/helpers/lib/helpers/temporalRef.js +13 -0
  526. data/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map +1 -0
  527. data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js +9 -0
  528. data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map +1 -0
  529. data/node_modules/@babel/helpers/lib/helpers/toArray.js +15 -0
  530. data/node_modules/@babel/helpers/lib/helpers/toArray.js.map +1 -0
  531. data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js +15 -0
  532. data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.map +1 -0
  533. data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js +18 -0
  534. data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map +1 -0
  535. data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js +13 -0
  536. data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map +1 -0
  537. data/node_modules/@babel/helpers/lib/helpers/toSetter.js +18 -0
  538. data/node_modules/@babel/helpers/lib/helpers/toSetter.js.map +1 -0
  539. data/node_modules/@babel/helpers/lib/helpers/typeof.js +22 -0
  540. data/node_modules/@babel/helpers/lib/helpers/typeof.js.map +1 -0
  541. data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js +19 -0
  542. data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map +1 -0
  543. data/node_modules/@babel/helpers/lib/helpers/using.js +29 -0
  544. data/node_modules/@babel/helpers/lib/helpers/using.js.map +1 -0
  545. data/node_modules/@babel/helpers/lib/helpers/usingCtx.js +73 -0
  546. data/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map +1 -0
  547. data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js +97 -0
  548. data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map +1 -0
  549. data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js +38 -0
  550. data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.map +1 -0
  551. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +66 -0
  552. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -0
  553. data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js +11 -0
  554. data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map +1 -0
  555. data/node_modules/@babel/helpers/lib/helpers-generated.js +1207 -0
  556. data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -0
  557. data/node_modules/@babel/helpers/lib/index.js +121 -0
  558. data/node_modules/@babel/helpers/lib/index.js.map +1 -0
  559. data/node_modules/@babel/helpers/package.json +31 -0
  560. data/node_modules/@babel/helpers/scripts/build-helper-metadata.js +209 -0
  561. data/node_modules/@babel/helpers/scripts/generate-helpers.js +207 -0
  562. data/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js +63 -0
  563. data/node_modules/@babel/highlight/LICENSE +22 -0
  564. data/node_modules/@babel/highlight/README.md +19 -0
  565. data/node_modules/@babel/highlight/lib/index.js +119 -0
  566. data/node_modules/@babel/highlight/lib/index.js.map +1 -0
  567. data/node_modules/@babel/highlight/package.json +30 -0
  568. data/node_modules/@babel/parser/CHANGELOG.md +1073 -0
  569. data/node_modules/@babel/parser/LICENSE +19 -0
  570. data/node_modules/@babel/parser/README.md +19 -0
  571. data/node_modules/@babel/parser/bin/babel-parser.js +15 -0
  572. data/node_modules/@babel/parser/index.cjs +5 -0
  573. data/node_modules/@babel/parser/lib/index.js +13989 -0
  574. data/node_modules/@babel/parser/lib/index.js.map +1 -0
  575. data/node_modules/@babel/parser/package.json +47 -0
  576. data/node_modules/@babel/parser/typings/babel-parser.d.ts +251 -0
  577. data/node_modules/@babel/template/LICENSE +22 -0
  578. data/node_modules/@babel/template/README.md +19 -0
  579. data/node_modules/@babel/template/lib/builder.js +69 -0
  580. data/node_modules/@babel/template/lib/builder.js.map +1 -0
  581. data/node_modules/@babel/template/lib/formatters.js +61 -0
  582. data/node_modules/@babel/template/lib/formatters.js.map +1 -0
  583. data/node_modules/@babel/template/lib/index.js +23 -0
  584. data/node_modules/@babel/template/lib/index.js.map +1 -0
  585. data/node_modules/@babel/template/lib/literal.js +69 -0
  586. data/node_modules/@babel/template/lib/literal.js.map +1 -0
  587. data/node_modules/@babel/template/lib/options.js +73 -0
  588. data/node_modules/@babel/template/lib/options.js.map +1 -0
  589. data/node_modules/@babel/template/lib/parse.js +160 -0
  590. data/node_modules/@babel/template/lib/parse.js.map +1 -0
  591. data/node_modules/@babel/template/lib/populate.js +122 -0
  592. data/node_modules/@babel/template/lib/populate.js.map +1 -0
  593. data/node_modules/@babel/template/lib/string.js +20 -0
  594. data/node_modules/@babel/template/lib/string.js.map +1 -0
  595. data/node_modules/@babel/template/node_modules/.bin/parser +1 -0
  596. data/node_modules/@babel/template/package.json +27 -0
  597. data/node_modules/@babel/traverse/LICENSE +22 -0
  598. data/node_modules/@babel/traverse/README.md +19 -0
  599. data/node_modules/@babel/traverse/lib/cache.js +44 -0
  600. data/node_modules/@babel/traverse/lib/cache.js.map +1 -0
  601. data/node_modules/@babel/traverse/lib/context.js +118 -0
  602. data/node_modules/@babel/traverse/lib/context.js.map +1 -0
  603. data/node_modules/@babel/traverse/lib/hub.js +19 -0
  604. data/node_modules/@babel/traverse/lib/hub.js.map +1 -0
  605. data/node_modules/@babel/traverse/lib/index.js +94 -0
  606. data/node_modules/@babel/traverse/lib/index.js.map +1 -0
  607. data/node_modules/@babel/traverse/lib/path/ancestry.js +141 -0
  608. data/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -0
  609. data/node_modules/@babel/traverse/lib/path/comments.js +52 -0
  610. data/node_modules/@babel/traverse/lib/path/comments.js.map +1 -0
  611. data/node_modules/@babel/traverse/lib/path/context.js +222 -0
  612. data/node_modules/@babel/traverse/lib/path/context.js.map +1 -0
  613. data/node_modules/@babel/traverse/lib/path/conversion.js +468 -0
  614. data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -0
  615. data/node_modules/@babel/traverse/lib/path/evaluation.js +347 -0
  616. data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -0
  617. data/node_modules/@babel/traverse/lib/path/family.js +335 -0
  618. data/node_modules/@babel/traverse/lib/path/family.js.map +1 -0
  619. data/node_modules/@babel/traverse/lib/path/index.js +282 -0
  620. data/node_modules/@babel/traverse/lib/path/index.js.map +1 -0
  621. data/node_modules/@babel/traverse/lib/path/inference/index.js +149 -0
  622. data/node_modules/@babel/traverse/lib/path/inference/index.js.map +1 -0
  623. data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +151 -0
  624. data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +1 -0
  625. data/node_modules/@babel/traverse/lib/path/inference/inferers.js +207 -0
  626. data/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +1 -0
  627. data/node_modules/@babel/traverse/lib/path/inference/util.js +30 -0
  628. data/node_modules/@babel/traverse/lib/path/inference/util.js.map +1 -0
  629. data/node_modules/@babel/traverse/lib/path/introspection.js +397 -0
  630. data/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -0
  631. data/node_modules/@babel/traverse/lib/path/lib/hoister.js +171 -0
  632. data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -0
  633. data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +37 -0
  634. data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +1 -0
  635. data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +163 -0
  636. data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -0
  637. data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +26 -0
  638. data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -0
  639. data/node_modules/@babel/traverse/lib/path/modification.js +226 -0
  640. data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -0
  641. data/node_modules/@babel/traverse/lib/path/removal.js +66 -0
  642. data/node_modules/@babel/traverse/lib/path/removal.js.map +1 -0
  643. data/node_modules/@babel/traverse/lib/path/replacement.js +264 -0
  644. data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -0
  645. data/node_modules/@babel/traverse/lib/scope/binding.js +83 -0
  646. data/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -0
  647. data/node_modules/@babel/traverse/lib/scope/index.js +904 -0
  648. data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -0
  649. data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +115 -0
  650. data/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -0
  651. data/node_modules/@babel/traverse/lib/traverse-node.js +29 -0
  652. data/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -0
  653. data/node_modules/@babel/traverse/lib/types.js +3 -0
  654. data/node_modules/@babel/traverse/lib/types.js.map +1 -0
  655. data/node_modules/@babel/traverse/lib/visitors.js +221 -0
  656. data/node_modules/@babel/traverse/lib/visitors.js.map +1 -0
  657. data/node_modules/@babel/traverse/node_modules/.bin/parser +1 -0
  658. data/node_modules/@babel/traverse/package.json +38 -0
  659. data/node_modules/@babel/types/LICENSE +22 -0
  660. data/node_modules/@babel/types/README.md +19 -0
  661. data/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
  662. data/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
  663. data/node_modules/@babel/types/lib/asserts/generated/index.js +1235 -0
  664. data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
  665. data/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
  666. data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
  667. data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
  668. data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
  669. data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
  670. data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
  671. data/node_modules/@babel/types/lib/builders/generated/index.js +1991 -0
  672. data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
  673. data/node_modules/@babel/types/lib/builders/generated/uppercase.js +1532 -0
  674. data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
  675. data/node_modules/@babel/types/lib/builders/productions.js +12 -0
  676. data/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
  677. data/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
  678. data/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
  679. data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
  680. data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
  681. data/node_modules/@babel/types/lib/builders/validateNode.js +17 -0
  682. data/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
  683. data/node_modules/@babel/types/lib/clone/clone.js +12 -0
  684. data/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
  685. data/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
  686. data/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
  687. data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
  688. data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
  689. data/node_modules/@babel/types/lib/clone/cloneNode.js +104 -0
  690. data/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
  691. data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
  692. data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
  693. data/node_modules/@babel/types/lib/comments/addComment.js +15 -0
  694. data/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
  695. data/node_modules/@babel/types/lib/comments/addComments.js +22 -0
  696. data/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
  697. data/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
  698. data/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
  699. data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
  700. data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
  701. data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
  702. data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
  703. data/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
  704. data/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
  705. data/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
  706. data/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
  707. data/node_modules/@babel/types/lib/constants/generated/index.js +59 -0
  708. data/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
  709. data/node_modules/@babel/types/lib/constants/index.js +31 -0
  710. data/node_modules/@babel/types/lib/constants/index.js.map +1 -0
  711. data/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
  712. data/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
  713. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +66 -0
  714. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
  715. data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
  716. data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
  717. data/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
  718. data/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
  719. data/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
  720. data/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
  721. data/node_modules/@babel/types/lib/converters/toExpression.js +27 -0
  722. data/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
  723. data/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
  724. data/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
  725. data/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
  726. data/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
  727. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js +20 -0
  728. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
  729. data/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
  730. data/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
  731. data/node_modules/@babel/types/lib/converters/valueToNode.js +76 -0
  732. data/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
  733. data/node_modules/@babel/types/lib/definitions/core.js +1689 -0
  734. data/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
  735. data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
  736. data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
  737. data/node_modules/@babel/types/lib/definitions/experimental.js +134 -0
  738. data/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
  739. data/node_modules/@babel/types/lib/definitions/flow.js +488 -0
  740. data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
  741. data/node_modules/@babel/types/lib/definitions/index.js +96 -0
  742. data/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
  743. data/node_modules/@babel/types/lib/definitions/jsx.js +158 -0
  744. data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
  745. data/node_modules/@babel/types/lib/definitions/misc.js +32 -0
  746. data/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
  747. data/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
  748. data/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
  749. data/node_modules/@babel/types/lib/definitions/typescript.js +493 -0
  750. data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
  751. data/node_modules/@babel/types/lib/definitions/utils.js +273 -0
  752. data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
  753. data/node_modules/@babel/types/lib/index-legacy.d.ts +2758 -0
  754. data/node_modules/@babel/types/lib/index.d.ts +3269 -0
  755. data/node_modules/@babel/types/lib/index.js +576 -0
  756. data/node_modules/@babel/types/lib/index.js.flow +2612 -0
  757. data/node_modules/@babel/types/lib/index.js.map +1 -0
  758. data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
  759. data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
  760. data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
  761. data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
  762. data/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
  763. data/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
  764. data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
  765. data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
  766. data/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
  767. data/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
  768. data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
  769. data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
  770. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +65 -0
  771. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
  772. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +96 -0
  773. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
  774. data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
  775. data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
  776. data/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
  777. data/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
  778. data/node_modules/@babel/types/lib/traverse/traverseFast.js +26 -0
  779. data/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
  780. data/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
  781. data/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
  782. data/node_modules/@babel/types/lib/utils/inherit.js +13 -0
  783. data/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
  784. data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
  785. data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
  786. data/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
  787. data/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
  788. data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
  789. data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
  790. data/node_modules/@babel/types/lib/validators/generated/index.js +2752 -0
  791. data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
  792. data/node_modules/@babel/types/lib/validators/is.js +27 -0
  793. data/node_modules/@babel/types/lib/validators/is.js.map +1 -0
  794. data/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
  795. data/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
  796. data/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
  797. data/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
  798. data/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
  799. data/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
  800. data/node_modules/@babel/types/lib/validators/isLet.js +13 -0
  801. data/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
  802. data/node_modules/@babel/types/lib/validators/isNode.js +12 -0
  803. data/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
  804. data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
  805. data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
  806. data/node_modules/@babel/types/lib/validators/isPlaceholderType.js +19 -0
  807. data/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
  808. data/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
  809. data/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
  810. data/node_modules/@babel/types/lib/validators/isScope.js +18 -0
  811. data/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
  812. data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
  813. data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
  814. data/node_modules/@babel/types/lib/validators/isType.js +22 -0
  815. data/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
  816. data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
  817. data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
  818. data/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
  819. data/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
  820. data/node_modules/@babel/types/lib/validators/isVar.js +15 -0
  821. data/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
  822. data/node_modules/@babel/types/lib/validators/matchesPattern.js +36 -0
  823. data/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
  824. data/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
  825. data/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
  826. data/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
  827. data/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
  828. data/node_modules/@babel/types/lib/validators/validate.js +30 -0
  829. data/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
  830. data/node_modules/@babel/types/package.json +40 -0
  831. data/node_modules/@codemod/core/LICENSE.txt +202 -0
  832. data/node_modules/@codemod/core/README.md +41 -0
  833. data/node_modules/@codemod/core/build/AllSyntaxPlugin.d.ts +3 -0
  834. data/node_modules/@codemod/core/build/AllSyntaxPlugin.js +20 -0
  835. data/node_modules/@codemod/core/build/AllSyntaxPlugin.js.map +1 -0
  836. data/node_modules/@codemod/core/build/BabelPluginTypes.d.ts +17 -0
  837. data/node_modules/@codemod/core/build/BabelPluginTypes.js +3 -0
  838. data/node_modules/@codemod/core/build/BabelPluginTypes.js.map +1 -0
  839. data/node_modules/@codemod/core/build/RecastPlugin.d.ts +9 -0
  840. data/node_modules/@codemod/core/build/RecastPlugin.js +26 -0
  841. data/node_modules/@codemod/core/build/RecastPlugin.js.map +1 -0
  842. data/node_modules/@codemod/core/build/index.d.ts +1 -0
  843. data/node_modules/@codemod/core/build/index.js +14 -0
  844. data/node_modules/@codemod/core/build/index.js.map +1 -0
  845. data/node_modules/@codemod/core/build/transform.d.ts +7 -0
  846. data/node_modules/@codemod/core/build/transform.js +22 -0
  847. data/node_modules/@codemod/core/build/transform.js.map +1 -0
  848. data/node_modules/@codemod/core/node_modules/.bin/is-ci +1 -0
  849. data/node_modules/@codemod/core/node_modules/.bin/is-ci-cli +1 -0
  850. data/node_modules/@codemod/core/node_modules/.bin/resolve +1 -0
  851. data/node_modules/@codemod/core/package.json +45 -0
  852. data/node_modules/@codemod/parser/LICENSE.txt +202 -0
  853. data/node_modules/@codemod/parser/README.md +33 -0
  854. data/node_modules/@codemod/parser/build/index.d.ts +8 -0
  855. data/node_modules/@codemod/parser/build/index.js +16 -0
  856. data/node_modules/@codemod/parser/build/index.js.map +1 -0
  857. data/node_modules/@codemod/parser/build/options.d.ts +20 -0
  858. data/node_modules/@codemod/parser/build/options.js +180 -0
  859. data/node_modules/@codemod/parser/build/options.js.map +1 -0
  860. data/node_modules/@codemod/parser/node_modules/.bin/parser +1 -0
  861. data/node_modules/@codemod/parser/package.json +38 -0
  862. data/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
  863. data/node_modules/@jridgewell/gen-mapping/README.md +227 -0
  864. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
  865. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
  866. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
  867. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
  868. data/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
  869. data/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  870. data/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
  871. data/node_modules/@jridgewell/gen-mapping/package.json +76 -0
  872. data/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  873. data/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  874. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
  875. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  876. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
  877. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  878. data/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
  879. data/node_modules/@jridgewell/resolve-uri/package.json +69 -0
  880. data/node_modules/@jridgewell/set-array/LICENSE +19 -0
  881. data/node_modules/@jridgewell/set-array/README.md +37 -0
  882. data/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
  883. data/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
  884. data/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
  885. data/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
  886. data/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
  887. data/node_modules/@jridgewell/set-array/package.json +65 -0
  888. data/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  889. data/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
  890. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +164 -0
  891. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  892. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +175 -0
  893. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  894. data/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +6 -0
  895. data/node_modules/@jridgewell/sourcemap-codec/package.json +74 -0
  896. data/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  897. data/node_modules/@jridgewell/trace-mapping/README.md +257 -0
  898. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
  899. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  900. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
  901. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  902. data/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
  903. data/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
  904. data/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
  905. data/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
  906. data/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
  907. data/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  908. data/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
  909. data/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
  910. data/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
  911. data/node_modules/@jridgewell/trace-mapping/package.json +77 -0
  912. data/node_modules/@resugar/codemod-declarations-block-scope/LICENSE +7 -0
  913. data/node_modules/@resugar/codemod-declarations-block-scope/package.json +28 -0
  914. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.d.ts +8 -0
  915. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js +45 -0
  916. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js.map +1 -0
  917. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.d.ts +10 -0
  918. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js +136 -0
  919. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js.map +1 -0
  920. data/node_modules/@resugar/codemod-functions-arrow/LICENSE +7 -0
  921. data/node_modules/@resugar/codemod-functions-arrow/package.json +32 -0
  922. data/node_modules/@resugar/codemod-functions-arrow/src/index.d.ts +2 -0
  923. data/node_modules/@resugar/codemod-functions-arrow/src/index.js +138 -0
  924. data/node_modules/@resugar/codemod-functions-arrow/src/index.js.map +1 -0
  925. data/node_modules/@resugar/codemod-modules-commonjs/LICENSE +7 -0
  926. data/node_modules/@resugar/codemod-modules-commonjs/package.json +33 -0
  927. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.d.ts +28 -0
  928. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js +88 -0
  929. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js.map +1 -0
  930. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.d.ts +8 -0
  931. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js +80 -0
  932. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js.map +1 -0
  933. data/node_modules/@resugar/codemod-modules-commonjs/src/index.d.ts +8 -0
  934. data/node_modules/@resugar/codemod-modules-commonjs/src/index.js +644 -0
  935. data/node_modules/@resugar/codemod-modules-commonjs/src/index.js.map +1 -0
  936. data/node_modules/@resugar/codemod-objects-concise/LICENSE +7 -0
  937. data/node_modules/@resugar/codemod-objects-concise/package.json +28 -0
  938. data/node_modules/@resugar/codemod-objects-concise/src/index.d.ts +2 -0
  939. data/node_modules/@resugar/codemod-objects-concise/src/index.js +26 -0
  940. data/node_modules/@resugar/codemod-objects-concise/src/index.js.map +1 -0
  941. data/node_modules/@resugar/codemod-objects-destructuring/LICENSE +7 -0
  942. data/node_modules/@resugar/codemod-objects-destructuring/package.json +29 -0
  943. data/node_modules/@resugar/codemod-objects-destructuring/src/index.d.ts +2 -0
  944. data/node_modules/@resugar/codemod-objects-destructuring/src/index.js +103 -0
  945. data/node_modules/@resugar/codemod-objects-destructuring/src/index.js.map +1 -0
  946. data/node_modules/@resugar/codemod-objects-shorthand/LICENSE +7 -0
  947. data/node_modules/@resugar/codemod-objects-shorthand/package.json +32 -0
  948. data/node_modules/@resugar/codemod-objects-shorthand/src/index.d.ts +2 -0
  949. data/node_modules/@resugar/codemod-objects-shorthand/src/index.js +26 -0
  950. data/node_modules/@resugar/codemod-objects-shorthand/src/index.js.map +1 -0
  951. data/node_modules/@resugar/codemod-strings-template/LICENSE +7 -0
  952. data/node_modules/@resugar/codemod-strings-template/package.json +30 -0
  953. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.d.ts +5 -0
  954. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js +40 -0
  955. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js.map +1 -0
  956. data/node_modules/@resugar/codemod-strings-template/src/index.d.ts +2 -0
  957. data/node_modules/@resugar/codemod-strings-template/src/index.js +134 -0
  958. data/node_modules/@resugar/codemod-strings-template/src/index.js.map +1 -0
  959. data/node_modules/@resugar/helper-comments/LICENSE +7 -0
  960. data/node_modules/@resugar/helper-comments/package.json +25 -0
  961. data/node_modules/@resugar/helper-comments/src/index.d.ts +16 -0
  962. data/node_modules/@resugar/helper-comments/src/index.js +68 -0
  963. data/node_modules/@resugar/helper-comments/src/index.js.map +1 -0
  964. data/node_modules/add-variable-declarations/LICENSE +7 -0
  965. data/node_modules/add-variable-declarations/README.md +66 -0
  966. data/node_modules/add-variable-declarations/dist/index.d.ts +13 -0
  967. data/node_modules/add-variable-declarations/dist/index.js +498 -0
  968. data/node_modules/add-variable-declarations/dist/index.mjs +463 -0
  969. data/node_modules/add-variable-declarations/package.json +62 -0
  970. data/node_modules/ansi-styles/index.js +165 -0
  971. data/node_modules/ansi-styles/license +9 -0
  972. data/node_modules/ansi-styles/package.json +56 -0
  973. data/node_modules/ansi-styles/readme.md +147 -0
  974. data/node_modules/any-promise/.jshintrc +4 -0
  975. data/node_modules/any-promise/.npmignore +7 -0
  976. data/node_modules/any-promise/LICENSE +19 -0
  977. data/node_modules/any-promise/README.md +161 -0
  978. data/node_modules/any-promise/implementation.d.ts +3 -0
  979. data/node_modules/any-promise/implementation.js +1 -0
  980. data/node_modules/any-promise/index.d.ts +73 -0
  981. data/node_modules/any-promise/index.js +1 -0
  982. data/node_modules/any-promise/loader.js +78 -0
  983. data/node_modules/any-promise/optional.js +6 -0
  984. data/node_modules/any-promise/package.json +45 -0
  985. data/node_modules/any-promise/register/bluebird.d.ts +1 -0
  986. data/node_modules/any-promise/register/bluebird.js +2 -0
  987. data/node_modules/any-promise/register/es6-promise.d.ts +1 -0
  988. data/node_modules/any-promise/register/es6-promise.js +2 -0
  989. data/node_modules/any-promise/register/lie.d.ts +1 -0
  990. data/node_modules/any-promise/register/lie.js +2 -0
  991. data/node_modules/any-promise/register/native-promise-only.d.ts +1 -0
  992. data/node_modules/any-promise/register/native-promise-only.js +2 -0
  993. data/node_modules/any-promise/register/pinkie.d.ts +1 -0
  994. data/node_modules/any-promise/register/pinkie.js +2 -0
  995. data/node_modules/any-promise/register/promise.d.ts +1 -0
  996. data/node_modules/any-promise/register/promise.js +2 -0
  997. data/node_modules/any-promise/register/q.d.ts +1 -0
  998. data/node_modules/any-promise/register/q.js +2 -0
  999. data/node_modules/any-promise/register/rsvp.d.ts +1 -0
  1000. data/node_modules/any-promise/register/rsvp.js +2 -0
  1001. data/node_modules/any-promise/register/vow.d.ts +1 -0
  1002. data/node_modules/any-promise/register/vow.js +2 -0
  1003. data/node_modules/any-promise/register/when.d.ts +1 -0
  1004. data/node_modules/any-promise/register/when.js +2 -0
  1005. data/node_modules/any-promise/register-shim.js +18 -0
  1006. data/node_modules/any-promise/register.d.ts +17 -0
  1007. data/node_modules/any-promise/register.js +94 -0
  1008. data/node_modules/ast-types/.travis.yml +11 -0
  1009. data/node_modules/ast-types/LICENSE +20 -0
  1010. data/node_modules/ast-types/README.md +512 -0
  1011. data/node_modules/ast-types/def/babel-core.d.ts +2 -0
  1012. data/node_modules/ast-types/def/babel-core.js +258 -0
  1013. data/node_modules/ast-types/def/babel.d.ts +2 -0
  1014. data/node_modules/ast-types/def/babel.js +13 -0
  1015. data/node_modules/ast-types/def/core.d.ts +2 -0
  1016. data/node_modules/ast-types/def/core.js +300 -0
  1017. data/node_modules/ast-types/def/es-proposals.d.ts +2 -0
  1018. data/node_modules/ast-types/def/es-proposals.js +35 -0
  1019. data/node_modules/ast-types/def/es2020.d.ts +2 -0
  1020. data/node_modules/ast-types/def/es2020.js +18 -0
  1021. data/node_modules/ast-types/def/es6.d.ts +2 -0
  1022. data/node_modules/ast-types/def/es6.js +212 -0
  1023. data/node_modules/ast-types/def/es7.d.ts +2 -0
  1024. data/node_modules/ast-types/def/es7.js +36 -0
  1025. data/node_modules/ast-types/def/esNext.d.ts +2 -0
  1026. data/node_modules/ast-types/def/esNext.js +57 -0
  1027. data/node_modules/ast-types/def/esprima.d.ts +2 -0
  1028. data/node_modules/ast-types/def/esprima.js +51 -0
  1029. data/node_modules/ast-types/def/flow.d.ts +2 -0
  1030. data/node_modules/ast-types/def/flow.js +294 -0
  1031. data/node_modules/ast-types/def/jsx.d.ts +2 -0
  1032. data/node_modules/ast-types/def/jsx.js +105 -0
  1033. data/node_modules/ast-types/def/type-annotations.d.ts +7 -0
  1034. data/node_modules/ast-types/def/type-annotations.js +42 -0
  1035. data/node_modules/ast-types/def/typescript.d.ts +2 -0
  1036. data/node_modules/ast-types/def/typescript.js +339 -0
  1037. data/node_modules/ast-types/fork.d.ts +42 -0
  1038. data/node_modules/ast-types/fork.js +54 -0
  1039. data/node_modules/ast-types/gen/builders.d.ts +2572 -0
  1040. data/node_modules/ast-types/gen/builders.js +2 -0
  1041. data/node_modules/ast-types/gen/kinds.d.ts +263 -0
  1042. data/node_modules/ast-types/gen/kinds.js +2 -0
  1043. data/node_modules/ast-types/gen/namedTypes.d.ts +1800 -0
  1044. data/node_modules/ast-types/gen/namedTypes.js +5 -0
  1045. data/node_modules/ast-types/gen/nodes.d.ts +1265 -0
  1046. data/node_modules/ast-types/gen/nodes.js +2 -0
  1047. data/node_modules/ast-types/gen/visitor.d.ts +267 -0
  1048. data/node_modules/ast-types/gen/visitor.js +2 -0
  1049. data/node_modules/ast-types/lib/equiv.d.ts +5 -0
  1050. data/node_modules/ast-types/lib/equiv.js +156 -0
  1051. data/node_modules/ast-types/lib/node-path.d.ts +22 -0
  1052. data/node_modules/ast-types/lib/node-path.js +413 -0
  1053. data/node_modules/ast-types/lib/path-visitor.d.ts +52 -0
  1054. data/node_modules/ast-types/lib/path-visitor.js +345 -0
  1055. data/node_modules/ast-types/lib/path.d.ts +25 -0
  1056. data/node_modules/ast-types/lib/path.js +333 -0
  1057. data/node_modules/ast-types/lib/scope.d.ts +26 -0
  1058. data/node_modules/ast-types/lib/scope.js +317 -0
  1059. data/node_modules/ast-types/lib/shared.d.ts +13 -0
  1060. data/node_modules/ast-types/lib/shared.js +49 -0
  1061. data/node_modules/ast-types/lib/types.d.ts +136 -0
  1062. data/node_modules/ast-types/lib/types.js +781 -0
  1063. data/node_modules/ast-types/main.d.ts +28 -0
  1064. data/node_modules/ast-types/main.js +54 -0
  1065. data/node_modules/ast-types/package.json +63 -0
  1066. data/node_modules/ast-types/tsconfig.json +20 -0
  1067. data/node_modules/ast-types/types.d.ts +6 -0
  1068. data/node_modules/ast-types/types.js +2 -0
  1069. data/node_modules/automatic-semicolon-insertion/LICENSE +7 -0
  1070. data/node_modules/automatic-semicolon-insertion/README.md +26 -0
  1071. data/node_modules/automatic-semicolon-insertion/build/index.cjs +216 -0
  1072. data/node_modules/automatic-semicolon-insertion/build/index.d.ts +38 -0
  1073. data/node_modules/automatic-semicolon-insertion/build/index.mjs +192 -0
  1074. data/node_modules/automatic-semicolon-insertion/build/traverse.d.ts +17 -0
  1075. data/node_modules/automatic-semicolon-insertion/package.json +58 -0
  1076. data/node_modules/browserslist/LICENSE +20 -0
  1077. data/node_modules/browserslist/README.md +67 -0
  1078. data/node_modules/browserslist/browser.js +52 -0
  1079. data/node_modules/browserslist/cli.js +156 -0
  1080. data/node_modules/browserslist/error.d.ts +7 -0
  1081. data/node_modules/browserslist/error.js +12 -0
  1082. data/node_modules/browserslist/index.d.ts +201 -0
  1083. data/node_modules/browserslist/index.js +1206 -0
  1084. data/node_modules/browserslist/node.js +420 -0
  1085. data/node_modules/browserslist/node_modules/.bin/update-browserslist-db +1 -0
  1086. data/node_modules/browserslist/package.json +44 -0
  1087. data/node_modules/browserslist/parse.js +78 -0
  1088. data/node_modules/caniuse-lite/LICENSE +395 -0
  1089. data/node_modules/caniuse-lite/README.md +6 -0
  1090. data/node_modules/caniuse-lite/data/agents.js +1 -0
  1091. data/node_modules/caniuse-lite/data/browserVersions.js +1 -0
  1092. data/node_modules/caniuse-lite/data/browsers.js +1 -0
  1093. data/node_modules/caniuse-lite/data/features/aac.js +1 -0
  1094. data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
  1095. data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
  1096. data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
  1097. data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
  1098. data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
  1099. data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
  1100. data/node_modules/caniuse-lite/data/features/apng.js +1 -0
  1101. data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
  1102. data/node_modules/caniuse-lite/data/features/array-find.js +1 -0
  1103. data/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
  1104. data/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
  1105. data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
  1106. data/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
  1107. data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
  1108. data/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
  1109. data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
  1110. data/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
  1111. data/node_modules/caniuse-lite/data/features/audio.js +1 -0
  1112. data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
  1113. data/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
  1114. data/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
  1115. data/node_modules/caniuse-lite/data/features/av1.js +1 -0
  1116. data/node_modules/caniuse-lite/data/features/avif.js +1 -0
  1117. data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
  1118. data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
  1119. data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
  1120. data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
  1121. data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
  1122. data/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
  1123. data/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
  1124. data/node_modules/caniuse-lite/data/features/beacon.js +1 -0
  1125. data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
  1126. data/node_modules/caniuse-lite/data/features/bigint.js +1 -0
  1127. data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
  1128. data/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
  1129. data/node_modules/caniuse-lite/data/features/border-image.js +1 -0
  1130. data/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
  1131. data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
  1132. data/node_modules/caniuse-lite/data/features/brotli.js +1 -0
  1133. data/node_modules/caniuse-lite/data/features/calc.js +1 -0
  1134. data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
  1135. data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
  1136. data/node_modules/caniuse-lite/data/features/canvas.js +1 -0
  1137. data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
  1138. data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
  1139. data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
  1140. data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
  1141. data/node_modules/caniuse-lite/data/features/classlist.js +1 -0
  1142. data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
  1143. data/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
  1144. data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
  1145. data/node_modules/caniuse-lite/data/features/colr.js +1 -0
  1146. data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
  1147. data/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
  1148. data/node_modules/caniuse-lite/data/features/console-time.js +1 -0
  1149. data/node_modules/caniuse-lite/data/features/const.js +1 -0
  1150. data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
  1151. data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
  1152. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
  1153. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
  1154. data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
  1155. data/node_modules/caniuse-lite/data/features/cors.js +1 -0
  1156. data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
  1157. data/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
  1158. data/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
  1159. data/node_modules/caniuse-lite/data/features/css-all.js +1 -0
  1160. data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -0
  1161. data/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
  1162. data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
  1163. data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
  1164. data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
  1165. data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
  1166. data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
  1167. data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
  1168. data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
  1169. data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
  1170. data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
  1171. data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
  1172. data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
  1173. data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
  1174. data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -0
  1175. data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
  1176. data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
  1177. data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
  1178. data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
  1179. data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
  1180. data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -0
  1181. data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
  1182. data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -0
  1183. data/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
  1184. data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
  1185. data/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
  1186. data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
  1187. data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
  1188. data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
  1189. data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
  1190. data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
  1191. data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
  1192. data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
  1193. data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
  1194. data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
  1195. data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
  1196. data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
  1197. data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
  1198. data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
  1199. data/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
  1200. data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
  1201. data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
  1202. data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
  1203. data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
  1204. data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
  1205. data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
  1206. data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
  1207. data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
  1208. data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
  1209. data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
  1210. data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -0
  1211. data/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
  1212. data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
  1213. data/node_modules/caniuse-lite/data/features/css-has.js +1 -0
  1214. data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
  1215. data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
  1216. data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
  1217. data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
  1218. data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
  1219. data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
  1220. data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
  1221. data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
  1222. data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
  1223. data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
  1224. data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
  1225. data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
  1226. data/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
  1227. data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
  1228. data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
  1229. data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
  1230. data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -0
  1231. data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
  1232. data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
  1233. data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
  1234. data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
  1235. data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -0
  1236. data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
  1237. data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
  1238. data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
  1239. data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
  1240. data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
  1241. data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
  1242. data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
  1243. data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
  1244. data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
  1245. data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
  1246. data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
  1247. data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
  1248. data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
  1249. data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
  1250. data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
  1251. data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
  1252. data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -0
  1253. data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
  1254. data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
  1255. data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
  1256. data/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
  1257. data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -0
  1258. data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
  1259. data/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
  1260. data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
  1261. data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
  1262. data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
  1263. data/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +1 -0
  1264. data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
  1265. data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
  1266. data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
  1267. data/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
  1268. data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
  1269. data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
  1270. data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
  1271. data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
  1272. data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
  1273. data/node_modules/caniuse-lite/data/features/css-table.js +1 -0
  1274. data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
  1275. data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -0
  1276. data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
  1277. data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
  1278. data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
  1279. data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
  1280. data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -0
  1281. data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
  1282. data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
  1283. data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
  1284. data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
  1285. data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
  1286. data/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
  1287. data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
  1288. data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
  1289. data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
  1290. data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
  1291. data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
  1292. data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
  1293. data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
  1294. data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
  1295. data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
  1296. data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
  1297. data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
  1298. data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
  1299. data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
  1300. data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
  1301. data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
  1302. data/node_modules/caniuse-lite/data/features/customevent.js +1 -0
  1303. data/node_modules/caniuse-lite/data/features/datalist.js +1 -0
  1304. data/node_modules/caniuse-lite/data/features/dataset.js +1 -0
  1305. data/node_modules/caniuse-lite/data/features/datauri.js +1 -0
  1306. data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
  1307. data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -0
  1308. data/node_modules/caniuse-lite/data/features/decorators.js +1 -0
  1309. data/node_modules/caniuse-lite/data/features/details.js +1 -0
  1310. data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
  1311. data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
  1312. data/node_modules/caniuse-lite/data/features/dialog.js +1 -0
  1313. data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
  1314. data/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
  1315. data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
  1316. data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
  1317. data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
  1318. data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
  1319. data/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
  1320. data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
  1321. data/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
  1322. data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
  1323. data/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
  1324. data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
  1325. data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
  1326. data/node_modules/caniuse-lite/data/features/download.js +1 -0
  1327. data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
  1328. data/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
  1329. data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
  1330. data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
  1331. data/node_modules/caniuse-lite/data/features/eme.js +1 -0
  1332. data/node_modules/caniuse-lite/data/features/eot.js +1 -0
  1333. data/node_modules/caniuse-lite/data/features/es5.js +1 -0
  1334. data/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
  1335. data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
  1336. data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
  1337. data/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
  1338. data/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
  1339. data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
  1340. data/node_modules/caniuse-lite/data/features/es6.js +1 -0
  1341. data/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
  1342. data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
  1343. data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
  1344. data/node_modules/caniuse-lite/data/features/fetch.js +1 -0
  1345. data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
  1346. data/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
  1347. data/node_modules/caniuse-lite/data/features/filereader.js +1 -0
  1348. data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
  1349. data/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
  1350. data/node_modules/caniuse-lite/data/features/flac.js +1 -0
  1351. data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
  1352. data/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
  1353. data/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
  1354. data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
  1355. data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
  1356. data/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
  1357. data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
  1358. data/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
  1359. data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
  1360. data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
  1361. data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
  1362. data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
  1363. data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
  1364. data/node_modules/caniuse-lite/data/features/fontface.js +1 -0
  1365. data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
  1366. data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
  1367. data/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
  1368. data/node_modules/caniuse-lite/data/features/forms.js +1 -0
  1369. data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
  1370. data/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
  1371. data/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
  1372. data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
  1373. data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
  1374. data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
  1375. data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
  1376. data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
  1377. data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
  1378. data/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
  1379. data/node_modules/caniuse-lite/data/features/heif.js +1 -0
  1380. data/node_modules/caniuse-lite/data/features/hevc.js +1 -0
  1381. data/node_modules/caniuse-lite/data/features/hidden.js +1 -0
  1382. data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
  1383. data/node_modules/caniuse-lite/data/features/history.js +1 -0
  1384. data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
  1385. data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
  1386. data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
  1387. data/node_modules/caniuse-lite/data/features/http2.js +1 -0
  1388. data/node_modules/caniuse-lite/data/features/http3.js +1 -0
  1389. data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
  1390. data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
  1391. data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
  1392. data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
  1393. data/node_modules/caniuse-lite/data/features/ime.js +1 -0
  1394. data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
  1395. data/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
  1396. data/node_modules/caniuse-lite/data/features/imports.js +1 -0
  1397. data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
  1398. data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
  1399. data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
  1400. data/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
  1401. data/node_modules/caniuse-lite/data/features/innertext.js +1 -0
  1402. data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
  1403. data/node_modules/caniuse-lite/data/features/input-color.js +1 -0
  1404. data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
  1405. data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
  1406. data/node_modules/caniuse-lite/data/features/input-event.js +1 -0
  1407. data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
  1408. data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
  1409. data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
  1410. data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
  1411. data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
  1412. data/node_modules/caniuse-lite/data/features/input-number.js +1 -0
  1413. data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
  1414. data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
  1415. data/node_modules/caniuse-lite/data/features/input-range.js +1 -0
  1416. data/node_modules/caniuse-lite/data/features/input-search.js +1 -0
  1417. data/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
  1418. data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
  1419. data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
  1420. data/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
  1421. data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
  1422. data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
  1423. data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
  1424. data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
  1425. data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
  1426. data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
  1427. data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
  1428. data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
  1429. data/node_modules/caniuse-lite/data/features/json.js +1 -0
  1430. data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
  1431. data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
  1432. data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
  1433. data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
  1434. data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
  1435. data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
  1436. data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
  1437. data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
  1438. data/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
  1439. data/node_modules/caniuse-lite/data/features/let.js +1 -0
  1440. data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
  1441. data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
  1442. data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
  1443. data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
  1444. data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
  1445. data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
  1446. data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
  1447. data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
  1448. data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
  1449. data/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
  1450. data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
  1451. data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
  1452. data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
  1453. data/node_modules/caniuse-lite/data/features/mathml.js +1 -0
  1454. data/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
  1455. data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -0
  1456. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -0
  1457. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -0
  1458. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -0
  1459. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -0
  1460. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -0
  1461. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -0
  1462. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -0
  1463. data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
  1464. data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
  1465. data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
  1466. data/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
  1467. data/node_modules/caniuse-lite/data/features/menu.js +1 -0
  1468. data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
  1469. data/node_modules/caniuse-lite/data/features/meter.js +1 -0
  1470. data/node_modules/caniuse-lite/data/features/midi.js +1 -0
  1471. data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
  1472. data/node_modules/caniuse-lite/data/features/mp3.js +1 -0
  1473. data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
  1474. data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
  1475. data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
  1476. data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
  1477. data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
  1478. data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
  1479. data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
  1480. data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
  1481. data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
  1482. data/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
  1483. data/node_modules/caniuse-lite/data/features/notifications.js +1 -0
  1484. data/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
  1485. data/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
  1486. data/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
  1487. data/node_modules/caniuse-lite/data/features/object-values.js +1 -0
  1488. data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
  1489. data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
  1490. data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
  1491. data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
  1492. data/node_modules/caniuse-lite/data/features/ogv.js +1 -0
  1493. data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
  1494. data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
  1495. data/node_modules/caniuse-lite/data/features/online-status.js +1 -0
  1496. data/node_modules/caniuse-lite/data/features/opus.js +1 -0
  1497. data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
  1498. data/node_modules/caniuse-lite/data/features/outline.js +1 -0
  1499. data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
  1500. data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
  1501. data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
  1502. data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
  1503. data/node_modules/caniuse-lite/data/features/passkeys.js +1 -0
  1504. data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
  1505. data/node_modules/caniuse-lite/data/features/path2d.js +1 -0
  1506. data/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
  1507. data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
  1508. data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
  1509. data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
  1510. data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
  1511. data/node_modules/caniuse-lite/data/features/picture.js +1 -0
  1512. data/node_modules/caniuse-lite/data/features/ping.js +1 -0
  1513. data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
  1514. data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
  1515. data/node_modules/caniuse-lite/data/features/pointer.js +1 -0
  1516. data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
  1517. data/node_modules/caniuse-lite/data/features/portals.js +1 -0
  1518. data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
  1519. data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
  1520. data/node_modules/caniuse-lite/data/features/progress.js +1 -0
  1521. data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
  1522. data/node_modules/caniuse-lite/data/features/promises.js +1 -0
  1523. data/node_modules/caniuse-lite/data/features/proximity.js +1 -0
  1524. data/node_modules/caniuse-lite/data/features/proxy.js +1 -0
  1525. data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
  1526. data/node_modules/caniuse-lite/data/features/push-api.js +1 -0
  1527. data/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
  1528. data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
  1529. data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
  1530. data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
  1531. data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
  1532. data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
  1533. data/node_modules/caniuse-lite/data/features/rellist.js +1 -0
  1534. data/node_modules/caniuse-lite/data/features/rem.js +1 -0
  1535. data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
  1536. data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
  1537. data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
  1538. data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
  1539. data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
  1540. data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
  1541. data/node_modules/caniuse-lite/data/features/ruby.js +1 -0
  1542. data/node_modules/caniuse-lite/data/features/run-in.js +1 -0
  1543. data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
  1544. data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
  1545. data/node_modules/caniuse-lite/data/features/script-async.js +1 -0
  1546. data/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
  1547. data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
  1548. data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
  1549. data/node_modules/caniuse-lite/data/features/sdch.js +1 -0
  1550. data/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
  1551. data/node_modules/caniuse-lite/data/features/selectlist.js +1 -0
  1552. data/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
  1553. data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
  1554. data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
  1555. data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
  1556. data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
  1557. data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
  1558. data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
  1559. data/node_modules/caniuse-lite/data/features/sni.js +1 -0
  1560. data/node_modules/caniuse-lite/data/features/spdy.js +1 -0
  1561. data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
  1562. data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
  1563. data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
  1564. data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
  1565. data/node_modules/caniuse-lite/data/features/srcset.js +1 -0
  1566. data/node_modules/caniuse-lite/data/features/stream.js +1 -0
  1567. data/node_modules/caniuse-lite/data/features/streams.js +1 -0
  1568. data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
  1569. data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
  1570. data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -0
  1571. data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
  1572. data/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
  1573. data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
  1574. data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
  1575. data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
  1576. data/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
  1577. data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
  1578. data/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
  1579. data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
  1580. data/node_modules/caniuse-lite/data/features/svg.js +1 -0
  1581. data/node_modules/caniuse-lite/data/features/sxg.js +1 -0
  1582. data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
  1583. data/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
  1584. data/node_modules/caniuse-lite/data/features/template.js +1 -0
  1585. data/node_modules/caniuse-lite/data/features/temporal.js +1 -0
  1586. data/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
  1587. data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
  1588. data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
  1589. data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
  1590. data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
  1591. data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
  1592. data/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
  1593. data/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
  1594. data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
  1595. data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
  1596. data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
  1597. data/node_modules/caniuse-lite/data/features/touch.js +1 -0
  1598. data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
  1599. data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
  1600. data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
  1601. data/node_modules/caniuse-lite/data/features/ttf.js +1 -0
  1602. data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
  1603. data/node_modules/caniuse-lite/data/features/u2f.js +1 -0
  1604. data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
  1605. data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
  1606. data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
  1607. data/node_modules/caniuse-lite/data/features/url.js +1 -0
  1608. data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
  1609. data/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
  1610. data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
  1611. data/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
  1612. data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
  1613. data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
  1614. data/node_modules/caniuse-lite/data/features/vibration.js +1 -0
  1615. data/node_modules/caniuse-lite/data/features/video.js +1 -0
  1616. data/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
  1617. data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -0
  1618. data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
  1619. data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
  1620. data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
  1621. data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
  1622. data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -0
  1623. data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -0
  1624. data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -0
  1625. data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -0
  1626. data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -0
  1627. data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -0
  1628. data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -0
  1629. data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -0
  1630. data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -0
  1631. data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -0
  1632. data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -0
  1633. data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -0
  1634. data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -0
  1635. data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -0
  1636. data/node_modules/caniuse-lite/data/features/wasm.js +1 -0
  1637. data/node_modules/caniuse-lite/data/features/wav.js +1 -0
  1638. data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
  1639. data/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
  1640. data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
  1641. data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
  1642. data/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
  1643. data/node_modules/caniuse-lite/data/features/web-share.js +1 -0
  1644. data/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
  1645. data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -0
  1646. data/node_modules/caniuse-lite/data/features/webgl.js +1 -0
  1647. data/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
  1648. data/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
  1649. data/node_modules/caniuse-lite/data/features/webhid.js +1 -0
  1650. data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
  1651. data/node_modules/caniuse-lite/data/features/webm.js +1 -0
  1652. data/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
  1653. data/node_modules/caniuse-lite/data/features/webp.js +1 -0
  1654. data/node_modules/caniuse-lite/data/features/websockets.js +1 -0
  1655. data/node_modules/caniuse-lite/data/features/webtransport.js +1 -0
  1656. data/node_modules/caniuse-lite/data/features/webusb.js +1 -0
  1657. data/node_modules/caniuse-lite/data/features/webvr.js +1 -0
  1658. data/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
  1659. data/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
  1660. data/node_modules/caniuse-lite/data/features/webxr.js +1 -0
  1661. data/node_modules/caniuse-lite/data/features/will-change.js +1 -0
  1662. data/node_modules/caniuse-lite/data/features/woff.js +1 -0
  1663. data/node_modules/caniuse-lite/data/features/woff2.js +1 -0
  1664. data/node_modules/caniuse-lite/data/features/word-break.js +1 -0
  1665. data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
  1666. data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
  1667. data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
  1668. data/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
  1669. data/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
  1670. data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
  1671. data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
  1672. data/node_modules/caniuse-lite/data/features/zstd.js +1 -0
  1673. data/node_modules/caniuse-lite/data/features.js +1 -0
  1674. data/node_modules/caniuse-lite/data/regions/AD.js +1 -0
  1675. data/node_modules/caniuse-lite/data/regions/AE.js +1 -0
  1676. data/node_modules/caniuse-lite/data/regions/AF.js +1 -0
  1677. data/node_modules/caniuse-lite/data/regions/AG.js +1 -0
  1678. data/node_modules/caniuse-lite/data/regions/AI.js +1 -0
  1679. data/node_modules/caniuse-lite/data/regions/AL.js +1 -0
  1680. data/node_modules/caniuse-lite/data/regions/AM.js +1 -0
  1681. data/node_modules/caniuse-lite/data/regions/AO.js +1 -0
  1682. data/node_modules/caniuse-lite/data/regions/AR.js +1 -0
  1683. data/node_modules/caniuse-lite/data/regions/AS.js +1 -0
  1684. data/node_modules/caniuse-lite/data/regions/AT.js +1 -0
  1685. data/node_modules/caniuse-lite/data/regions/AU.js +1 -0
  1686. data/node_modules/caniuse-lite/data/regions/AW.js +1 -0
  1687. data/node_modules/caniuse-lite/data/regions/AX.js +1 -0
  1688. data/node_modules/caniuse-lite/data/regions/AZ.js +1 -0
  1689. data/node_modules/caniuse-lite/data/regions/BA.js +1 -0
  1690. data/node_modules/caniuse-lite/data/regions/BB.js +1 -0
  1691. data/node_modules/caniuse-lite/data/regions/BD.js +1 -0
  1692. data/node_modules/caniuse-lite/data/regions/BE.js +1 -0
  1693. data/node_modules/caniuse-lite/data/regions/BF.js +1 -0
  1694. data/node_modules/caniuse-lite/data/regions/BG.js +1 -0
  1695. data/node_modules/caniuse-lite/data/regions/BH.js +1 -0
  1696. data/node_modules/caniuse-lite/data/regions/BI.js +1 -0
  1697. data/node_modules/caniuse-lite/data/regions/BJ.js +1 -0
  1698. data/node_modules/caniuse-lite/data/regions/BM.js +1 -0
  1699. data/node_modules/caniuse-lite/data/regions/BN.js +1 -0
  1700. data/node_modules/caniuse-lite/data/regions/BO.js +1 -0
  1701. data/node_modules/caniuse-lite/data/regions/BR.js +1 -0
  1702. data/node_modules/caniuse-lite/data/regions/BS.js +1 -0
  1703. data/node_modules/caniuse-lite/data/regions/BT.js +1 -0
  1704. data/node_modules/caniuse-lite/data/regions/BW.js +1 -0
  1705. data/node_modules/caniuse-lite/data/regions/BY.js +1 -0
  1706. data/node_modules/caniuse-lite/data/regions/BZ.js +1 -0
  1707. data/node_modules/caniuse-lite/data/regions/CA.js +1 -0
  1708. data/node_modules/caniuse-lite/data/regions/CD.js +1 -0
  1709. data/node_modules/caniuse-lite/data/regions/CF.js +1 -0
  1710. data/node_modules/caniuse-lite/data/regions/CG.js +1 -0
  1711. data/node_modules/caniuse-lite/data/regions/CH.js +1 -0
  1712. data/node_modules/caniuse-lite/data/regions/CI.js +1 -0
  1713. data/node_modules/caniuse-lite/data/regions/CK.js +1 -0
  1714. data/node_modules/caniuse-lite/data/regions/CL.js +1 -0
  1715. data/node_modules/caniuse-lite/data/regions/CM.js +1 -0
  1716. data/node_modules/caniuse-lite/data/regions/CN.js +1 -0
  1717. data/node_modules/caniuse-lite/data/regions/CO.js +1 -0
  1718. data/node_modules/caniuse-lite/data/regions/CR.js +1 -0
  1719. data/node_modules/caniuse-lite/data/regions/CU.js +1 -0
  1720. data/node_modules/caniuse-lite/data/regions/CV.js +1 -0
  1721. data/node_modules/caniuse-lite/data/regions/CX.js +1 -0
  1722. data/node_modules/caniuse-lite/data/regions/CY.js +1 -0
  1723. data/node_modules/caniuse-lite/data/regions/CZ.js +1 -0
  1724. data/node_modules/caniuse-lite/data/regions/DE.js +1 -0
  1725. data/node_modules/caniuse-lite/data/regions/DJ.js +1 -0
  1726. data/node_modules/caniuse-lite/data/regions/DK.js +1 -0
  1727. data/node_modules/caniuse-lite/data/regions/DM.js +1 -0
  1728. data/node_modules/caniuse-lite/data/regions/DO.js +1 -0
  1729. data/node_modules/caniuse-lite/data/regions/DZ.js +1 -0
  1730. data/node_modules/caniuse-lite/data/regions/EC.js +1 -0
  1731. data/node_modules/caniuse-lite/data/regions/EE.js +1 -0
  1732. data/node_modules/caniuse-lite/data/regions/EG.js +1 -0
  1733. data/node_modules/caniuse-lite/data/regions/ER.js +1 -0
  1734. data/node_modules/caniuse-lite/data/regions/ES.js +1 -0
  1735. data/node_modules/caniuse-lite/data/regions/ET.js +1 -0
  1736. data/node_modules/caniuse-lite/data/regions/FI.js +1 -0
  1737. data/node_modules/caniuse-lite/data/regions/FJ.js +1 -0
  1738. data/node_modules/caniuse-lite/data/regions/FK.js +1 -0
  1739. data/node_modules/caniuse-lite/data/regions/FM.js +1 -0
  1740. data/node_modules/caniuse-lite/data/regions/FO.js +1 -0
  1741. data/node_modules/caniuse-lite/data/regions/FR.js +1 -0
  1742. data/node_modules/caniuse-lite/data/regions/GA.js +1 -0
  1743. data/node_modules/caniuse-lite/data/regions/GB.js +1 -0
  1744. data/node_modules/caniuse-lite/data/regions/GD.js +1 -0
  1745. data/node_modules/caniuse-lite/data/regions/GE.js +1 -0
  1746. data/node_modules/caniuse-lite/data/regions/GF.js +1 -0
  1747. data/node_modules/caniuse-lite/data/regions/GG.js +1 -0
  1748. data/node_modules/caniuse-lite/data/regions/GH.js +1 -0
  1749. data/node_modules/caniuse-lite/data/regions/GI.js +1 -0
  1750. data/node_modules/caniuse-lite/data/regions/GL.js +1 -0
  1751. data/node_modules/caniuse-lite/data/regions/GM.js +1 -0
  1752. data/node_modules/caniuse-lite/data/regions/GN.js +1 -0
  1753. data/node_modules/caniuse-lite/data/regions/GP.js +1 -0
  1754. data/node_modules/caniuse-lite/data/regions/GQ.js +1 -0
  1755. data/node_modules/caniuse-lite/data/regions/GR.js +1 -0
  1756. data/node_modules/caniuse-lite/data/regions/GT.js +1 -0
  1757. data/node_modules/caniuse-lite/data/regions/GU.js +1 -0
  1758. data/node_modules/caniuse-lite/data/regions/GW.js +1 -0
  1759. data/node_modules/caniuse-lite/data/regions/GY.js +1 -0
  1760. data/node_modules/caniuse-lite/data/regions/HK.js +1 -0
  1761. data/node_modules/caniuse-lite/data/regions/HN.js +1 -0
  1762. data/node_modules/caniuse-lite/data/regions/HR.js +1 -0
  1763. data/node_modules/caniuse-lite/data/regions/HT.js +1 -0
  1764. data/node_modules/caniuse-lite/data/regions/HU.js +1 -0
  1765. data/node_modules/caniuse-lite/data/regions/ID.js +1 -0
  1766. data/node_modules/caniuse-lite/data/regions/IE.js +1 -0
  1767. data/node_modules/caniuse-lite/data/regions/IL.js +1 -0
  1768. data/node_modules/caniuse-lite/data/regions/IM.js +1 -0
  1769. data/node_modules/caniuse-lite/data/regions/IN.js +1 -0
  1770. data/node_modules/caniuse-lite/data/regions/IQ.js +1 -0
  1771. data/node_modules/caniuse-lite/data/regions/IR.js +1 -0
  1772. data/node_modules/caniuse-lite/data/regions/IS.js +1 -0
  1773. data/node_modules/caniuse-lite/data/regions/IT.js +1 -0
  1774. data/node_modules/caniuse-lite/data/regions/JE.js +1 -0
  1775. data/node_modules/caniuse-lite/data/regions/JM.js +1 -0
  1776. data/node_modules/caniuse-lite/data/regions/JO.js +1 -0
  1777. data/node_modules/caniuse-lite/data/regions/JP.js +1 -0
  1778. data/node_modules/caniuse-lite/data/regions/KE.js +1 -0
  1779. data/node_modules/caniuse-lite/data/regions/KG.js +1 -0
  1780. data/node_modules/caniuse-lite/data/regions/KH.js +1 -0
  1781. data/node_modules/caniuse-lite/data/regions/KI.js +1 -0
  1782. data/node_modules/caniuse-lite/data/regions/KM.js +1 -0
  1783. data/node_modules/caniuse-lite/data/regions/KN.js +1 -0
  1784. data/node_modules/caniuse-lite/data/regions/KP.js +1 -0
  1785. data/node_modules/caniuse-lite/data/regions/KR.js +1 -0
  1786. data/node_modules/caniuse-lite/data/regions/KW.js +1 -0
  1787. data/node_modules/caniuse-lite/data/regions/KY.js +1 -0
  1788. data/node_modules/caniuse-lite/data/regions/KZ.js +1 -0
  1789. data/node_modules/caniuse-lite/data/regions/LA.js +1 -0
  1790. data/node_modules/caniuse-lite/data/regions/LB.js +1 -0
  1791. data/node_modules/caniuse-lite/data/regions/LC.js +1 -0
  1792. data/node_modules/caniuse-lite/data/regions/LI.js +1 -0
  1793. data/node_modules/caniuse-lite/data/regions/LK.js +1 -0
  1794. data/node_modules/caniuse-lite/data/regions/LR.js +1 -0
  1795. data/node_modules/caniuse-lite/data/regions/LS.js +1 -0
  1796. data/node_modules/caniuse-lite/data/regions/LT.js +1 -0
  1797. data/node_modules/caniuse-lite/data/regions/LU.js +1 -0
  1798. data/node_modules/caniuse-lite/data/regions/LV.js +1 -0
  1799. data/node_modules/caniuse-lite/data/regions/LY.js +1 -0
  1800. data/node_modules/caniuse-lite/data/regions/MA.js +1 -0
  1801. data/node_modules/caniuse-lite/data/regions/MC.js +1 -0
  1802. data/node_modules/caniuse-lite/data/regions/MD.js +1 -0
  1803. data/node_modules/caniuse-lite/data/regions/ME.js +1 -0
  1804. data/node_modules/caniuse-lite/data/regions/MG.js +1 -0
  1805. data/node_modules/caniuse-lite/data/regions/MH.js +1 -0
  1806. data/node_modules/caniuse-lite/data/regions/MK.js +1 -0
  1807. data/node_modules/caniuse-lite/data/regions/ML.js +1 -0
  1808. data/node_modules/caniuse-lite/data/regions/MM.js +1 -0
  1809. data/node_modules/caniuse-lite/data/regions/MN.js +1 -0
  1810. data/node_modules/caniuse-lite/data/regions/MO.js +1 -0
  1811. data/node_modules/caniuse-lite/data/regions/MP.js +1 -0
  1812. data/node_modules/caniuse-lite/data/regions/MQ.js +1 -0
  1813. data/node_modules/caniuse-lite/data/regions/MR.js +1 -0
  1814. data/node_modules/caniuse-lite/data/regions/MS.js +1 -0
  1815. data/node_modules/caniuse-lite/data/regions/MT.js +1 -0
  1816. data/node_modules/caniuse-lite/data/regions/MU.js +1 -0
  1817. data/node_modules/caniuse-lite/data/regions/MV.js +1 -0
  1818. data/node_modules/caniuse-lite/data/regions/MW.js +1 -0
  1819. data/node_modules/caniuse-lite/data/regions/MX.js +1 -0
  1820. data/node_modules/caniuse-lite/data/regions/MY.js +1 -0
  1821. data/node_modules/caniuse-lite/data/regions/MZ.js +1 -0
  1822. data/node_modules/caniuse-lite/data/regions/NA.js +1 -0
  1823. data/node_modules/caniuse-lite/data/regions/NC.js +1 -0
  1824. data/node_modules/caniuse-lite/data/regions/NE.js +1 -0
  1825. data/node_modules/caniuse-lite/data/regions/NF.js +1 -0
  1826. data/node_modules/caniuse-lite/data/regions/NG.js +1 -0
  1827. data/node_modules/caniuse-lite/data/regions/NI.js +1 -0
  1828. data/node_modules/caniuse-lite/data/regions/NL.js +1 -0
  1829. data/node_modules/caniuse-lite/data/regions/NO.js +1 -0
  1830. data/node_modules/caniuse-lite/data/regions/NP.js +1 -0
  1831. data/node_modules/caniuse-lite/data/regions/NR.js +1 -0
  1832. data/node_modules/caniuse-lite/data/regions/NU.js +1 -0
  1833. data/node_modules/caniuse-lite/data/regions/NZ.js +1 -0
  1834. data/node_modules/caniuse-lite/data/regions/OM.js +1 -0
  1835. data/node_modules/caniuse-lite/data/regions/PA.js +1 -0
  1836. data/node_modules/caniuse-lite/data/regions/PE.js +1 -0
  1837. data/node_modules/caniuse-lite/data/regions/PF.js +1 -0
  1838. data/node_modules/caniuse-lite/data/regions/PG.js +1 -0
  1839. data/node_modules/caniuse-lite/data/regions/PH.js +1 -0
  1840. data/node_modules/caniuse-lite/data/regions/PK.js +1 -0
  1841. data/node_modules/caniuse-lite/data/regions/PL.js +1 -0
  1842. data/node_modules/caniuse-lite/data/regions/PM.js +1 -0
  1843. data/node_modules/caniuse-lite/data/regions/PN.js +1 -0
  1844. data/node_modules/caniuse-lite/data/regions/PR.js +1 -0
  1845. data/node_modules/caniuse-lite/data/regions/PS.js +1 -0
  1846. data/node_modules/caniuse-lite/data/regions/PT.js +1 -0
  1847. data/node_modules/caniuse-lite/data/regions/PW.js +1 -0
  1848. data/node_modules/caniuse-lite/data/regions/PY.js +1 -0
  1849. data/node_modules/caniuse-lite/data/regions/QA.js +1 -0
  1850. data/node_modules/caniuse-lite/data/regions/RE.js +1 -0
  1851. data/node_modules/caniuse-lite/data/regions/RO.js +1 -0
  1852. data/node_modules/caniuse-lite/data/regions/RS.js +1 -0
  1853. data/node_modules/caniuse-lite/data/regions/RU.js +1 -0
  1854. data/node_modules/caniuse-lite/data/regions/RW.js +1 -0
  1855. data/node_modules/caniuse-lite/data/regions/SA.js +1 -0
  1856. data/node_modules/caniuse-lite/data/regions/SB.js +1 -0
  1857. data/node_modules/caniuse-lite/data/regions/SC.js +1 -0
  1858. data/node_modules/caniuse-lite/data/regions/SD.js +1 -0
  1859. data/node_modules/caniuse-lite/data/regions/SE.js +1 -0
  1860. data/node_modules/caniuse-lite/data/regions/SG.js +1 -0
  1861. data/node_modules/caniuse-lite/data/regions/SH.js +1 -0
  1862. data/node_modules/caniuse-lite/data/regions/SI.js +1 -0
  1863. data/node_modules/caniuse-lite/data/regions/SK.js +1 -0
  1864. data/node_modules/caniuse-lite/data/regions/SL.js +1 -0
  1865. data/node_modules/caniuse-lite/data/regions/SM.js +1 -0
  1866. data/node_modules/caniuse-lite/data/regions/SN.js +1 -0
  1867. data/node_modules/caniuse-lite/data/regions/SO.js +1 -0
  1868. data/node_modules/caniuse-lite/data/regions/SR.js +1 -0
  1869. data/node_modules/caniuse-lite/data/regions/ST.js +1 -0
  1870. data/node_modules/caniuse-lite/data/regions/SV.js +1 -0
  1871. data/node_modules/caniuse-lite/data/regions/SY.js +1 -0
  1872. data/node_modules/caniuse-lite/data/regions/SZ.js +1 -0
  1873. data/node_modules/caniuse-lite/data/regions/TC.js +1 -0
  1874. data/node_modules/caniuse-lite/data/regions/TD.js +1 -0
  1875. data/node_modules/caniuse-lite/data/regions/TG.js +1 -0
  1876. data/node_modules/caniuse-lite/data/regions/TH.js +1 -0
  1877. data/node_modules/caniuse-lite/data/regions/TJ.js +1 -0
  1878. data/node_modules/caniuse-lite/data/regions/TK.js +1 -0
  1879. data/node_modules/caniuse-lite/data/regions/TL.js +1 -0
  1880. data/node_modules/caniuse-lite/data/regions/TM.js +1 -0
  1881. data/node_modules/caniuse-lite/data/regions/TN.js +1 -0
  1882. data/node_modules/caniuse-lite/data/regions/TO.js +1 -0
  1883. data/node_modules/caniuse-lite/data/regions/TR.js +1 -0
  1884. data/node_modules/caniuse-lite/data/regions/TT.js +1 -0
  1885. data/node_modules/caniuse-lite/data/regions/TV.js +1 -0
  1886. data/node_modules/caniuse-lite/data/regions/TW.js +1 -0
  1887. data/node_modules/caniuse-lite/data/regions/TZ.js +1 -0
  1888. data/node_modules/caniuse-lite/data/regions/UA.js +1 -0
  1889. data/node_modules/caniuse-lite/data/regions/UG.js +1 -0
  1890. data/node_modules/caniuse-lite/data/regions/US.js +1 -0
  1891. data/node_modules/caniuse-lite/data/regions/UY.js +1 -0
  1892. data/node_modules/caniuse-lite/data/regions/UZ.js +1 -0
  1893. data/node_modules/caniuse-lite/data/regions/VA.js +1 -0
  1894. data/node_modules/caniuse-lite/data/regions/VC.js +1 -0
  1895. data/node_modules/caniuse-lite/data/regions/VE.js +1 -0
  1896. data/node_modules/caniuse-lite/data/regions/VG.js +1 -0
  1897. data/node_modules/caniuse-lite/data/regions/VI.js +1 -0
  1898. data/node_modules/caniuse-lite/data/regions/VN.js +1 -0
  1899. data/node_modules/caniuse-lite/data/regions/VU.js +1 -0
  1900. data/node_modules/caniuse-lite/data/regions/WF.js +1 -0
  1901. data/node_modules/caniuse-lite/data/regions/WS.js +1 -0
  1902. data/node_modules/caniuse-lite/data/regions/YE.js +1 -0
  1903. data/node_modules/caniuse-lite/data/regions/YT.js +1 -0
  1904. data/node_modules/caniuse-lite/data/regions/ZA.js +1 -0
  1905. data/node_modules/caniuse-lite/data/regions/ZM.js +1 -0
  1906. data/node_modules/caniuse-lite/data/regions/ZW.js +1 -0
  1907. data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -0
  1908. data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -0
  1909. data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -0
  1910. data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -0
  1911. data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -0
  1912. data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -0
  1913. data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -0
  1914. data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -0
  1915. data/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
  1916. data/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
  1917. data/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
  1918. data/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
  1919. data/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
  1920. data/node_modules/caniuse-lite/dist/unpacker/feature.js +52 -0
  1921. data/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
  1922. data/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
  1923. data/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
  1924. data/node_modules/caniuse-lite/package.json +34 -0
  1925. data/node_modules/chalk/index.js +228 -0
  1926. data/node_modules/chalk/index.js.flow +93 -0
  1927. data/node_modules/chalk/license +9 -0
  1928. data/node_modules/chalk/package.json +71 -0
  1929. data/node_modules/chalk/readme.md +314 -0
  1930. data/node_modules/chalk/templates.js +128 -0
  1931. data/node_modules/chalk/types/index.d.ts +97 -0
  1932. data/node_modules/ci-info/CHANGELOG.md +78 -0
  1933. data/node_modules/ci-info/LICENSE +21 -0
  1934. data/node_modules/ci-info/README.md +108 -0
  1935. data/node_modules/ci-info/index.js +66 -0
  1936. data/node_modules/ci-info/package.json +36 -0
  1937. data/node_modules/ci-info/vendors.json +153 -0
  1938. data/node_modules/coffee-lex/LICENSE +7 -0
  1939. data/node_modules/coffee-lex/README.md +144 -0
  1940. data/node_modules/coffee-lex/dist/index.d.ts +313 -0
  1941. data/node_modules/coffee-lex/dist/index.js +1565 -0
  1942. data/node_modules/coffee-lex/dist/index.mjs +1530 -0
  1943. data/node_modules/coffee-lex/package.json +81 -0
  1944. data/node_modules/color-convert/CHANGELOG.md +54 -0
  1945. data/node_modules/color-convert/LICENSE +21 -0
  1946. data/node_modules/color-convert/README.md +68 -0
  1947. data/node_modules/color-convert/conversions.js +868 -0
  1948. data/node_modules/color-convert/index.js +78 -0
  1949. data/node_modules/color-convert/package.json +46 -0
  1950. data/node_modules/color-convert/route.js +97 -0
  1951. data/node_modules/color-name/.eslintrc.json +43 -0
  1952. data/node_modules/color-name/.npmignore +107 -0
  1953. data/node_modules/color-name/LICENSE +8 -0
  1954. data/node_modules/color-name/README.md +11 -0
  1955. data/node_modules/color-name/index.js +152 -0
  1956. data/node_modules/color-name/package.json +25 -0
  1957. data/node_modules/color-name/test.js +7 -0
  1958. data/node_modules/convert-source-map/LICENSE +23 -0
  1959. data/node_modules/convert-source-map/README.md +206 -0
  1960. data/node_modules/convert-source-map/index.js +233 -0
  1961. data/node_modules/convert-source-map/package.json +38 -0
  1962. data/node_modules/cross-spawn/CHANGELOG.md +130 -0
  1963. data/node_modules/cross-spawn/LICENSE +21 -0
  1964. data/node_modules/cross-spawn/README.md +96 -0
  1965. data/node_modules/cross-spawn/index.js +39 -0
  1966. data/node_modules/cross-spawn/lib/enoent.js +59 -0
  1967. data/node_modules/cross-spawn/lib/parse.js +91 -0
  1968. data/node_modules/cross-spawn/lib/util/escape.js +45 -0
  1969. data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  1970. data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  1971. data/node_modules/cross-spawn/node_modules/.bin/node-which +1 -0
  1972. data/node_modules/cross-spawn/package.json +73 -0
  1973. data/node_modules/debug/LICENSE +20 -0
  1974. data/node_modules/debug/README.md +481 -0
  1975. data/node_modules/debug/package.json +60 -0
  1976. data/node_modules/debug/src/browser.js +269 -0
  1977. data/node_modules/debug/src/common.js +274 -0
  1978. data/node_modules/debug/src/index.js +10 -0
  1979. data/node_modules/debug/src/node.js +263 -0
  1980. data/node_modules/decaffeinate/LICENSE +7 -0
  1981. data/node_modules/decaffeinate/README.md +196 -0
  1982. data/node_modules/decaffeinate/bin/decaffeinate +3 -0
  1983. data/node_modules/decaffeinate/dist/index.d.ts +72 -0
  1984. data/node_modules/decaffeinate/dist/index.js +10542 -0
  1985. data/node_modules/decaffeinate/dist/index.mjs +10582 -0
  1986. data/node_modules/decaffeinate/node_modules/.bin/cake +1 -0
  1987. data/node_modules/decaffeinate/node_modules/.bin/coffee +1 -0
  1988. data/node_modules/decaffeinate/node_modules/.bin/is-ci +1 -0
  1989. data/node_modules/decaffeinate/node_modules/.bin/is-ci-cli +1 -0
  1990. data/node_modules/decaffeinate/package.json +133 -0
  1991. data/node_modules/decaffeinate-coffeescript/LICENSE +22 -0
  1992. data/node_modules/decaffeinate-coffeescript/README.md +47 -0
  1993. data/node_modules/decaffeinate-coffeescript/bin/cake +18 -0
  1994. data/node_modules/decaffeinate-coffeescript/bin/coffee +18 -0
  1995. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/browser.js +132 -0
  1996. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/cake.js +114 -0
  1997. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.d.ts +60 -0
  1998. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.js +331 -0
  1999. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/command.js +610 -0
  2000. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/grammar.js +816 -0
  2001. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/helpers.js +249 -0
  2002. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/index.js +29 -0
  2003. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.d.ts +83 -0
  2004. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.js +1166 -0
  2005. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.d.ts +791 -0
  2006. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.js +3899 -0
  2007. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/optparse.js +139 -0
  2008. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/parser.js +887 -0
  2009. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/register.js +66 -0
  2010. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/repl.js +203 -0
  2011. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/rewriter.js +537 -0
  2012. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.d.ts +3 -0
  2013. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.js +165 -0
  2014. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.d.ts +13 -0
  2015. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.js +161 -0
  2016. data/node_modules/decaffeinate-coffeescript/package.json +49 -0
  2017. data/node_modules/decaffeinate-coffeescript/register.js +1 -0
  2018. data/node_modules/decaffeinate-coffeescript/repl.js +1 -0
  2019. data/node_modules/decaffeinate-coffeescript2/LICENSE +22 -0
  2020. data/node_modules/decaffeinate-coffeescript2/README.md +47 -0
  2021. data/node_modules/decaffeinate-coffeescript2/bin/cake +25 -0
  2022. data/node_modules/decaffeinate-coffeescript2/bin/coffee +25 -0
  2023. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/browser.js +140 -0
  2024. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/cake.js +135 -0
  2025. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.d.ts +60 -0
  2026. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.js +306 -0
  2027. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/command.js +719 -0
  2028. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/grammar.js +2130 -0
  2029. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/helpers.js +333 -0
  2030. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/index.js +209 -0
  2031. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.d.ts +83 -0
  2032. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.js +1703 -0
  2033. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.d.ts +809 -0
  2034. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.js +5974 -0
  2035. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/optparse.js +230 -0
  2036. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/parser.js +1108 -0
  2037. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/register.js +85 -0
  2038. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/repl.js +296 -0
  2039. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/rewriter.js +1014 -0
  2040. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.d.ts +3 -0
  2041. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.js +187 -0
  2042. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.d.ts +13 -0
  2043. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.js +211 -0
  2044. data/node_modules/decaffeinate-coffeescript2/package.json +56 -0
  2045. data/node_modules/decaffeinate-coffeescript2/register.js +1 -0
  2046. data/node_modules/decaffeinate-coffeescript2/repl.js +1 -0
  2047. data/node_modules/decaffeinate-parser/LICENSE +7 -0
  2048. data/node_modules/decaffeinate-parser/README.md +34 -0
  2049. data/node_modules/decaffeinate-parser/dist/index.d.ts +644 -0
  2050. data/node_modules/decaffeinate-parser/dist/index.js +3458 -0
  2051. data/node_modules/decaffeinate-parser/dist/index.mjs +3557 -0
  2052. data/node_modules/decaffeinate-parser/node_modules/.bin/cake +1 -0
  2053. data/node_modules/decaffeinate-parser/node_modules/.bin/coffee +1 -0
  2054. data/node_modules/decaffeinate-parser/package.json +93 -0
  2055. data/node_modules/detect-indent/index.js +120 -0
  2056. data/node_modules/detect-indent/license +21 -0
  2057. data/node_modules/detect-indent/package.json +46 -0
  2058. data/node_modules/detect-indent/readme.md +110 -0
  2059. data/node_modules/electron-to-chromium/LICENSE +5 -0
  2060. data/node_modules/electron-to-chromium/README.md +186 -0
  2061. data/node_modules/electron-to-chromium/chromium-versions.js +66 -0
  2062. data/node_modules/electron-to-chromium/chromium-versions.json +1 -0
  2063. data/node_modules/electron-to-chromium/full-chromium-versions.js +3308 -0
  2064. data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
  2065. data/node_modules/electron-to-chromium/full-versions.js +2404 -0
  2066. data/node_modules/electron-to-chromium/full-versions.json +1 -0
  2067. data/node_modules/electron-to-chromium/index.js +36 -0
  2068. data/node_modules/electron-to-chromium/package.json +44 -0
  2069. data/node_modules/electron-to-chromium/versions.js +157 -0
  2070. data/node_modules/electron-to-chromium/versions.json +1 -0
  2071. data/node_modules/escalade/dist/index.js +22 -0
  2072. data/node_modules/escalade/dist/index.mjs +22 -0
  2073. data/node_modules/escalade/index.d.ts +3 -0
  2074. data/node_modules/escalade/license +9 -0
  2075. data/node_modules/escalade/package.json +63 -0
  2076. data/node_modules/escalade/readme.md +211 -0
  2077. data/node_modules/escalade/sync/index.d.ts +2 -0
  2078. data/node_modules/escalade/sync/index.js +18 -0
  2079. data/node_modules/escalade/sync/index.mjs +18 -0
  2080. data/node_modules/escape-string-regexp/index.js +11 -0
  2081. data/node_modules/escape-string-regexp/license +21 -0
  2082. data/node_modules/escape-string-regexp/package.json +41 -0
  2083. data/node_modules/escape-string-regexp/readme.md +27 -0
  2084. data/node_modules/esprima/ChangeLog +235 -0
  2085. data/node_modules/esprima/LICENSE.BSD +21 -0
  2086. data/node_modules/esprima/README.md +46 -0
  2087. data/node_modules/esprima/bin/esparse.js +139 -0
  2088. data/node_modules/esprima/bin/esvalidate.js +236 -0
  2089. data/node_modules/esprima/dist/esprima.js +6709 -0
  2090. data/node_modules/esprima/package.json +112 -0
  2091. data/node_modules/function-bind/.eslintrc +21 -0
  2092. data/node_modules/function-bind/.github/FUNDING.yml +12 -0
  2093. data/node_modules/function-bind/.github/SECURITY.md +3 -0
  2094. data/node_modules/function-bind/.nycrc +13 -0
  2095. data/node_modules/function-bind/CHANGELOG.md +136 -0
  2096. data/node_modules/function-bind/LICENSE +20 -0
  2097. data/node_modules/function-bind/README.md +46 -0
  2098. data/node_modules/function-bind/implementation.js +84 -0
  2099. data/node_modules/function-bind/index.js +5 -0
  2100. data/node_modules/function-bind/package.json +87 -0
  2101. data/node_modules/function-bind/test/.eslintrc +9 -0
  2102. data/node_modules/function-bind/test/index.js +252 -0
  2103. data/node_modules/gensync/LICENSE +7 -0
  2104. data/node_modules/gensync/README.md +196 -0
  2105. data/node_modules/gensync/index.js +373 -0
  2106. data/node_modules/gensync/index.js.flow +32 -0
  2107. data/node_modules/gensync/package.json +37 -0
  2108. data/node_modules/gensync/test/.babelrc +5 -0
  2109. data/node_modules/gensync/test/index.test.js +489 -0
  2110. data/node_modules/globals/globals.json +1563 -0
  2111. data/node_modules/globals/index.js +2 -0
  2112. data/node_modules/globals/license +9 -0
  2113. data/node_modules/globals/package.json +41 -0
  2114. data/node_modules/globals/readme.md +41 -0
  2115. data/node_modules/has-flag/index.js +8 -0
  2116. data/node_modules/has-flag/license +9 -0
  2117. data/node_modules/has-flag/package.json +44 -0
  2118. data/node_modules/has-flag/readme.md +70 -0
  2119. data/node_modules/hasown/.eslintrc +5 -0
  2120. data/node_modules/hasown/.github/FUNDING.yml +12 -0
  2121. data/node_modules/hasown/.nycrc +13 -0
  2122. data/node_modules/hasown/CHANGELOG.md +40 -0
  2123. data/node_modules/hasown/LICENSE +21 -0
  2124. data/node_modules/hasown/README.md +40 -0
  2125. data/node_modules/hasown/index.d.ts +3 -0
  2126. data/node_modules/hasown/index.js +8 -0
  2127. data/node_modules/hasown/package.json +92 -0
  2128. data/node_modules/hasown/tsconfig.json +6 -0
  2129. data/node_modules/is-ci/CHANGELOG.md +14 -0
  2130. data/node_modules/is-ci/LICENSE +21 -0
  2131. data/node_modules/is-ci/README.md +50 -0
  2132. data/node_modules/is-ci/bin.js +4 -0
  2133. data/node_modules/is-ci/index.js +3 -0
  2134. data/node_modules/is-ci/package.json +38 -0
  2135. data/node_modules/is-ci-cli/LICENSE +21 -0
  2136. data/node_modules/is-ci-cli/README.md +29 -0
  2137. data/node_modules/is-ci-cli/cli.js +46 -0
  2138. data/node_modules/is-ci-cli/node_modules/.bin/is-ci +1 -0
  2139. data/node_modules/is-ci-cli/package.json +39 -0
  2140. data/node_modules/is-core-module/.eslintrc +18 -0
  2141. data/node_modules/is-core-module/.nycrc +9 -0
  2142. data/node_modules/is-core-module/CHANGELOG.md +180 -0
  2143. data/node_modules/is-core-module/LICENSE +20 -0
  2144. data/node_modules/is-core-module/README.md +40 -0
  2145. data/node_modules/is-core-module/core.json +158 -0
  2146. data/node_modules/is-core-module/index.js +69 -0
  2147. data/node_modules/is-core-module/package.json +73 -0
  2148. data/node_modules/is-core-module/test/index.js +133 -0
  2149. data/node_modules/is-finite/index.js +5 -0
  2150. data/node_modules/is-finite/license +9 -0
  2151. data/node_modules/is-finite/package.json +34 -0
  2152. data/node_modules/is-finite/readme.md +33 -0
  2153. data/node_modules/isexe/.npmignore +2 -0
  2154. data/node_modules/isexe/LICENSE +15 -0
  2155. data/node_modules/isexe/README.md +51 -0
  2156. data/node_modules/isexe/index.js +57 -0
  2157. data/node_modules/isexe/mode.js +41 -0
  2158. data/node_modules/isexe/package.json +31 -0
  2159. data/node_modules/isexe/test/basic.js +221 -0
  2160. data/node_modules/isexe/windows.js +42 -0
  2161. data/node_modules/js-tokens/CHANGELOG.md +151 -0
  2162. data/node_modules/js-tokens/LICENSE +21 -0
  2163. data/node_modules/js-tokens/README.md +240 -0
  2164. data/node_modules/js-tokens/index.js +23 -0
  2165. data/node_modules/js-tokens/package.json +30 -0
  2166. data/node_modules/jsesc/LICENSE-MIT.txt +20 -0
  2167. data/node_modules/jsesc/README.md +421 -0
  2168. data/node_modules/jsesc/bin/jsesc +148 -0
  2169. data/node_modules/jsesc/jsesc.js +329 -0
  2170. data/node_modules/jsesc/man/jsesc.1 +94 -0
  2171. data/node_modules/jsesc/package.json +54 -0
  2172. data/node_modules/json5/LICENSE.md +23 -0
  2173. data/node_modules/json5/README.md +282 -0
  2174. data/node_modules/json5/dist/index.js +1737 -0
  2175. data/node_modules/json5/dist/index.min.js +1 -0
  2176. data/node_modules/json5/dist/index.min.mjs +1 -0
  2177. data/node_modules/json5/dist/index.mjs +1426 -0
  2178. data/node_modules/json5/lib/cli.js +152 -0
  2179. data/node_modules/json5/lib/index.d.ts +4 -0
  2180. data/node_modules/json5/lib/index.js +9 -0
  2181. data/node_modules/json5/lib/parse.d.ts +15 -0
  2182. data/node_modules/json5/lib/parse.js +1114 -0
  2183. data/node_modules/json5/lib/register.js +13 -0
  2184. data/node_modules/json5/lib/require.js +4 -0
  2185. data/node_modules/json5/lib/stringify.d.ts +89 -0
  2186. data/node_modules/json5/lib/stringify.js +261 -0
  2187. data/node_modules/json5/lib/unicode.d.ts +3 -0
  2188. data/node_modules/json5/lib/unicode.js +4 -0
  2189. data/node_modules/json5/lib/util.d.ts +5 -0
  2190. data/node_modules/json5/lib/util.js +35 -0
  2191. data/node_modules/json5/package.json +72 -0
  2192. data/node_modules/lines-and-columns/LICENSE +21 -0
  2193. data/node_modules/lines-and-columns/README.md +33 -0
  2194. data/node_modules/lines-and-columns/build/index.cjs +61 -0
  2195. data/node_modules/lines-and-columns/build/index.d.ts +12 -0
  2196. data/node_modules/lines-and-columns/build/index.mjs +58 -0
  2197. data/node_modules/lines-and-columns/package.json +61 -0
  2198. data/node_modules/lru-cache/LICENSE +15 -0
  2199. data/node_modules/lru-cache/README.md +166 -0
  2200. data/node_modules/lru-cache/index.js +334 -0
  2201. data/node_modules/lru-cache/package.json +32 -0
  2202. data/node_modules/magic-string/LICENSE +7 -0
  2203. data/node_modules/magic-string/README.md +304 -0
  2204. data/node_modules/magic-string/dist/magic-string.cjs.d.ts +268 -0
  2205. data/node_modules/magic-string/dist/magic-string.cjs.js +1547 -0
  2206. data/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -0
  2207. data/node_modules/magic-string/dist/magic-string.es.d.mts +268 -0
  2208. data/node_modules/magic-string/dist/magic-string.es.mjs +1541 -0
  2209. data/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
  2210. data/node_modules/magic-string/dist/magic-string.umd.js +1639 -0
  2211. data/node_modules/magic-string/dist/magic-string.umd.js.map +1 -0
  2212. data/node_modules/magic-string/package.json +63 -0
  2213. data/node_modules/ms/index.js +162 -0
  2214. data/node_modules/ms/license.md +21 -0
  2215. data/node_modules/ms/package.json +37 -0
  2216. data/node_modules/ms/readme.md +60 -0
  2217. data/node_modules/mz/HISTORY.md +66 -0
  2218. data/node_modules/mz/LICENSE +22 -0
  2219. data/node_modules/mz/README.md +106 -0
  2220. data/node_modules/mz/child_process.js +8 -0
  2221. data/node_modules/mz/crypto.js +9 -0
  2222. data/node_modules/mz/dns.js +16 -0
  2223. data/node_modules/mz/fs.js +62 -0
  2224. data/node_modules/mz/index.js +8 -0
  2225. data/node_modules/mz/package.json +44 -0
  2226. data/node_modules/mz/readline.js +64 -0
  2227. data/node_modules/mz/zlib.js +13 -0
  2228. data/node_modules/node-releases/LICENSE +21 -0
  2229. data/node_modules/node-releases/README.md +12 -0
  2230. data/node_modules/node-releases/data/processed/envs.json +1 -0
  2231. data/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
  2232. data/node_modules/node-releases/package.json +19 -0
  2233. data/node_modules/object-assign/index.js +90 -0
  2234. data/node_modules/object-assign/license +21 -0
  2235. data/node_modules/object-assign/package.json +42 -0
  2236. data/node_modules/object-assign/readme.md +61 -0
  2237. data/node_modules/path-key/index.d.ts +40 -0
  2238. data/node_modules/path-key/index.js +16 -0
  2239. data/node_modules/path-key/license +9 -0
  2240. data/node_modules/path-key/package.json +39 -0
  2241. data/node_modules/path-key/readme.md +61 -0
  2242. data/node_modules/path-parse/LICENSE +21 -0
  2243. data/node_modules/path-parse/README.md +42 -0
  2244. data/node_modules/path-parse/index.js +75 -0
  2245. data/node_modules/path-parse/package.json +33 -0
  2246. data/node_modules/picocolors/LICENSE +15 -0
  2247. data/node_modules/picocolors/README.md +21 -0
  2248. data/node_modules/picocolors/package.json +25 -0
  2249. data/node_modules/picocolors/picocolors.browser.js +4 -0
  2250. data/node_modules/picocolors/picocolors.d.ts +5 -0
  2251. data/node_modules/picocolors/picocolors.js +65 -0
  2252. data/node_modules/picocolors/types.ts +30 -0
  2253. data/node_modules/private/LICENSE +20 -0
  2254. data/node_modules/private/README.md +245 -0
  2255. data/node_modules/private/package.json +39 -0
  2256. data/node_modules/private/private.js +129 -0
  2257. data/node_modules/recast/.editorconfig +2 -0
  2258. data/node_modules/recast/.node-version +1 -0
  2259. data/node_modules/recast/.travis.yml +20 -0
  2260. data/node_modules/recast/LICENSE +20 -0
  2261. data/node_modules/recast/README.md +208 -0
  2262. data/node_modules/recast/example/add-braces +44 -0
  2263. data/node_modules/recast/example/generic-identity +17 -0
  2264. data/node_modules/recast/example/identity +8 -0
  2265. data/node_modules/recast/example/to-while +84 -0
  2266. data/node_modules/recast/lib/comments.d.ts +2 -0
  2267. data/node_modules/recast/lib/comments.js +308 -0
  2268. data/node_modules/recast/lib/fast-path.d.ts +25 -0
  2269. data/node_modules/recast/lib/fast-path.js +545 -0
  2270. data/node_modules/recast/lib/lines.d.ts +62 -0
  2271. data/node_modules/recast/lib/lines.js +666 -0
  2272. data/node_modules/recast/lib/mapping.d.ts +15 -0
  2273. data/node_modules/recast/lib/mapping.js +202 -0
  2274. data/node_modules/recast/lib/options.d.ts +148 -0
  2275. data/node_modules/recast/lib/options.js +56 -0
  2276. data/node_modules/recast/lib/parser.d.ts +2 -0
  2277. data/node_modules/recast/lib/parser.js +257 -0
  2278. data/node_modules/recast/lib/patcher.d.ts +12 -0
  2279. data/node_modules/recast/lib/patcher.js +400 -0
  2280. data/node_modules/recast/lib/printer.d.ts +14 -0
  2281. data/node_modules/recast/lib/printer.js +2262 -0
  2282. data/node_modules/recast/lib/util.d.ts +16 -0
  2283. data/node_modules/recast/lib/util.js +339 -0
  2284. data/node_modules/recast/main.d.ts +50 -0
  2285. data/node_modules/recast/main.js +73 -0
  2286. data/node_modules/recast/node_modules/.bin/esparse +1 -0
  2287. data/node_modules/recast/node_modules/.bin/esvalidate +1 -0
  2288. data/node_modules/recast/package.json +62 -0
  2289. data/node_modules/recast/parsers/_babel_options.d.ts +8 -0
  2290. data/node_modules/recast/parsers/_babel_options.js +42 -0
  2291. data/node_modules/recast/parsers/acorn.d.ts +1 -0
  2292. data/node_modules/recast/parsers/acorn.js +33 -0
  2293. data/node_modules/recast/parsers/babel.d.ts +8 -0
  2294. data/node_modules/recast/parsers/babel.js +30 -0
  2295. data/node_modules/recast/parsers/babylon.d.ts +1 -0
  2296. data/node_modules/recast/parsers/babylon.js +6 -0
  2297. data/node_modules/recast/parsers/esprima.d.ts +1 -0
  2298. data/node_modules/recast/parsers/esprima.js +29 -0
  2299. data/node_modules/recast/parsers/flow.d.ts +2 -0
  2300. data/node_modules/recast/parsers/flow.js +21 -0
  2301. data/node_modules/recast/parsers/typescript.d.ts +2 -0
  2302. data/node_modules/recast/parsers/typescript.js +21 -0
  2303. data/node_modules/recast/tsconfig.json +20 -0
  2304. data/node_modules/repeating/index.js +24 -0
  2305. data/node_modules/repeating/license +21 -0
  2306. data/node_modules/repeating/package.json +37 -0
  2307. data/node_modules/repeating/readme.md +30 -0
  2308. data/node_modules/resolve/.editorconfig +37 -0
  2309. data/node_modules/resolve/.eslintrc +65 -0
  2310. data/node_modules/resolve/.github/FUNDING.yml +12 -0
  2311. data/node_modules/resolve/LICENSE +21 -0
  2312. data/node_modules/resolve/SECURITY.md +3 -0
  2313. data/node_modules/resolve/async.js +3 -0
  2314. data/node_modules/resolve/bin/resolve +50 -0
  2315. data/node_modules/resolve/example/async.js +5 -0
  2316. data/node_modules/resolve/example/sync.js +3 -0
  2317. data/node_modules/resolve/index.js +6 -0
  2318. data/node_modules/resolve/lib/async.js +329 -0
  2319. data/node_modules/resolve/lib/caller.js +8 -0
  2320. data/node_modules/resolve/lib/core.js +12 -0
  2321. data/node_modules/resolve/lib/core.json +158 -0
  2322. data/node_modules/resolve/lib/homedir.js +24 -0
  2323. data/node_modules/resolve/lib/is-core.js +5 -0
  2324. data/node_modules/resolve/lib/node-modules-paths.js +42 -0
  2325. data/node_modules/resolve/lib/normalize-options.js +10 -0
  2326. data/node_modules/resolve/lib/sync.js +208 -0
  2327. data/node_modules/resolve/package.json +72 -0
  2328. data/node_modules/resolve/readme.markdown +301 -0
  2329. data/node_modules/resolve/sync.js +3 -0
  2330. data/node_modules/resolve/test/core.js +88 -0
  2331. data/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  2332. data/node_modules/resolve/test/dotdot/index.js +1 -0
  2333. data/node_modules/resolve/test/dotdot.js +29 -0
  2334. data/node_modules/resolve/test/faulty_basedir.js +29 -0
  2335. data/node_modules/resolve/test/filter.js +34 -0
  2336. data/node_modules/resolve/test/filter_sync.js +33 -0
  2337. data/node_modules/resolve/test/home_paths.js +127 -0
  2338. data/node_modules/resolve/test/home_paths_sync.js +114 -0
  2339. data/node_modules/resolve/test/mock.js +315 -0
  2340. data/node_modules/resolve/test/mock_sync.js +214 -0
  2341. data/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  2342. data/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  2343. data/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  2344. data/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  2345. data/node_modules/resolve/test/module_dir.js +56 -0
  2346. data/node_modules/resolve/test/node-modules-paths.js +143 -0
  2347. data/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  2348. data/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  2349. data/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  2350. data/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  2351. data/node_modules/resolve/test/node_path.js +70 -0
  2352. data/node_modules/resolve/test/nonstring.js +9 -0
  2353. data/node_modules/resolve/test/pathfilter.js +75 -0
  2354. data/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  2355. data/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  2356. data/node_modules/resolve/test/precedence/aaa.js +1 -0
  2357. data/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  2358. data/node_modules/resolve/test/precedence/bbb.js +1 -0
  2359. data/node_modules/resolve/test/precedence.js +23 -0
  2360. data/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  2361. data/node_modules/resolve/test/resolver/baz/package.json +4 -0
  2362. data/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  2363. data/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  2364. data/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  2365. data/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
  2366. data/node_modules/resolve/test/resolver/cup.coffee +1 -0
  2367. data/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
  2368. data/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
  2369. data/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
  2370. data/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
  2371. data/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  2372. data/node_modules/resolve/test/resolver/false_main/package.json +4 -0
  2373. data/node_modules/resolve/test/resolver/foo.js +1 -0
  2374. data/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  2375. data/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  2376. data/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
  2377. data/node_modules/resolve/test/resolver/mug.coffee +0 -0
  2378. data/node_modules/resolve/test/resolver/mug.js +0 -0
  2379. data/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
  2380. data/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
  2381. data/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
  2382. data/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
  2383. data/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  2384. data/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
  2385. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
  2386. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
  2387. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  2388. data/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  2389. data/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  2390. data/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  2391. data/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
  2392. data/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
  2393. data/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  2394. data/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  2395. data/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
  2396. data/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
  2397. data/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
  2398. data/node_modules/resolve/test/resolver.js +597 -0
  2399. data/node_modules/resolve/test/resolver_sync.js +730 -0
  2400. data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  2401. data/node_modules/resolve/test/shadowed_core.js +54 -0
  2402. data/node_modules/resolve/test/subdirs.js +13 -0
  2403. data/node_modules/resolve/test/symlinks.js +176 -0
  2404. data/node_modules/semver/LICENSE +15 -0
  2405. data/node_modules/semver/README.md +443 -0
  2406. data/node_modules/semver/bin/semver.js +174 -0
  2407. data/node_modules/semver/package.json +38 -0
  2408. data/node_modules/semver/range.bnf +16 -0
  2409. data/node_modules/semver/semver.js +1643 -0
  2410. data/node_modules/shebang-command/index.js +19 -0
  2411. data/node_modules/shebang-command/license +9 -0
  2412. data/node_modules/shebang-command/package.json +34 -0
  2413. data/node_modules/shebang-command/readme.md +34 -0
  2414. data/node_modules/shebang-regex/index.d.ts +22 -0
  2415. data/node_modules/shebang-regex/index.js +2 -0
  2416. data/node_modules/shebang-regex/license +9 -0
  2417. data/node_modules/shebang-regex/package.json +35 -0
  2418. data/node_modules/shebang-regex/readme.md +33 -0
  2419. data/node_modules/source-map/CHANGELOG.md +301 -0
  2420. data/node_modules/source-map/LICENSE +28 -0
  2421. data/node_modules/source-map/README.md +742 -0
  2422. data/node_modules/source-map/dist/source-map.debug.js +3234 -0
  2423. data/node_modules/source-map/dist/source-map.js +3233 -0
  2424. data/node_modules/source-map/dist/source-map.min.js +2 -0
  2425. data/node_modules/source-map/dist/source-map.min.js.map +1 -0
  2426. data/node_modules/source-map/lib/array-set.js +121 -0
  2427. data/node_modules/source-map/lib/base64-vlq.js +140 -0
  2428. data/node_modules/source-map/lib/base64.js +67 -0
  2429. data/node_modules/source-map/lib/binary-search.js +111 -0
  2430. data/node_modules/source-map/lib/mapping-list.js +79 -0
  2431. data/node_modules/source-map/lib/quick-sort.js +114 -0
  2432. data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  2433. data/node_modules/source-map/lib/source-map-generator.js +425 -0
  2434. data/node_modules/source-map/lib/source-node.js +413 -0
  2435. data/node_modules/source-map/lib/util.js +488 -0
  2436. data/node_modules/source-map/package.json +73 -0
  2437. data/node_modules/source-map/source-map.d.ts +98 -0
  2438. data/node_modules/source-map/source-map.js +8 -0
  2439. data/node_modules/supports-color/browser.js +5 -0
  2440. data/node_modules/supports-color/index.js +131 -0
  2441. data/node_modules/supports-color/license +9 -0
  2442. data/node_modules/supports-color/package.json +53 -0
  2443. data/node_modules/supports-color/readme.md +66 -0
  2444. data/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  2445. data/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  2446. data/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  2447. data/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  2448. data/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  2449. data/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  2450. data/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  2451. data/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  2452. data/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  2453. data/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  2454. data/node_modules/thenify/History.md +11 -0
  2455. data/node_modules/thenify/LICENSE +22 -0
  2456. data/node_modules/thenify/README.md +120 -0
  2457. data/node_modules/thenify/index.js +77 -0
  2458. data/node_modules/thenify/package.json +31 -0
  2459. data/node_modules/thenify-all/History.md +11 -0
  2460. data/node_modules/thenify-all/LICENSE +22 -0
  2461. data/node_modules/thenify-all/README.md +66 -0
  2462. data/node_modules/thenify-all/index.js +73 -0
  2463. data/node_modules/thenify-all/package.json +34 -0
  2464. data/node_modules/to-fast-properties/index.js +27 -0
  2465. data/node_modules/to-fast-properties/license +10 -0
  2466. data/node_modules/to-fast-properties/package.json +35 -0
  2467. data/node_modules/to-fast-properties/readme.md +37 -0
  2468. data/node_modules/tslib/CopyrightNotice.txt +15 -0
  2469. data/node_modules/tslib/LICENSE.txt +12 -0
  2470. data/node_modules/tslib/README.md +164 -0
  2471. data/node_modules/tslib/SECURITY.md +41 -0
  2472. data/node_modules/tslib/modules/index.d.ts +37 -0
  2473. data/node_modules/tslib/modules/index.js +68 -0
  2474. data/node_modules/tslib/modules/package.json +3 -0
  2475. data/node_modules/tslib/package.json +47 -0
  2476. data/node_modules/tslib/tslib.d.ts +453 -0
  2477. data/node_modules/tslib/tslib.es6.html +1 -0
  2478. data/node_modules/tslib/tslib.es6.js +374 -0
  2479. data/node_modules/tslib/tslib.es6.mjs +373 -0
  2480. data/node_modules/tslib/tslib.html +1 -0
  2481. data/node_modules/tslib/tslib.js +424 -0
  2482. data/node_modules/update-browserslist-db/.devcontainer.json +42 -0
  2483. data/node_modules/update-browserslist-db/LICENSE +20 -0
  2484. data/node_modules/update-browserslist-db/README.md +22 -0
  2485. data/node_modules/update-browserslist-db/check-npm-version.js +17 -0
  2486. data/node_modules/update-browserslist-db/cli.js +42 -0
  2487. data/node_modules/update-browserslist-db/index.d.ts +6 -0
  2488. data/node_modules/update-browserslist-db/index.js +333 -0
  2489. data/node_modules/update-browserslist-db/node_modules/.bin/browserslist +1 -0
  2490. data/node_modules/update-browserslist-db/package.json +40 -0
  2491. data/node_modules/update-browserslist-db/utils.js +25 -0
  2492. data/node_modules/which/CHANGELOG.md +166 -0
  2493. data/node_modules/which/LICENSE +15 -0
  2494. data/node_modules/which/README.md +54 -0
  2495. data/node_modules/which/bin/node-which +52 -0
  2496. data/node_modules/which/package.json +43 -0
  2497. data/node_modules/which/which.js +125 -0
  2498. data/node_modules/yallist/LICENSE +15 -0
  2499. data/node_modules/yallist/README.md +204 -0
  2500. data/node_modules/yallist/iterator.js +8 -0
  2501. data/node_modules/yallist/package.json +29 -0
  2502. data/node_modules/yallist/yallist.js +426 -0
  2503. data/package.json +3 -0
  2504. data/spec/acceptance_helper.rb +2 -10
  2505. data/spec/features/action_column_request_spec.rb +25 -25
  2506. data/spec/features/adding_rows_request_spec.rb +2 -2
  2507. data/spec/features/all_records_request_spec.rb +4 -2
  2508. data/spec/features/auto_reloads2_request_spec.rb +29 -29
  2509. data/spec/features/auto_reloads3_request_spec.rb +55 -56
  2510. data/spec/features/auto_reloads_request_spec.rb +29 -29
  2511. data/spec/features/basics1_request_spec.rb +1 -1
  2512. data/spec/features/basics2_request_spec.rb +1 -1
  2513. data/spec/features/basics3_request_spec.rb +1 -1
  2514. data/spec/features/basics4_request_spec.rb +2 -2
  2515. data/spec/features/basics5_request_spec.rb +2 -2
  2516. data/spec/features/basics6_request_spec.rb +3 -3
  2517. data/spec/features/blockless_column_definition_spec.rb +1 -1
  2518. data/spec/features/buttons_request_spec.rb +6 -6
  2519. data/spec/features/csv_and_detached_filters_spec.rb +1 -1
  2520. data/spec/features/csv_export_request_spec.rb +7 -4
  2521. data/spec/features/custom_filter_params_request_spec.rb +4 -4
  2522. data/spec/features/custom_filters1_request_spec.rb +5 -5
  2523. data/spec/features/custom_filters2_request_spec.rb +3 -3
  2524. data/spec/features/custom_filters3_request_spec.rb +3 -3
  2525. data/spec/features/custom_filters4_request_spec.rb +2 -2
  2526. data/spec/features/custom_ordering_on_calculated_request_spec.rb +2 -2
  2527. data/spec/features/custom_ordering_request_spec.rb +23 -19
  2528. data/spec/features/custom_ordering_with_arel_request_spec.rb +23 -19
  2529. data/spec/features/custom_ordering_with_proc_request_spec.rb +30 -28
  2530. data/spec/features/custom_ordering_with_ruby_request_spec.rb +18 -16
  2531. data/spec/features/dates_request_spec.rb +6 -6
  2532. data/spec/features/detached_filters_spec.rb +1 -1
  2533. data/spec/features/detached_filters_two_grids_spec.rb +6 -6
  2534. data/spec/features/disable_all_filters_spec.rb +2 -2
  2535. data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +28 -28
  2536. data/spec/features/integration_with_application_view_request_spec.rb +2 -2
  2537. data/spec/features/integration_with_forms_request_spec.rb +91 -89
  2538. data/spec/features/joining_tables_spec.rb +3 -3
  2539. data/spec/features/localization_request_spec.rb +2 -2
  2540. data/spec/features/many_grids_on_page_request_spec.rb +5 -5
  2541. data/spec/features/negation_request_spec.rb +2 -2
  2542. data/spec/features/no_records_request_spec.rb +17 -15
  2543. data/spec/features/numeric_filters_request_spec.rb +2 -1
  2544. data/spec/features/resultset_processings2_request_spec.rb +21 -19
  2545. data/spec/features/resultset_processings_request_spec.rb +21 -17
  2546. data/spec/features/saved_queries_request_spec.rb +8 -8
  2547. data/spec/features/shared.rb +59 -59
  2548. data/spec/features/shared_detached_filters.rb +5 -5
  2549. data/spec/features/styling_spec.rb +2 -2
  2550. data/spec/features/two_associations_spec.rb +26 -31
  2551. data/spec/features/upper_pagination_panel_request_spec.rb +3 -5
  2552. data/spec/features/when_filtered_spec.rb +120 -146
  2553. data/spec/fixtures/companies.yml +8 -8
  2554. data/spec/fixtures/priorities.yml +10 -10
  2555. data/spec/fixtures/project_roles.yml +8 -8
  2556. data/spec/fixtures/projects.yml +6 -6
  2557. data/spec/fixtures/statuses.yml +18 -18
  2558. data/spec/fixtures/tasks.yml +150 -150
  2559. data/spec/fixtures/users.yml +24 -24
  2560. data/spec/fixtures/versions.yml +22 -22
  2561. data/spec/models/priority_spec.rb +0 -1
  2562. data/spec/models/user_spec.rb +0 -4
  2563. data/spec/rails_helper.rb +59 -2
  2564. data/spec/spec_helper.rb +4 -0
  2565. data/spec/support/download_helper.rb +37 -0
  2566. data/spec/support/test_app/app/assets/builds/.keep +0 -0
  2567. data/spec/support/test_app/app/assets/builds/application.css +34148 -0
  2568. data/spec/support/test_app/app/assets/config/manifest.js +13 -0
  2569. data/spec/support/test_app/app/assets/images/favicon.ico +0 -0
  2570. data/spec/support/test_app/app/assets/images/forkme_right_gray.png +0 -0
  2571. data/spec/support/test_app/app/assets/stylesheets/application.scss +15 -2
  2572. data/spec/support/test_app/app/controllers/action_column_controller.rb +0 -2
  2573. data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +0 -1
  2574. data/spec/support/test_app/app/controllers/csv_export_controller.rb +1 -2
  2575. data/spec/support/test_app/app/controllers/localization_controller.rb +0 -2
  2576. data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +0 -3
  2577. data/spec/support/test_app/app/helpers/application_helper.rb +23 -21
  2578. data/spec/support/test_app/app/javascript/application.js +8 -0
  2579. data/spec/support/test_app/app/views/action_column/_grid.html.erb +8 -19
  2580. data/spec/support/test_app/app/views/action_column/index.html.haml +32 -31
  2581. data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +9 -21
  2582. data/spec/support/test_app/app/views/adding_rows/index.html.haml +34 -33
  2583. data/spec/support/test_app/app/views/all_records/_grid.html.erb +10 -18
  2584. data/spec/support/test_app/app/views/all_records/index.html.haml +9 -8
  2585. data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +9 -19
  2586. data/spec/support/test_app/app/views/auto_reloads/index.html.haml +12 -11
  2587. data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +9 -19
  2588. data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +5 -18
  2589. data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +6 -16
  2590. data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +11 -30
  2591. data/spec/support/test_app/app/views/basics1/_grid.html.erb +1 -7
  2592. data/spec/support/test_app/app/views/basics1/index.html.haml +10 -9
  2593. data/spec/support/test_app/app/views/basics2/_grid.html.erb +6 -13
  2594. data/spec/support/test_app/app/views/basics2/index.html.haml +9 -8
  2595. data/spec/support/test_app/app/views/basics3/_grid.html.erb +5 -12
  2596. data/spec/support/test_app/app/views/basics3/index.html.haml +10 -9
  2597. data/spec/support/test_app/app/views/basics4/_grid.html.erb +6 -13
  2598. data/spec/support/test_app/app/views/basics4/index.html.haml +9 -8
  2599. data/spec/support/test_app/app/views/basics5/_grid.html.erb +5 -12
  2600. data/spec/support/test_app/app/views/basics5/index.html.haml +9 -8
  2601. data/spec/support/test_app/app/views/basics6/_grid.html.erb +5 -12
  2602. data/spec/support/test_app/app/views/basics6/index.html.haml +13 -12
  2603. data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +5 -12
  2604. data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +12 -11
  2605. data/spec/support/test_app/app/views/buttons/_grid.html.erb +6 -14
  2606. data/spec/support/test_app/app/views/buttons/index.html.haml +20 -21
  2607. data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +6 -15
  2608. data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +7 -19
  2609. data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +5 -11
  2610. data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +11 -19
  2611. data/spec/support/test_app/app/views/csv_export/index.html.haml +76 -80
  2612. data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +2 -4
  2613. data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +9 -8
  2614. data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +3 -6
  2615. data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +4 -7
  2616. data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +4 -7
  2617. data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +3 -6
  2618. data/spec/support/test_app/app/views/custom_filters1/index.html.haml +16 -19
  2619. data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +9 -17
  2620. data/spec/support/test_app/app/views/custom_filters2/index.html.haml +37 -37
  2621. data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +5 -10
  2622. data/spec/support/test_app/app/views/custom_filters3/index.html.haml +13 -12
  2623. data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +8 -13
  2624. data/spec/support/test_app/app/views/custom_filters4/index.html.haml +9 -8
  2625. data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +4 -7
  2626. data/spec/support/test_app/app/views/custom_ordering/index.html.haml +8 -8
  2627. data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +4 -8
  2628. data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +9 -9
  2629. data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +4 -7
  2630. data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +7 -8
  2631. data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +4 -7
  2632. data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +7 -7
  2633. data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +4 -7
  2634. data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +9 -9
  2635. data/spec/support/test_app/app/views/dates/_grid.html.erb +9 -18
  2636. data/spec/support/test_app/app/views/dates/index.html.haml +37 -48
  2637. data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +6 -15
  2638. data/spec/support/test_app/app/views/detached_filters/index.html.haml +29 -40
  2639. data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +6 -15
  2640. data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +5 -17
  2641. data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +6 -13
  2642. data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +11 -10
  2643. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +8 -20
  2644. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +19 -19
  2645. data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +8 -16
  2646. data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +27 -26
  2647. data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +7 -14
  2648. data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +10 -10
  2649. data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +7 -16
  2650. data/spec/support/test_app/app/views/joining_tables/index.html.haml +22 -22
  2651. data/spec/support/test_app/app/views/layouts/application.html.haml +33 -38
  2652. data/spec/support/test_app/app/views/localization/_grid.html.erb +11 -21
  2653. data/spec/support/test_app/app/views/localization/index.html.haml +8 -9
  2654. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +3 -8
  2655. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +3 -8
  2656. data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +17 -19
  2657. data/spec/support/test_app/app/views/negation/_grid.html.erb +9 -17
  2658. data/spec/support/test_app/app/views/negation/index.html.haml +12 -11
  2659. data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +3 -1
  2660. data/spec/support/test_app/app/views/no_records/_grid1.html.erb +2 -6
  2661. data/spec/support/test_app/app/views/no_records/_grid2.html.erb +2 -6
  2662. data/spec/support/test_app/app/views/no_records/_grid3.html.erb +4 -8
  2663. data/spec/support/test_app/app/views/no_records/index.html.haml +20 -19
  2664. data/spec/support/test_app/app/views/null_values/_grid.html.erb +4 -10
  2665. data/spec/support/test_app/app/views/null_values/index.html.haml +18 -17
  2666. data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +5 -12
  2667. data/spec/support/test_app/app/views/numeric_filters/index.html.haml +8 -8
  2668. data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +8 -16
  2669. data/spec/support/test_app/app/views/resultset_processings/index.html.haml +44 -43
  2670. data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +8 -16
  2671. data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +36 -37
  2672. data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +9 -17
  2673. data/spec/support/test_app/app/views/saved_queries/index.html.haml +9 -9
  2674. data/spec/support/test_app/app/views/styling/_grid1.html.erb +5 -9
  2675. data/spec/support/test_app/app/views/styling/_grid2.html.erb +4 -10
  2676. data/spec/support/test_app/app/views/styling/index.html.haml +41 -50
  2677. data/spec/support/test_app/app/views/tasks/_grid.html.erb +6 -12
  2678. data/spec/support/test_app/app/views/two_associations/_grid.html.erb +4 -11
  2679. data/spec/support/test_app/app/views/two_associations/index.html.haml +9 -8
  2680. data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +6 -13
  2681. data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +11 -10
  2682. data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +5 -12
  2683. data/spec/support/test_app/app/views/when_filtered/index.html.haml +12 -11
  2684. data/spec/support/test_app/bin/dartsass +27 -0
  2685. data/spec/support/test_app/bin/importmap +4 -0
  2686. data/spec/support/test_app/config/application.rb +17 -3
  2687. data/spec/support/test_app/config/environment.rb +20 -0
  2688. data/spec/support/test_app/config/environments/development.rb +1 -1
  2689. data/spec/support/test_app/config/importmap.rb +16 -0
  2690. data/spec/support/test_app/config/initializers/assets.rb +1 -0
  2691. data/spec/support/test_app/config/routes.rb +49 -47
  2692. data/spec/support/test_app/vendor/javascript/.keep +0 -0
  2693. data/spec/support/test_app/vendor/javascript/@hotwired--stimulus.js +2 -0
  2694. data/spec/support/test_app/vendor/javascript/@stimulus-components--rails-nested-form.js +2 -0
  2695. data/spec/support/test_app/vendor/javascript/reload_on_change.js +5 -0
  2696. data/spec/wice/grid_output_buffer_spec.rb +50 -32
  2697. data/spec/wice/table_column_matrix_spec.rb +65 -16
  2698. data/spec/wice/wice_grid_misc_spec.rb +304 -156
  2699. data/spec/wice/wice_grid_spreadsheet_spec.rb +8 -7
  2700. data/vendor/assets/javascripts/wice_grid_init.js.coffee +5 -29
  2701. data/vendor/assets/javascripts/wice_grid_processor.js.coffee +4 -20
  2702. data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +5 -11
  2703. data/vendor/assets/stylesheets/wice_grid.scss +33 -0
  2704. data/wice_grid.gemspec +38 -38
  2705. data/yarn.lock +710 -0
  2706. metadata +2671 -133
  2707. data/spec/support/test_app/app/assets/javascripts/application.js +0 -20
  2708. data/spec/support/test_app/app/assets/javascripts/common.js.coffee +0 -6
  2709. /data/{spec/support/test_app/public/favicon.ico → node_modules/resolve/test/pathfilter/deep_ref/main.js} +0 -0
  2710. /data/spec/support/test_app/{app/assets/javascripts → vendor/javascript}/jquery.ui.datepicker.locales.js +0 -0
@@ -0,0 +1,3557 @@
1
+ // src/parser.ts
2
+ import lex from "coffee-lex";
3
+
4
+ // src/ext/coffee-script.ts
5
+ import {
6
+ Base as CS1Base,
7
+ Op as CS1Op
8
+ } from "decaffeinate-coffeescript/lib/coffee-script/nodes.js";
9
+ import { Base, Op } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
10
+ function patchCoffeeScript() {
11
+ CS1Op.prototype.invert = invert;
12
+ CS1Base.prototype.invert = invert;
13
+ Op.prototype.invert = invert;
14
+ Base.prototype.invert = invert;
15
+ }
16
+ function invert() {
17
+ this.inverted = !this.inverted;
18
+ return this;
19
+ }
20
+
21
+ // src/nodes.ts
22
+ var Node = class {
23
+ constructor(type, line, column, start, end, raw) {
24
+ this.type = type;
25
+ this.line = line;
26
+ this.column = column;
27
+ this.start = start;
28
+ this.end = end;
29
+ this.raw = raw;
30
+ this.parentNode = null;
31
+ }
32
+ getChildren() {
33
+ const children = [];
34
+ for (const childField of this.getChildFields()) {
35
+ if (Array.isArray(childField)) {
36
+ children.push(...childField.filter((node) => node !== null));
37
+ } else if (childField) {
38
+ children.push(childField);
39
+ }
40
+ }
41
+ return children;
42
+ }
43
+ getChildFields() {
44
+ return this.getChildNames().map((name) => this[name]);
45
+ }
46
+ };
47
+ var Identifier = class extends Node {
48
+ constructor(line, column, start, end, raw, data) {
49
+ super("Identifier", line, column, start, end, raw);
50
+ this.data = data;
51
+ }
52
+ getChildNames() {
53
+ return [];
54
+ }
55
+ };
56
+ var Bool = class extends Node {
57
+ constructor(line, column, start, end, raw, data) {
58
+ super("Bool", line, column, start, end, raw);
59
+ this.data = data;
60
+ }
61
+ static true() {
62
+ return new Bool(0, 0, 0, 0, "", true);
63
+ }
64
+ static false() {
65
+ return new Bool(0, 0, 0, 0, "", false);
66
+ }
67
+ getChildNames() {
68
+ return [];
69
+ }
70
+ };
71
+ var JavaScript = class extends Node {
72
+ constructor(line, column, start, end, raw, data) {
73
+ super("JavaScript", line, column, start, end, raw);
74
+ this.data = data;
75
+ }
76
+ getChildNames() {
77
+ return [];
78
+ }
79
+ };
80
+ var Number = class extends Node {
81
+ constructor(type, line, column, start, end, raw, data) {
82
+ super(type, line, column, start, end, raw);
83
+ this.data = data;
84
+ }
85
+ getChildNames() {
86
+ return [];
87
+ }
88
+ };
89
+ var Float = class extends Number {
90
+ constructor(line, column, start, end, raw, data) {
91
+ super("Float", line, column, start, end, raw, data);
92
+ }
93
+ };
94
+ var Int = class extends Number {
95
+ constructor(line, column, start, end, raw, data) {
96
+ super("Int", line, column, start, end, raw, data);
97
+ }
98
+ };
99
+ var AccessOp = class extends Node {
100
+ constructor(type, line, column, start, end, raw, expression) {
101
+ super(type, line, column, start, end, raw);
102
+ this.expression = expression;
103
+ }
104
+ };
105
+ var MemberAccessOp = class extends AccessOp {
106
+ constructor(line, column, start, end, raw, expression, member) {
107
+ super("MemberAccessOp", line, column, start, end, raw, expression);
108
+ this.member = member;
109
+ }
110
+ getChildNames() {
111
+ return ["expression", "member"];
112
+ }
113
+ };
114
+ var ProtoMemberAccessOp = class extends AccessOp {
115
+ constructor(line, column, start, end, raw, expression) {
116
+ super("ProtoMemberAccessOp", line, column, start, end, raw, expression);
117
+ }
118
+ getChildNames() {
119
+ return ["expression"];
120
+ }
121
+ };
122
+ var SoakedMemberAccessOp = class extends AccessOp {
123
+ constructor(line, column, start, end, raw, expression, member) {
124
+ super("SoakedMemberAccessOp", line, column, start, end, raw, expression);
125
+ this.member = member;
126
+ }
127
+ getChildNames() {
128
+ return ["expression", "member"];
129
+ }
130
+ };
131
+ var SoakedProtoMemberAccessOp = class extends AccessOp {
132
+ constructor(line, column, start, end, raw, expression) {
133
+ super("SoakedProtoMemberAccessOp", line, column, start, end, raw, expression);
134
+ }
135
+ getChildNames() {
136
+ return ["expression"];
137
+ }
138
+ };
139
+ var DynamicMemberAccessOp = class extends AccessOp {
140
+ constructor(line, column, start, end, raw, expression, indexingExpr) {
141
+ super("DynamicMemberAccessOp", line, column, start, end, raw, expression);
142
+ this.indexingExpr = indexingExpr;
143
+ }
144
+ getChildNames() {
145
+ return ["expression", "indexingExpr"];
146
+ }
147
+ };
148
+ var SoakedDynamicMemberAccessOp = class extends AccessOp {
149
+ constructor(line, column, start, end, raw, expression, indexingExpr) {
150
+ super("SoakedDynamicMemberAccessOp", line, column, start, end, raw, expression);
151
+ this.indexingExpr = indexingExpr;
152
+ }
153
+ getChildNames() {
154
+ return ["expression", "indexingExpr"];
155
+ }
156
+ };
157
+ var Quasi = class extends Node {
158
+ constructor(line, column, start, end, raw, data) {
159
+ super("Quasi", line, column, start, end, raw);
160
+ this.data = data;
161
+ }
162
+ getChildNames() {
163
+ return [];
164
+ }
165
+ };
166
+ var String = class extends Node {
167
+ constructor(line, column, start, end, raw, quasis, expressions) {
168
+ super("String", line, column, start, end, raw);
169
+ this.quasis = quasis;
170
+ this.expressions = expressions;
171
+ }
172
+ getChildNames() {
173
+ return ["quasis", "expressions"];
174
+ }
175
+ };
176
+ var TaggedTemplateLiteral = class extends Node {
177
+ constructor(line, column, start, end, raw, tag, template) {
178
+ super("TaggedTemplateLiteral", line, column, start, end, raw);
179
+ this.tag = tag;
180
+ this.template = template;
181
+ }
182
+ getChildNames() {
183
+ return ["tag", "template"];
184
+ }
185
+ };
186
+ var ObjectInitialiser = class extends Node {
187
+ constructor(line, column, start, end, raw, members) {
188
+ super("ObjectInitialiser", line, column, start, end, raw);
189
+ this.members = members;
190
+ }
191
+ getChildNames() {
192
+ return ["members"];
193
+ }
194
+ };
195
+ var ObjectInitialiserMember = class extends Node {
196
+ constructor(line, column, start, end, raw, key, expression, isComputed) {
197
+ super("ObjectInitialiserMember", line, column, start, end, raw);
198
+ this.key = key;
199
+ this.expression = expression;
200
+ this.isComputed = isComputed;
201
+ }
202
+ getChildNames() {
203
+ return ["key", "expression"];
204
+ }
205
+ };
206
+ var Conditional = class extends Node {
207
+ constructor(line, column, start, end, raw, condition, consequent, alternate, isUnless) {
208
+ super("Conditional", line, column, start, end, raw);
209
+ this.condition = condition;
210
+ this.consequent = consequent;
211
+ this.alternate = alternate;
212
+ this.isUnless = isUnless;
213
+ }
214
+ getChildNames() {
215
+ return ["condition", "consequent", "alternate"];
216
+ }
217
+ };
218
+ var Program = class extends Node {
219
+ constructor(line, column, start, end, raw, body, context) {
220
+ super("Program", line, column, start, end, raw);
221
+ this.body = body;
222
+ this.context = context;
223
+ }
224
+ getChildNames() {
225
+ return ["body"];
226
+ }
227
+ };
228
+ var Block = class extends Node {
229
+ constructor(line, column, start, end, raw, statements, inline) {
230
+ super("Block", line, column, start, end, raw);
231
+ this.statements = statements;
232
+ this.inline = inline;
233
+ }
234
+ getChildNames() {
235
+ return ["statements"];
236
+ }
237
+ withInline(inline) {
238
+ return new Block(this.line, this.column, this.start, this.end, this.raw, this.statements, inline);
239
+ }
240
+ };
241
+ var Loop = class extends Node {
242
+ constructor(line, column, start, end, raw, body) {
243
+ super("Loop", line, column, start, end, raw);
244
+ this.body = body;
245
+ }
246
+ getChildNames() {
247
+ return ["body"];
248
+ }
249
+ };
250
+ var While = class extends Node {
251
+ constructor(line, column, start, end, raw, condition, guard, body, isUntil) {
252
+ super("While", line, column, start, end, raw);
253
+ this.condition = condition;
254
+ this.guard = guard;
255
+ this.body = body;
256
+ this.isUntil = isUntil;
257
+ }
258
+ getChildNames() {
259
+ return ["condition", "guard", "body"];
260
+ }
261
+ };
262
+ var For = class extends Node {
263
+ constructor(type, line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body) {
264
+ super(type, line, column, start, end, raw);
265
+ this.keyAssignee = keyAssignee;
266
+ this.valAssignee = valAssignee;
267
+ this.target = target;
268
+ this.filter = filter;
269
+ this.body = body;
270
+ }
271
+ };
272
+ var ForOf = class extends For {
273
+ constructor(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, isOwn) {
274
+ super("ForOf", line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body);
275
+ this.isOwn = isOwn;
276
+ }
277
+ getChildNames() {
278
+ return ["keyAssignee", "valAssignee", "target", "filter", "body"];
279
+ }
280
+ };
281
+ var ForIn = class extends For {
282
+ constructor(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, step) {
283
+ super("ForIn", line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body);
284
+ this.step = step;
285
+ }
286
+ getChildNames() {
287
+ return ["keyAssignee", "valAssignee", "target", "step", "filter", "body"];
288
+ }
289
+ };
290
+ var ForFrom = class extends For {
291
+ constructor(line, column, start, end, raw, valAssignee, target, filter, body) {
292
+ super("ForFrom", line, column, start, end, raw, null, valAssignee, target, filter, body);
293
+ }
294
+ getChildNames() {
295
+ return ["keyAssignee", "valAssignee", "target", "filter", "body"];
296
+ }
297
+ };
298
+ var Switch = class extends Node {
299
+ constructor(line, column, start, end, raw, expression, cases, alternate) {
300
+ super("Switch", line, column, start, end, raw);
301
+ this.expression = expression;
302
+ this.cases = cases;
303
+ this.alternate = alternate;
304
+ }
305
+ getChildNames() {
306
+ return ["expression", "cases", "alternate"];
307
+ }
308
+ };
309
+ var SwitchCase = class extends Node {
310
+ constructor(line, column, start, end, raw, conditions, consequent) {
311
+ super("SwitchCase", line, column, start, end, raw);
312
+ this.conditions = conditions;
313
+ this.consequent = consequent;
314
+ }
315
+ getChildNames() {
316
+ return ["conditions", "consequent"];
317
+ }
318
+ };
319
+ var RegexFlags = class {
320
+ constructor(global, ignoreCase, multiline, unicode, sticky) {
321
+ this.global = global;
322
+ this.ignoreCase = ignoreCase;
323
+ this.multiline = multiline;
324
+ this.unicode = unicode;
325
+ this.sticky = sticky;
326
+ this.g = global;
327
+ this.i = ignoreCase;
328
+ this.m = multiline;
329
+ this.u = unicode;
330
+ this.y = sticky;
331
+ }
332
+ static parse(flags) {
333
+ let global = false;
334
+ let ignoreCase = false;
335
+ let multiline = false;
336
+ let unicode = false;
337
+ let sticky = false;
338
+ for (let i = 0; i < flags.length; i++) {
339
+ switch (flags.charCodeAt(i)) {
340
+ case 103:
341
+ global = true;
342
+ break;
343
+ case 105:
344
+ ignoreCase = true;
345
+ break;
346
+ case 109:
347
+ multiline = true;
348
+ break;
349
+ case 117:
350
+ unicode = true;
351
+ break;
352
+ case 121:
353
+ sticky = true;
354
+ break;
355
+ default:
356
+ throw new Error(`invalid regular expression flags: ${flags}`);
357
+ }
358
+ }
359
+ return new RegexFlags(global, ignoreCase, multiline, unicode, sticky);
360
+ }
361
+ };
362
+ var Heregex = class extends Node {
363
+ constructor(line, column, start, end, raw, quasis, expressions, flags) {
364
+ super("Heregex", line, column, start, end, raw);
365
+ this.quasis = quasis;
366
+ this.expressions = expressions;
367
+ this.flags = flags;
368
+ }
369
+ getChildNames() {
370
+ return ["quasis", "expressions"];
371
+ }
372
+ };
373
+ var Null = class extends Node {
374
+ constructor(line, column, start, end, raw) {
375
+ super("Null", line, column, start, end, raw);
376
+ }
377
+ getChildNames() {
378
+ return [];
379
+ }
380
+ };
381
+ var Undefined = class extends Node {
382
+ constructor(line, column, start, end, raw) {
383
+ super("Undefined", line, column, start, end, raw);
384
+ }
385
+ getChildNames() {
386
+ return [];
387
+ }
388
+ };
389
+ var Regex = class extends Node {
390
+ constructor(line, column, start, end, raw, pattern, flags) {
391
+ super("Regex", line, column, start, end, raw);
392
+ this.pattern = pattern;
393
+ this.flags = flags;
394
+ }
395
+ getChildNames() {
396
+ return [];
397
+ }
398
+ };
399
+ var Return = class extends Node {
400
+ constructor(line, column, start, end, raw, expression) {
401
+ super("Return", line, column, start, end, raw);
402
+ this.expression = expression;
403
+ }
404
+ getChildNames() {
405
+ return ["expression"];
406
+ }
407
+ };
408
+ var YieldReturn = class extends Node {
409
+ constructor(line, column, start, end, raw, expression) {
410
+ super("YieldReturn", line, column, start, end, raw);
411
+ this.expression = expression;
412
+ }
413
+ getChildNames() {
414
+ return ["expression"];
415
+ }
416
+ };
417
+ var AwaitReturn = class extends Node {
418
+ constructor(line, column, start, end, raw, expression) {
419
+ super("AwaitReturn", line, column, start, end, raw);
420
+ this.expression = expression;
421
+ }
422
+ getChildNames() {
423
+ return ["expression"];
424
+ }
425
+ };
426
+ var This = class extends Node {
427
+ constructor(line, column, start, end, raw) {
428
+ super("This", line, column, start, end, raw);
429
+ }
430
+ getChildNames() {
431
+ return [];
432
+ }
433
+ };
434
+ var Throw = class extends Node {
435
+ constructor(line, column, start, end, raw, expression) {
436
+ super("Throw", line, column, start, end, raw);
437
+ this.expression = expression;
438
+ }
439
+ getChildNames() {
440
+ return ["expression"];
441
+ }
442
+ };
443
+ var ArrayInitialiser = class extends Node {
444
+ constructor(line, column, start, end, raw, members) {
445
+ super("ArrayInitialiser", line, column, start, end, raw);
446
+ this.members = members;
447
+ }
448
+ getChildNames() {
449
+ return ["members"];
450
+ }
451
+ };
452
+ var DefaultParam = class extends Node {
453
+ constructor(line, column, start, end, raw, param, defaultValue) {
454
+ super("DefaultParam", line, column, start, end, raw);
455
+ this.param = param;
456
+ this.default = defaultValue;
457
+ }
458
+ getChildNames() {
459
+ return ["param", "default"];
460
+ }
461
+ };
462
+ var Rest = class extends Node {
463
+ constructor(line, column, start, end, raw, expression) {
464
+ super("Rest", line, column, start, end, raw);
465
+ this.expression = expression;
466
+ }
467
+ getChildNames() {
468
+ return ["expression"];
469
+ }
470
+ };
471
+ var Expansion = class extends Node {
472
+ constructor(line, column, start, end, raw) {
473
+ super("Expansion", line, column, start, end, raw);
474
+ }
475
+ getChildNames() {
476
+ return [];
477
+ }
478
+ };
479
+ var Elision = class extends Node {
480
+ constructor(line, column, start, end, raw) {
481
+ super("Elision", line, column, start, end, raw);
482
+ }
483
+ getChildNames() {
484
+ return [];
485
+ }
486
+ };
487
+ var Break = class extends Node {
488
+ constructor(line, column, start, end, raw) {
489
+ super("Break", line, column, start, end, raw);
490
+ }
491
+ getChildNames() {
492
+ return [];
493
+ }
494
+ };
495
+ var Continue = class extends Node {
496
+ constructor(line, column, start, end, raw) {
497
+ super("Continue", line, column, start, end, raw);
498
+ }
499
+ getChildNames() {
500
+ return [];
501
+ }
502
+ };
503
+ var Debugger = class extends Node {
504
+ constructor(line, column, start, end, raw) {
505
+ super("Debugger", line, column, start, end, raw);
506
+ }
507
+ getChildNames() {
508
+ return [];
509
+ }
510
+ };
511
+ var Spread = class extends Node {
512
+ constructor(line, column, start, end, raw, expression) {
513
+ super("Spread", line, column, start, end, raw);
514
+ this.expression = expression;
515
+ }
516
+ getChildNames() {
517
+ return ["expression"];
518
+ }
519
+ };
520
+ var Range = class extends Node {
521
+ constructor(line, column, start, end, raw, left, right, isInclusive) {
522
+ super("Range", line, column, start, end, raw);
523
+ this.left = left;
524
+ this.right = right;
525
+ this.isInclusive = isInclusive;
526
+ }
527
+ getChildNames() {
528
+ return ["left", "right"];
529
+ }
530
+ };
531
+ var BinaryOp = class extends Node {
532
+ constructor(type, line, column, start, end, raw, left, right) {
533
+ super(type, line, column, start, end, raw);
534
+ this.left = left;
535
+ this.right = right;
536
+ }
537
+ getChildNames() {
538
+ return ["left", "right"];
539
+ }
540
+ };
541
+ var UnaryOp = class extends Node {
542
+ constructor(type, line, column, start, end, raw, expression) {
543
+ super(type, line, column, start, end, raw);
544
+ this.expression = expression;
545
+ }
546
+ getChildNames() {
547
+ return ["expression"];
548
+ }
549
+ };
550
+ var ChainedComparisonOp = class extends Node {
551
+ constructor(line, column, start, end, raw, operands, operators) {
552
+ super("ChainedComparisonOp", line, column, start, end, raw);
553
+ this.operands = operands;
554
+ this.operators = operators;
555
+ }
556
+ getChildNames() {
557
+ return ["operands"];
558
+ }
559
+ };
560
+ var OperatorInfo = class {
561
+ constructor(operator, token) {
562
+ this.operator = operator;
563
+ this.token = token;
564
+ }
565
+ };
566
+ var EQOp = class extends BinaryOp {
567
+ constructor(line, column, start, end, raw, left, right) {
568
+ super("EQOp", line, column, start, end, raw, left, right);
569
+ }
570
+ };
571
+ var NEQOp = class extends BinaryOp {
572
+ constructor(line, column, start, end, raw, left, right) {
573
+ super("NEQOp", line, column, start, end, raw, left, right);
574
+ }
575
+ };
576
+ var LTOp = class extends BinaryOp {
577
+ constructor(line, column, start, end, raw, left, right) {
578
+ super("LTOp", line, column, start, end, raw, left, right);
579
+ }
580
+ };
581
+ var LTEOp = class extends BinaryOp {
582
+ constructor(line, column, start, end, raw, left, right) {
583
+ super("LTEOp", line, column, start, end, raw, left, right);
584
+ }
585
+ };
586
+ var GTOp = class extends BinaryOp {
587
+ constructor(line, column, start, end, raw, left, right) {
588
+ super("GTOp", line, column, start, end, raw, left, right);
589
+ }
590
+ };
591
+ var GTEOp = class extends BinaryOp {
592
+ constructor(line, column, start, end, raw, left, right) {
593
+ super("GTEOp", line, column, start, end, raw, left, right);
594
+ }
595
+ };
596
+ var LogicalNotOp = class extends UnaryOp {
597
+ constructor(line, column, start, end, raw, expression) {
598
+ super("LogicalNotOp", line, column, start, end, raw, expression);
599
+ }
600
+ };
601
+ var LogicalAndOp = class extends BinaryOp {
602
+ constructor(line, column, start, end, raw, left, right) {
603
+ super("LogicalAndOp", line, column, start, end, raw, left, right);
604
+ }
605
+ };
606
+ var LogicalOrOp = class extends BinaryOp {
607
+ constructor(line, column, start, end, raw, left, right) {
608
+ super("LogicalOrOp", line, column, start, end, raw, left, right);
609
+ }
610
+ };
611
+ var SubtractOp = class extends BinaryOp {
612
+ constructor(line, column, start, end, raw, left, right) {
613
+ super("SubtractOp", line, column, start, end, raw, left, right);
614
+ }
615
+ };
616
+ var PlusOp = class extends BinaryOp {
617
+ constructor(line, column, start, end, raw, left, right) {
618
+ super("PlusOp", line, column, start, end, raw, left, right);
619
+ }
620
+ };
621
+ var UnaryPlusOp = class extends UnaryOp {
622
+ constructor(line, column, start, end, raw, expression) {
623
+ super("UnaryPlusOp", line, column, start, end, raw, expression);
624
+ }
625
+ };
626
+ var MultiplyOp = class extends BinaryOp {
627
+ constructor(line, column, start, end, raw, left, right) {
628
+ super("MultiplyOp", line, column, start, end, raw, left, right);
629
+ }
630
+ };
631
+ var DivideOp = class extends BinaryOp {
632
+ constructor(line, column, start, end, raw, left, right) {
633
+ super("DivideOp", line, column, start, end, raw, left, right);
634
+ }
635
+ };
636
+ var FloorDivideOp = class extends BinaryOp {
637
+ constructor(line, column, start, end, raw, left, right) {
638
+ super("FloorDivideOp", line, column, start, end, raw, left, right);
639
+ }
640
+ };
641
+ var ExistsOp = class extends BinaryOp {
642
+ constructor(line, column, start, end, raw, left, right) {
643
+ super("ExistsOp", line, column, start, end, raw, left, right);
644
+ }
645
+ };
646
+ var UnaryExistsOp = class extends UnaryOp {
647
+ constructor(line, column, start, end, raw, expression) {
648
+ super("UnaryExistsOp", line, column, start, end, raw, expression);
649
+ }
650
+ };
651
+ var UnaryNegateOp = class extends UnaryOp {
652
+ constructor(line, column, start, end, raw, expression) {
653
+ super("UnaryNegateOp", line, column, start, end, raw, expression);
654
+ }
655
+ };
656
+ var BitNotOp = class extends UnaryOp {
657
+ constructor(line, column, start, end, raw, expression) {
658
+ super("BitNotOp", line, column, start, end, raw, expression);
659
+ }
660
+ };
661
+ var BitAndOp = class extends BinaryOp {
662
+ constructor(line, column, start, end, raw, left, right) {
663
+ super("BitAndOp", line, column, start, end, raw, left, right);
664
+ }
665
+ };
666
+ var BitOrOp = class extends BinaryOp {
667
+ constructor(line, column, start, end, raw, left, right) {
668
+ super("BitOrOp", line, column, start, end, raw, left, right);
669
+ }
670
+ };
671
+ var BitXorOp = class extends BinaryOp {
672
+ constructor(line, column, start, end, raw, left, right) {
673
+ super("BitXorOp", line, column, start, end, raw, left, right);
674
+ }
675
+ };
676
+ var LeftShiftOp = class extends BinaryOp {
677
+ constructor(line, column, start, end, raw, left, right) {
678
+ super("LeftShiftOp", line, column, start, end, raw, left, right);
679
+ }
680
+ };
681
+ var SignedRightShiftOp = class extends BinaryOp {
682
+ constructor(line, column, start, end, raw, left, right) {
683
+ super("SignedRightShiftOp", line, column, start, end, raw, left, right);
684
+ }
685
+ };
686
+ var UnsignedRightShiftOp = class extends BinaryOp {
687
+ constructor(line, column, start, end, raw, left, right) {
688
+ super("UnsignedRightShiftOp", line, column, start, end, raw, left, right);
689
+ }
690
+ };
691
+ var PreDecrementOp = class extends UnaryOp {
692
+ constructor(line, column, start, end, raw, expression) {
693
+ super("PreDecrementOp", line, column, start, end, raw, expression);
694
+ }
695
+ };
696
+ var PreIncrementOp = class extends UnaryOp {
697
+ constructor(line, column, start, end, raw, expression) {
698
+ super("PreIncrementOp", line, column, start, end, raw, expression);
699
+ }
700
+ };
701
+ var PostDecrementOp = class extends UnaryOp {
702
+ constructor(line, column, start, end, raw, expression) {
703
+ super("PostDecrementOp", line, column, start, end, raw, expression);
704
+ }
705
+ };
706
+ var PostIncrementOp = class extends UnaryOp {
707
+ constructor(line, column, start, end, raw, expression) {
708
+ super("PostIncrementOp", line, column, start, end, raw, expression);
709
+ }
710
+ };
711
+ var ExpOp = class extends BinaryOp {
712
+ constructor(line, column, start, end, raw, left, right) {
713
+ super("ExpOp", line, column, start, end, raw, left, right);
714
+ }
715
+ };
716
+ var RemOp = class extends BinaryOp {
717
+ constructor(line, column, start, end, raw, left, right) {
718
+ super("RemOp", line, column, start, end, raw, left, right);
719
+ }
720
+ };
721
+ var ModuloOp = class extends BinaryOp {
722
+ constructor(line, column, start, end, raw, left, right) {
723
+ super("ModuloOp", line, column, start, end, raw, left, right);
724
+ }
725
+ };
726
+ var InOp = class extends BinaryOp {
727
+ constructor(line, column, start, end, raw, left, right, isNot) {
728
+ super("InOp", line, column, start, end, raw, left, right);
729
+ this.isNot = isNot;
730
+ }
731
+ };
732
+ var BaseAssignOp = class extends Node {
733
+ constructor(type, line, column, start, end, raw, assignee, expression) {
734
+ super(type, line, column, start, end, raw);
735
+ this.assignee = assignee;
736
+ this.expression = expression;
737
+ }
738
+ getChildNames() {
739
+ return ["assignee", "expression"];
740
+ }
741
+ };
742
+ var AssignOp = class extends BaseAssignOp {
743
+ constructor(line, column, start, end, raw, assignee, expression) {
744
+ super("AssignOp", line, column, start, end, raw, assignee, expression);
745
+ }
746
+ withExpression(expression) {
747
+ return new AssignOp(this.line, this.column, this.start, this.end, this.raw, this.assignee, expression);
748
+ }
749
+ };
750
+ var CompoundAssignOp = class extends BaseAssignOp {
751
+ constructor(line, column, start, end, raw, assignee, expression, op) {
752
+ super("CompoundAssignOp", line, column, start, end, raw, assignee, expression);
753
+ this.op = op;
754
+ }
755
+ };
756
+ var ExtendsOp = class extends BinaryOp {
757
+ constructor(line, column, start, end, raw, left, right) {
758
+ super("ExtendsOp", line, column, start, end, raw, left, right);
759
+ }
760
+ };
761
+ var SeqOp = class extends BinaryOp {
762
+ constructor(line, column, start, end, raw, left, right) {
763
+ super("SeqOp", line, column, start, end, raw, left, right);
764
+ }
765
+ };
766
+ var TypeofOp = class extends UnaryOp {
767
+ constructor(line, column, start, end, raw, expression) {
768
+ super("TypeofOp", line, column, start, end, raw, expression);
769
+ }
770
+ };
771
+ var InstanceofOp = class extends BinaryOp {
772
+ constructor(line, column, start, end, raw, left, right, isNot) {
773
+ super("InstanceofOp", line, column, start, end, raw, left, right);
774
+ this.isNot = isNot;
775
+ }
776
+ };
777
+ var OfOp = class extends BinaryOp {
778
+ constructor(line, column, start, end, raw, left, right, isNot) {
779
+ super("OfOp", line, column, start, end, raw, left, right);
780
+ this.isNot = isNot;
781
+ }
782
+ };
783
+ var DeleteOp = class extends UnaryOp {
784
+ constructor(line, column, start, end, raw, expression) {
785
+ super("DeleteOp", line, column, start, end, raw, expression);
786
+ }
787
+ };
788
+ var Yield = class extends Node {
789
+ constructor(line, column, start, end, raw, expression) {
790
+ super("Yield", line, column, start, end, raw);
791
+ this.expression = expression;
792
+ }
793
+ getChildNames() {
794
+ return ["expression"];
795
+ }
796
+ };
797
+ var YieldFrom = class extends Node {
798
+ constructor(line, column, start, end, raw, expression) {
799
+ super("YieldFrom", line, column, start, end, raw);
800
+ this.expression = expression;
801
+ }
802
+ getChildNames() {
803
+ return ["expression"];
804
+ }
805
+ };
806
+ var Await = class extends Node {
807
+ constructor(line, column, start, end, raw, expression) {
808
+ super("Await", line, column, start, end, raw);
809
+ this.expression = expression;
810
+ }
811
+ getChildNames() {
812
+ return ["expression"];
813
+ }
814
+ };
815
+ var Slice = class extends Node {
816
+ constructor(line, column, start, end, raw, expression, left, right, isInclusive) {
817
+ super("Slice", line, column, start, end, raw);
818
+ this.expression = expression;
819
+ this.left = left;
820
+ this.right = right;
821
+ this.isInclusive = isInclusive;
822
+ }
823
+ getChildNames() {
824
+ return ["expression", "left", "right"];
825
+ }
826
+ };
827
+ var SoakedSlice = class extends Node {
828
+ constructor(line, column, start, end, raw, expression, left, right, isInclusive) {
829
+ super("SoakedSlice", line, column, start, end, raw);
830
+ this.expression = expression;
831
+ this.left = left;
832
+ this.right = right;
833
+ this.isInclusive = isInclusive;
834
+ }
835
+ getChildNames() {
836
+ return ["expression", "left", "right"];
837
+ }
838
+ };
839
+ var BaseFunction = class extends Node {
840
+ constructor(type, line, column, start, end, raw, parameters, body) {
841
+ super(type, line, column, start, end, raw);
842
+ this.parameters = parameters;
843
+ this.body = body;
844
+ }
845
+ getChildNames() {
846
+ return ["parameters", "body"];
847
+ }
848
+ };
849
+ var Function = class extends BaseFunction {
850
+ constructor(line, column, start, end, raw, parameters, body) {
851
+ super("Function", line, column, start, end, raw, parameters, body);
852
+ }
853
+ withParameters(parameters) {
854
+ return new Function(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
855
+ }
856
+ };
857
+ var BoundFunction = class extends BaseFunction {
858
+ constructor(line, column, start, end, raw, parameters, body) {
859
+ super("BoundFunction", line, column, start, end, raw, parameters, body);
860
+ }
861
+ withParameters(parameters) {
862
+ return new BoundFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
863
+ }
864
+ };
865
+ var GeneratorFunction = class extends BaseFunction {
866
+ constructor(line, column, start, end, raw, parameters, body) {
867
+ super("GeneratorFunction", line, column, start, end, raw, parameters, body);
868
+ }
869
+ withParameters(parameters) {
870
+ return new GeneratorFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
871
+ }
872
+ };
873
+ var BoundGeneratorFunction = class extends BaseFunction {
874
+ constructor(line, column, start, end, raw, parameters, body) {
875
+ super("BoundGeneratorFunction", line, column, start, end, raw, parameters, body);
876
+ }
877
+ withParameters(parameters) {
878
+ return new BoundGeneratorFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
879
+ }
880
+ };
881
+ var AsyncFunction = class extends BaseFunction {
882
+ constructor(line, column, start, end, raw, parameters, body) {
883
+ super("AsyncFunction", line, column, start, end, raw, parameters, body);
884
+ }
885
+ withParameters(parameters) {
886
+ return new AsyncFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
887
+ }
888
+ };
889
+ var BoundAsyncFunction = class extends BaseFunction {
890
+ constructor(line, column, start, end, raw, parameters, body) {
891
+ super("BoundAsyncFunction", line, column, start, end, raw, parameters, body);
892
+ }
893
+ withParameters(parameters) {
894
+ return new BoundAsyncFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
895
+ }
896
+ };
897
+ var Try = class extends Node {
898
+ constructor(line, column, start, end, raw, body, catchAssignee, catchBody, finallyBody) {
899
+ super("Try", line, column, start, end, raw);
900
+ this.body = body;
901
+ this.catchAssignee = catchAssignee;
902
+ this.catchBody = catchBody;
903
+ this.finallyBody = finallyBody;
904
+ }
905
+ getChildNames() {
906
+ return ["body", "catchAssignee", "catchBody", "finallyBody"];
907
+ }
908
+ };
909
+ var Constructor = class extends BaseAssignOp {
910
+ constructor(line, column, start, end, raw, assignee, expression) {
911
+ super("Constructor", line, column, start, end, raw, assignee, expression);
912
+ }
913
+ };
914
+ var ClassProtoAssignOp = class extends BaseAssignOp {
915
+ constructor(line, column, start, end, raw, assignee, expression) {
916
+ super("ClassProtoAssignOp", line, column, start, end, raw, assignee, expression);
917
+ }
918
+ };
919
+ var Class = class extends Node {
920
+ constructor(line, column, start, end, raw, nameAssignee, name, body, boundMembers, parent, ctor) {
921
+ super("Class", line, column, start, end, raw);
922
+ this.nameAssignee = nameAssignee;
923
+ this.name = name;
924
+ this.body = body;
925
+ this.boundMembers = boundMembers;
926
+ this.parent = parent;
927
+ this.ctor = ctor;
928
+ }
929
+ getChildNames() {
930
+ return ["nameAssignee", "parent", "body"];
931
+ }
932
+ };
933
+ var FunctionApplication = class extends Node {
934
+ constructor(line, column, start, end, raw, fn, args) {
935
+ super("FunctionApplication", line, column, start, end, raw);
936
+ this.function = fn;
937
+ this.arguments = args;
938
+ }
939
+ getChildNames() {
940
+ return ["function", "arguments"];
941
+ }
942
+ };
943
+ var SoakedFunctionApplication = class extends Node {
944
+ constructor(line, column, start, end, raw, fn, args) {
945
+ super("SoakedFunctionApplication", line, column, start, end, raw);
946
+ this.function = fn;
947
+ this.arguments = args;
948
+ }
949
+ getChildNames() {
950
+ return ["function", "arguments"];
951
+ }
952
+ };
953
+ var Super = class extends Node {
954
+ constructor(line, column, start, end, raw) {
955
+ super("Super", line, column, start, end, raw);
956
+ }
957
+ getChildNames() {
958
+ return [];
959
+ }
960
+ };
961
+ var BareSuperFunctionApplication = class extends Node {
962
+ constructor(line, column, start, end, raw) {
963
+ super("BareSuperFunctionApplication", line, column, start, end, raw);
964
+ }
965
+ getChildNames() {
966
+ return [];
967
+ }
968
+ };
969
+ var NewOp = class extends Node {
970
+ constructor(line, column, start, end, raw, ctor, args) {
971
+ super("NewOp", line, column, start, end, raw);
972
+ this.ctor = ctor;
973
+ this.arguments = args;
974
+ }
975
+ getChildNames() {
976
+ return ["ctor", "arguments"];
977
+ }
978
+ };
979
+ var SoakedNewOp = class extends Node {
980
+ constructor(line, column, start, end, raw, ctor, args) {
981
+ super("SoakedNewOp", line, column, start, end, raw);
982
+ this.ctor = ctor;
983
+ this.arguments = args;
984
+ }
985
+ getChildNames() {
986
+ return ["ctor", "arguments"];
987
+ }
988
+ };
989
+ var DoOp = class extends Node {
990
+ constructor(line, column, start, end, raw, expression) {
991
+ super("DoOp", line, column, start, end, raw);
992
+ this.expression = expression;
993
+ }
994
+ getChildNames() {
995
+ return ["expression"];
996
+ }
997
+ };
998
+ var ImportDeclaration = class extends Node {
999
+ constructor(line, column, start, end, raw, defaultBinding, namespaceImport, namedImports, source) {
1000
+ super("ImportDeclaration", line, column, start, end, raw);
1001
+ this.defaultBinding = defaultBinding;
1002
+ this.namespaceImport = namespaceImport;
1003
+ this.namedImports = namedImports;
1004
+ this.source = source;
1005
+ }
1006
+ getChildNames() {
1007
+ return ["defaultBinding", "namespaceImport", "namedImports", "source"];
1008
+ }
1009
+ };
1010
+ var ExportNamedDeclaration = class extends Node {
1011
+ constructor(line, column, start, end, raw, expression) {
1012
+ super("ExportNamedDeclaration", line, column, start, end, raw);
1013
+ this.expression = expression;
1014
+ }
1015
+ getChildNames() {
1016
+ return ["expression"];
1017
+ }
1018
+ };
1019
+ var ExportBindingsDeclaration = class extends Node {
1020
+ constructor(line, column, start, end, raw, namedExports, source) {
1021
+ super("ExportBindingsDeclaration", line, column, start, end, raw);
1022
+ this.namedExports = namedExports;
1023
+ this.source = source;
1024
+ }
1025
+ getChildNames() {
1026
+ return ["namedExports", "source"];
1027
+ }
1028
+ };
1029
+ var ExportDefaultDeclaration = class extends Node {
1030
+ constructor(line, column, start, end, raw, expression) {
1031
+ super("ExportDefaultDeclaration", line, column, start, end, raw);
1032
+ this.expression = expression;
1033
+ }
1034
+ getChildNames() {
1035
+ return ["expression"];
1036
+ }
1037
+ };
1038
+ var ExportAllDeclaration = class extends Node {
1039
+ constructor(line, column, start, end, raw, source) {
1040
+ super("ExportAllDeclaration", line, column, start, end, raw);
1041
+ this.source = source;
1042
+ }
1043
+ getChildNames() {
1044
+ return ["source"];
1045
+ }
1046
+ };
1047
+ var ModuleSpecifier = class extends Node {
1048
+ constructor(line, column, start, end, raw, original, alias) {
1049
+ super("ModuleSpecifier", line, column, start, end, raw);
1050
+ this.original = original;
1051
+ this.alias = alias;
1052
+ }
1053
+ getChildNames() {
1054
+ return ["original", "alias"];
1055
+ }
1056
+ };
1057
+ var CSXElement = class extends Node {
1058
+ constructor(line, column, start, end, raw, properties, children) {
1059
+ super("CSXElement", line, column, start, end, raw);
1060
+ this.properties = properties;
1061
+ this.children = children;
1062
+ }
1063
+ getChildNames() {
1064
+ return ["properties", "children"];
1065
+ }
1066
+ };
1067
+
1068
+ // src/util/isCommentOnlyNode.ts
1069
+ import {
1070
+ PassthroughLiteral,
1071
+ Value
1072
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1073
+ function isCommentOnlyNode(base) {
1074
+ return base instanceof Value && base.base instanceof PassthroughLiteral && base.base.value === "";
1075
+ }
1076
+
1077
+ // src/mappers/mapBlock.ts
1078
+ import { SourceType as SourceType14 } from "coffee-lex";
1079
+ import {
1080
+ Assign as Assign4,
1081
+ Obj as Obj4,
1082
+ Value as Value10
1083
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1084
+ import { inspect as inspect8 } from "util";
1085
+
1086
+ // src/util/getLocation.ts
1087
+ import { SourceType } from "coffee-lex";
1088
+ import { inspect } from "util";
1089
+ function getLocation(context, node) {
1090
+ const loc = node.locationData;
1091
+ let start = context.linesAndColumns.indexForLocation({
1092
+ line: loc.first_line,
1093
+ column: loc.first_column
1094
+ });
1095
+ const last = context.linesAndColumns.indexForLocation({
1096
+ line: loc.last_line,
1097
+ column: loc.last_column
1098
+ });
1099
+ if (start === null || last === null) {
1100
+ throw new Error(`unable to determine range for location: ${inspect(loc)}}`);
1101
+ }
1102
+ const line = loc.first_line + 1;
1103
+ const column = loc.first_column + 1;
1104
+ let end = last + 1;
1105
+ if (start < 0) {
1106
+ start = 0;
1107
+ }
1108
+ if (end > context.source.length) {
1109
+ end = context.source.length;
1110
+ }
1111
+ const firstTokenOfNode = requireToken(firstSemanticTokenAfter(context, start), node);
1112
+ const lastTokenOfNode = requireToken(firstSemanticTokenBefore(context, end), node);
1113
+ start = firstTokenOfNode.start;
1114
+ end = lastTokenOfNode.end;
1115
+ const raw = context.source.slice(start, end);
1116
+ return { line, column, start, end, raw };
1117
+ }
1118
+ function firstSemanticTokenAfter(context, index) {
1119
+ const tokenIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => {
1120
+ return token.start >= index && token.type !== SourceType.NEWLINE && token.type !== SourceType.COMMENT;
1121
+ }, context.sourceTokens.indexOfTokenNearSourceIndex(index));
1122
+ return tokenIndex === null ? null : context.sourceTokens.tokenAtIndex(tokenIndex);
1123
+ }
1124
+ function firstSemanticTokenBefore(context, index) {
1125
+ const tokenIndex = context.sourceTokens.lastIndexOfTokenMatchingPredicate((token) => {
1126
+ return token.end <= index && token.type !== SourceType.NEWLINE && token.type !== SourceType.COMMENT;
1127
+ }, context.sourceTokens.indexOfTokenNearSourceIndex(index));
1128
+ return tokenIndex === null ? null : context.sourceTokens.tokenAtIndex(tokenIndex);
1129
+ }
1130
+ function requireToken(token, node) {
1131
+ if (token === null) {
1132
+ throw new Error(`unable to find token for node: ${inspect(node)}`);
1133
+ }
1134
+ return token;
1135
+ }
1136
+
1137
+ // src/mappers/mapAny.ts
1138
+ import {
1139
+ Arr as Arr2,
1140
+ Assign as Assign3,
1141
+ Block as Block3,
1142
+ Call as Call4,
1143
+ Class as Class2,
1144
+ Code,
1145
+ ComputedPropertyName as ComputedPropertyName2,
1146
+ Elision as Elision2,
1147
+ Existence,
1148
+ Expansion as Expansion2,
1149
+ Extends,
1150
+ For as For3,
1151
+ If,
1152
+ In,
1153
+ Literal as Literal8,
1154
+ ModuleDeclaration as ModuleDeclaration2,
1155
+ Obj as Obj3,
1156
+ Op as Op7,
1157
+ Param,
1158
+ Parens as Parens2,
1159
+ Range as Range2,
1160
+ Return as Return2,
1161
+ Splat as Splat4,
1162
+ StringWithInterpolations as StringWithInterpolations4,
1163
+ Super as Super2,
1164
+ Switch as Switch2,
1165
+ TaggedTemplateCall,
1166
+ Throw as Throw2,
1167
+ Try as Try2,
1168
+ Value as Value9,
1169
+ While as While2
1170
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1171
+
1172
+ // src/util/UnsupportedNodeError.ts
1173
+ import { inspect as inspect2 } from "util";
1174
+ var UnsupportedNodeError = class extends Error {
1175
+ constructor(node, message = null) {
1176
+ const prefix = message ? `${message}
1177
+
1178
+ ` : "";
1179
+ super(`${prefix}node type '${node.constructor.name}' is not supported: ${inspect2(node)}`);
1180
+ Object.setPrototypeOf(this, UnsupportedNodeError.prototype);
1181
+ this.node = node;
1182
+ }
1183
+ };
1184
+
1185
+ // src/mappers/mapArr.ts
1186
+ function mapArr(context, node) {
1187
+ const { line, column, start, end, raw } = getLocation(context, node);
1188
+ const members = node.objects.map((object) => mapAny(context, object));
1189
+ return new ArrayInitialiser(line, column, start, end, raw, members);
1190
+ }
1191
+
1192
+ // src/mappers/mapAssign.ts
1193
+ var COMPOUND_ASSIGN_OPS = {
1194
+ "-=": SubtractOp.name,
1195
+ "+=": PlusOp.name,
1196
+ "/=": DivideOp.name,
1197
+ "*=": MultiplyOp.name,
1198
+ "%=": RemOp.name,
1199
+ "||=": LogicalOrOp.name,
1200
+ "&&=": LogicalAndOp.name,
1201
+ "?=": ExistsOp.name,
1202
+ "<<=": LeftShiftOp.name,
1203
+ ">>=": SignedRightShiftOp.name,
1204
+ ">>>=": UnsignedRightShiftOp.name,
1205
+ "&=": BitAndOp.name,
1206
+ "^=": BitXorOp.name,
1207
+ "|=": BitOrOp.name,
1208
+ "**=": ExpOp.name,
1209
+ "//=": FloorDivideOp.name,
1210
+ "%%=": ModuloOp.name
1211
+ };
1212
+ function mapAssign(context, node) {
1213
+ if (node.context === "object") {
1214
+ throw new UnsupportedNodeError(node, "Unexpected object context when mapping regular assign op.");
1215
+ }
1216
+ const { line, column, start, end, raw } = getLocation(context, node);
1217
+ if (node.context) {
1218
+ const opName = COMPOUND_ASSIGN_OPS[node.context];
1219
+ if (!opName) {
1220
+ throw new UnsupportedNodeError(node, "Unexpected operator context for assign op.");
1221
+ }
1222
+ return new CompoundAssignOp(line, column, start, end, raw, mapAny(context, node.variable), mapAny(context, node.value), opName);
1223
+ } else {
1224
+ return new AssignOp(line, column, start, end, raw, mapAny(context, node.variable), mapAny(context, node.value));
1225
+ }
1226
+ }
1227
+
1228
+ // src/mappers/mapCall.ts
1229
+ import { SourceType as SourceType5 } from "coffee-lex";
1230
+ import {
1231
+ Literal as Literal3,
1232
+ Splat as Splat2,
1233
+ StringWithInterpolations as StringWithInterpolations2,
1234
+ SuperCall,
1235
+ Value as Value5
1236
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1237
+ import { inspect as inspect3 } from "util";
1238
+
1239
+ // src/util/isHeregexTemplateNode.ts
1240
+ import { SourceType as SourceType2 } from "coffee-lex";
1241
+ import {
1242
+ Call,
1243
+ Literal,
1244
+ Value as Value2
1245
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1246
+ function isHeregexTemplateNode(node, context) {
1247
+ if (!(node instanceof Call) || !node.variable || !(node.variable instanceof Value2) || !node.variable.base || !(node.variable.base instanceof Literal) || node.variable.base.value !== "RegExp") {
1248
+ return false;
1249
+ }
1250
+ const { sourceTokens, linesAndColumns } = context;
1251
+ const start = linesAndColumns.indexForLocation({
1252
+ line: node.locationData.first_line,
1253
+ column: node.locationData.first_column
1254
+ });
1255
+ if (start === null) {
1256
+ return false;
1257
+ }
1258
+ const startTokenIndex = sourceTokens.indexOfTokenContainingSourceIndex(start);
1259
+ if (startTokenIndex === null) {
1260
+ return false;
1261
+ }
1262
+ const startToken = sourceTokens.tokenAtIndex(startTokenIndex);
1263
+ if (startToken === null) {
1264
+ return false;
1265
+ }
1266
+ return startToken.type === SourceType2.HEREGEXP_START;
1267
+ }
1268
+
1269
+ // src/util/locationsEqual.ts
1270
+ function locationsEqual(first, second) {
1271
+ return first.first_line === second.first_line && first.first_column === second.first_column && first.last_line === second.last_line && first.last_column === second.last_column;
1272
+ }
1273
+
1274
+ // src/util/getTemplateLiteralComponents.ts
1275
+ import {
1276
+ SourceType as SourceType4
1277
+ } from "coffee-lex";
1278
+ import {
1279
+ Literal as Literal2,
1280
+ Op as Op2,
1281
+ Value as Value3
1282
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1283
+
1284
+ // src/util/isPlusTokenBetweenRanges.ts
1285
+ import { SourceType as SourceType3 } from "coffee-lex";
1286
+ function isPlusTokenBetweenRanges(leftRange, rightRange, context) {
1287
+ const tokens = context.sourceTokens;
1288
+ const leftEnd = tokens.indexOfTokenContainingSourceIndex(leftRange[1] - 1);
1289
+ const rightStart = tokens.indexOfTokenContainingSourceIndex(rightRange[0]);
1290
+ if (!leftEnd || !rightStart) {
1291
+ return false;
1292
+ }
1293
+ const afterLeftEnd = leftEnd.next();
1294
+ if (!afterLeftEnd) {
1295
+ return false;
1296
+ }
1297
+ const tokensBetweenOperands = tokens.slice(afterLeftEnd, rightStart);
1298
+ let foundPlusToken = false;
1299
+ tokensBetweenOperands.forEach(({ type, start, end }) => {
1300
+ if (type === SourceType3.OPERATOR && context.source.slice(start, end) === "+") {
1301
+ foundPlusToken = true;
1302
+ }
1303
+ });
1304
+ return foundPlusToken;
1305
+ }
1306
+
1307
+ // src/util/isImplicitPlusOp.ts
1308
+ function isImplicitPlusOp(op, context) {
1309
+ if (op.operator !== "+" || !op.second) {
1310
+ return false;
1311
+ }
1312
+ const firstRange = context.getRange(op.first);
1313
+ const secondRange = context.getRange(op.second);
1314
+ if (!firstRange || !secondRange) {
1315
+ throw new Error("Expected valid location data on plus operation.");
1316
+ }
1317
+ return !isPlusTokenBetweenRanges(firstRange, secondRange, context);
1318
+ }
1319
+
1320
+ // src/util/parseString.ts
1321
+ import { parse } from "@codemod/parser";
1322
+ function parseString(string) {
1323
+ const expressionStatement = parse(`(${string})`).program.body[0];
1324
+ const literal = expressionStatement.expression;
1325
+ return literal.value;
1326
+ }
1327
+
1328
+ // src/util/getTemplateLiteralComponents.ts
1329
+ function getTemplateLiteralComponents(context, node) {
1330
+ const tokens = context.sourceTokens;
1331
+ const quasis = [];
1332
+ const unmappedExpressions = [];
1333
+ const elements = getElements(node, context);
1334
+ const nodeRange = context.getRange(node);
1335
+ if (!nodeRange) {
1336
+ throw new Error("Expected valid range on template literal node.");
1337
+ }
1338
+ const { startTokenIndex, startToken } = getStartToken(nodeRange[0], tokens);
1339
+ let depth = 0;
1340
+ let lastToken = startToken;
1341
+ for (let tokenIndex = startTokenIndex; tokenIndex; tokenIndex = tokenIndex.next()) {
1342
+ const token = tokens.tokenAtIndex(tokenIndex);
1343
+ if (!token) {
1344
+ break;
1345
+ }
1346
+ if (token.type === SourceType4.INTERPOLATION_START || token.type === SourceType4.CSX_OPEN_TAG_START) {
1347
+ depth++;
1348
+ if (depth === 1) {
1349
+ quasis.push(findQuasi(lastToken, token, context, elements));
1350
+ lastToken = token;
1351
+ }
1352
+ } else if (token.type === SourceType4.INTERPOLATION_END || token.type === SourceType4.CSX_SELF_CLOSING_TAG_END || token.type === SourceType4.CSX_CLOSE_TAG_END) {
1353
+ depth--;
1354
+ if (depth === 0) {
1355
+ unmappedExpressions.push(findExpression(lastToken, token, context, elements));
1356
+ lastToken = token;
1357
+ }
1358
+ } else if (depth === 0 && isTemplateLiteralEnd(token)) {
1359
+ quasis.push(findQuasi(lastToken, token, context, elements));
1360
+ lastToken = token;
1361
+ break;
1362
+ }
1363
+ }
1364
+ return {
1365
+ quasis,
1366
+ unmappedExpressions,
1367
+ start: startToken.start,
1368
+ end: lastToken.end
1369
+ };
1370
+ }
1371
+ function getElements(node, context) {
1372
+ if (node instanceof Op2 && isImplicitPlusOp(node, context)) {
1373
+ if (!node.second) {
1374
+ throw new Error("Expected second operand on plus op.");
1375
+ }
1376
+ return [
1377
+ ...getElements(node.first, context),
1378
+ ...getElements(node.second, context)
1379
+ ];
1380
+ }
1381
+ return [node];
1382
+ }
1383
+ function getStartToken(start, tokens) {
1384
+ let tokenIndex = tokens.indexOfTokenNearSourceIndex(start);
1385
+ for (let i = 0; i < 5; i++) {
1386
+ const token = tokens.tokenAtIndex(tokenIndex);
1387
+ if (!token) {
1388
+ throw new Error("Expected to find a start token in a template literal.");
1389
+ }
1390
+ if (isTemplateLiteralStart(token)) {
1391
+ return { startToken: token, startTokenIndex: tokenIndex };
1392
+ }
1393
+ const prevToken = tokenIndex.previous();
1394
+ if (!prevToken) {
1395
+ throw new Error("Expected a previous token when searching for a template start.");
1396
+ }
1397
+ tokenIndex = prevToken;
1398
+ }
1399
+ throw new Error("Expected a template literal start token.");
1400
+ }
1401
+ function findQuasi(leftToken, rightToken, context, elements) {
1402
+ const matchingElements = elements.filter((elem) => {
1403
+ const range = context.getRange(elem);
1404
+ if (!range) {
1405
+ throw new Error("Unexpected invalid range.");
1406
+ }
1407
+ return range[0] >= leftToken.start && range[1] <= rightToken.end;
1408
+ });
1409
+ const start = leftToken.end;
1410
+ const end = rightToken.start;
1411
+ const startLoc = context.linesAndColumns.locationForIndex(leftToken.end);
1412
+ if (!startLoc) {
1413
+ throw new Error(`Expected to find a location for index ${leftToken.end}.`);
1414
+ }
1415
+ const raw = context.source.slice(start, end);
1416
+ if (matchingElements.length === 0) {
1417
+ return new Quasi(startLoc.line + 1, startLoc.column + 1, start, end, raw, "");
1418
+ } else if (matchingElements.length === 1) {
1419
+ const element = matchingElements[0];
1420
+ let literal;
1421
+ if (element instanceof Literal2) {
1422
+ literal = element;
1423
+ } else if (element instanceof Value3 && element.properties.length === 0 && element.base instanceof Literal2) {
1424
+ literal = element.base;
1425
+ } else {
1426
+ throw new Error("Expected quasi element to be either a literal or a value containing only a literal.");
1427
+ }
1428
+ const stringValue = parseString(literal.value);
1429
+ return new Quasi(startLoc.line + 1, startLoc.column + 1, start, end, raw, stringValue !== void 0 ? stringValue : literal.value);
1430
+ } else {
1431
+ throw new Error("Unexpectedly found multiple elements in string interpolation.");
1432
+ }
1433
+ }
1434
+ function findExpression(leftToken, rightToken, context, elements) {
1435
+ const matchingElements = elements.filter((elem) => {
1436
+ const range = context.getRange(elem);
1437
+ if (!range) {
1438
+ throw new Error("Unexpected invalid range.");
1439
+ }
1440
+ return range[0] >= leftToken.start && range[1] <= rightToken.end;
1441
+ });
1442
+ if (matchingElements.length === 0) {
1443
+ return null;
1444
+ } else if (matchingElements.length === 1) {
1445
+ return matchingElements[0];
1446
+ } else {
1447
+ throw new Error("Unexpectedly found multiple elements in string interpolation.");
1448
+ }
1449
+ }
1450
+ function isTemplateLiteralStart(token) {
1451
+ return [
1452
+ SourceType4.DSTRING_START,
1453
+ SourceType4.SSTRING_START,
1454
+ SourceType4.TDSTRING_START,
1455
+ SourceType4.TSSTRING_START,
1456
+ SourceType4.HEREGEXP_START,
1457
+ SourceType4.CSX_OPEN_TAG_END
1458
+ ].indexOf(token.type) >= 0;
1459
+ }
1460
+ function isTemplateLiteralEnd(token) {
1461
+ return [
1462
+ SourceType4.DSTRING_END,
1463
+ SourceType4.SSTRING_END,
1464
+ SourceType4.TDSTRING_END,
1465
+ SourceType4.TSSTRING_END,
1466
+ SourceType4.HEREGEXP_END,
1467
+ SourceType4.CSX_CLOSE_TAG_START
1468
+ ].indexOf(token.type) >= 0;
1469
+ }
1470
+
1471
+ // src/util/makeHeregex.ts
1472
+ function makeHeregex(context, node, flags) {
1473
+ const { quasis, unmappedExpressions, start, end } = getTemplateLiteralComponents(context, node);
1474
+ const startLoc = context.linesAndColumns.locationForIndex(start);
1475
+ if (!startLoc) {
1476
+ throw new Error(`Expected to find a location for index ${start}.`);
1477
+ }
1478
+ const raw = context.source.slice(start, end);
1479
+ return new Heregex(startLoc.line + 1, startLoc.column + 1, start, end, raw, quasis, unmappedExpressions.map((expr) => expr ? mapAny(context, expr) : null), RegexFlags.parse(flags));
1480
+ }
1481
+
1482
+ // src/mappers/mapCSX.ts
1483
+ import {
1484
+ Arr,
1485
+ Assign,
1486
+ IdentifierLiteral,
1487
+ Obj,
1488
+ Splat,
1489
+ StringLiteral,
1490
+ StringWithInterpolations,
1491
+ Value as Value4
1492
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1493
+ function mapCSX(context, node) {
1494
+ const { line, column, start, end, raw } = getLocation(context, node);
1495
+ const [properties, children] = node.args;
1496
+ const mappedProperties = mapCSXProperties(context, properties);
1497
+ const mappedChildren = mapCSXChildren(context, children);
1498
+ return new CSXElement(line, column, start, end, raw, mappedProperties, mappedChildren);
1499
+ }
1500
+ function mapCSXProperties(context, properties) {
1501
+ if (!(properties instanceof Value4) || !(properties.base instanceof Arr)) {
1502
+ throw new Error("Expected a value for the CSX properties arg.");
1503
+ }
1504
+ const values = properties.base.objects;
1505
+ const resultProperties = [];
1506
+ for (const value of values) {
1507
+ if (!(value instanceof Value4)) {
1508
+ throw new Error("Expected value for CSX property.");
1509
+ }
1510
+ if (value.base instanceof Obj) {
1511
+ for (const propertyAssignment of value.base.objects) {
1512
+ if (propertyAssignment instanceof Splat) {
1513
+ resultProperties.push(mapAny(context, propertyAssignment));
1514
+ } else if (propertyAssignment instanceof Assign) {
1515
+ if (!(propertyAssignment.value instanceof Value4)) {
1516
+ throw new Error("Unexpected property assignment value.");
1517
+ }
1518
+ if (!(propertyAssignment.value.base instanceof StringLiteral)) {
1519
+ resultProperties.push(mapAny(context, propertyAssignment.value));
1520
+ }
1521
+ } else {
1522
+ throw new Error("Unexpected property assignment object field in CSX.");
1523
+ }
1524
+ }
1525
+ } else if (value.base instanceof IdentifierLiteral) {
1526
+ } else {
1527
+ throw new Error("Unexpected property assignment in CSX.");
1528
+ }
1529
+ }
1530
+ return resultProperties;
1531
+ }
1532
+ function mapCSXChildren(context, children) {
1533
+ if (!children) {
1534
+ return [];
1535
+ }
1536
+ if (!(children instanceof Value4)) {
1537
+ throw new Error("Expected a value for the CSX children arg.");
1538
+ }
1539
+ if (children.base instanceof StringLiteral) {
1540
+ return [];
1541
+ } else if (!(children.base instanceof StringWithInterpolations)) {
1542
+ throw new Error("Expected a valid CSX children arg.");
1543
+ }
1544
+ const childInterpolatedString = children.base.body.expressions[0];
1545
+ const { unmappedExpressions } = getTemplateLiteralComponents(context, childInterpolatedString);
1546
+ return unmappedExpressions.map((child) => child ? mapAny(context, child) : null);
1547
+ }
1548
+
1549
+ // src/mappers/mapCall.ts
1550
+ function mapCall(context, node) {
1551
+ const { line, column, start, end, raw } = getLocation(context, node);
1552
+ if (node.csx) {
1553
+ return mapCSX(context, node);
1554
+ }
1555
+ if (isHeregexTemplateNode(node, context)) {
1556
+ const firstArg = node.args[0];
1557
+ if (!(firstArg instanceof Value5) || !(firstArg.base instanceof StringWithInterpolations2)) {
1558
+ throw new Error("Expected a valid first heregex arg in the AST.");
1559
+ }
1560
+ const strNode = firstArg.base.body.expressions[0];
1561
+ let flags;
1562
+ if (node.args.length > 1) {
1563
+ const secondArg = node.args[1];
1564
+ if (!(secondArg instanceof Value5) || !(secondArg.base instanceof Literal3)) {
1565
+ throw new Error("Expected a string flags value in the heregex AST.");
1566
+ }
1567
+ flags = parseString(secondArg.base.value);
1568
+ } else {
1569
+ flags = "";
1570
+ }
1571
+ return makeHeregex(context, strNode, flags);
1572
+ }
1573
+ const args = node.args.map((arg) => mapAny(context, arg));
1574
+ if (node instanceof SuperCall) {
1575
+ if (node.args.length === 1 && node.args[0] instanceof Splat2 && locationsEqual(node.args[0].locationData, node.locationData)) {
1576
+ return new BareSuperFunctionApplication(line, column, start, end, raw);
1577
+ }
1578
+ const superIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
1579
+ const superToken = superIndex && context.sourceTokens.tokenAtIndex(superIndex);
1580
+ if (!superToken || superToken.type !== SourceType5.SUPER) {
1581
+ throw new Error(`unable to find SUPER token in 'super' function call: ${inspect3(node)}`);
1582
+ }
1583
+ const superLocation = context.linesAndColumns.locationForIndex(superToken.start);
1584
+ if (!superLocation) {
1585
+ throw new Error(`unable to locate SUPER token for 'super' function call: ${inspect3(node)}`);
1586
+ }
1587
+ return new FunctionApplication(line, column, start, end, raw, new Super(superLocation.line + 1, superLocation.column + 1, superToken.start, superToken.end, context.source.slice(superToken.start, superToken.end)), args);
1588
+ }
1589
+ if (!node.variable) {
1590
+ throw new Error("Expected non-super call to have a variable defined.");
1591
+ }
1592
+ const callee = mapAny(context, node.variable);
1593
+ if (node.isNew) {
1594
+ return mapNewOp(context, node);
1595
+ }
1596
+ if (node.soak) {
1597
+ return new SoakedFunctionApplication(line, column, start, end, raw, callee, args);
1598
+ }
1599
+ if (node.do) {
1600
+ return mapDoOp(context, node);
1601
+ }
1602
+ return new FunctionApplication(line, column, start, end, raw, callee, args);
1603
+ }
1604
+ function mapNewOp(context, node) {
1605
+ if (!node.variable) {
1606
+ throw new UnsupportedNodeError(node);
1607
+ }
1608
+ const { line, column, start, end, raw } = getLocation(context, node);
1609
+ const callee = mapAny(context, node.variable);
1610
+ const args = node.args.map((arg) => mapAny(context, arg));
1611
+ if (node.soak) {
1612
+ return new SoakedNewOp(line, column, start, end, raw, callee, args);
1613
+ } else {
1614
+ return new NewOp(line, column, start, end, raw, callee, args);
1615
+ }
1616
+ }
1617
+ function mapDoOp(context, node) {
1618
+ if (!node.variable) {
1619
+ throw new UnsupportedNodeError(node);
1620
+ }
1621
+ const { line, column, start, end, raw } = getLocation(context, node);
1622
+ let expression = mapAny(context, node.variable);
1623
+ const args = node.args.map((arg) => mapAny(context, arg));
1624
+ if (expression instanceof BaseFunction) {
1625
+ expression = augmentDoFunctionWithArgs(context, expression, args);
1626
+ } else if (expression instanceof AssignOp && expression.expression instanceof BaseFunction) {
1627
+ const newRhs = augmentDoFunctionWithArgs(context, expression.expression, args);
1628
+ expression = expression.withExpression(newRhs);
1629
+ }
1630
+ return new DoOp(line, column, start, end, raw, expression);
1631
+ }
1632
+ function augmentDoFunctionWithArgs(context, func, args) {
1633
+ const newParameters = func.parameters.map((param, i) => {
1634
+ const arg = args[i];
1635
+ if (arg instanceof Identifier && param instanceof Identifier && arg.data === param.data && arg.start === param.start && arg.end === param.end) {
1636
+ return param;
1637
+ }
1638
+ return new DefaultParam(param.line, param.column, param.start, arg.end, context.source.slice(param.start, arg.end), param, arg);
1639
+ });
1640
+ return func.withParameters(newParameters);
1641
+ }
1642
+
1643
+ // src/mappers/mapClass.ts
1644
+ function mapClass(context, node) {
1645
+ const { line, column, start, end, raw } = getLocation(context, node);
1646
+ const nameAssignee = node.variable ? mapAny(context, node.variable) : null;
1647
+ const parent = node.parent ? mapAny(context, node.parent) : null;
1648
+ const childContext = context.updateState((s) => s.pushCurrentClass());
1649
+ const body = mapPossiblyEmptyBlock(childContext, node.body);
1650
+ const boundMethods = childContext.parseState.currentClassBoundMethods;
1651
+ if (!boundMethods) {
1652
+ throw new Error("Expected a non-null bound method name array.");
1653
+ }
1654
+ return new Class(line, column, start, end, raw, nameAssignee, nameAssignee, body, boundMethods, parent, childContext.parseState.currentClassCtor);
1655
+ }
1656
+
1657
+ // src/mappers/mapCode.ts
1658
+ function mapCode(context, node) {
1659
+ const { line, column, start, end, raw } = getLocation(context, node);
1660
+ const Node12 = getNodeTypeForCode(node);
1661
+ const childContext = context.updateState((s) => s.dropCurrentClass());
1662
+ return new Node12(line, column, start, end, raw, node.params.map((param) => mapAny(childContext, param)), mapPossiblyEmptyBlock(childContext, node.body));
1663
+ }
1664
+ function getNodeTypeForCode(node) {
1665
+ if (node.isGenerator) {
1666
+ if (node.bound) {
1667
+ return BoundGeneratorFunction;
1668
+ } else {
1669
+ return GeneratorFunction;
1670
+ }
1671
+ } else if (node.isAsync) {
1672
+ if (node.bound) {
1673
+ return BoundAsyncFunction;
1674
+ } else {
1675
+ return AsyncFunction;
1676
+ }
1677
+ } else {
1678
+ if (node.bound) {
1679
+ return BoundFunction;
1680
+ } else {
1681
+ return Function;
1682
+ }
1683
+ }
1684
+ }
1685
+
1686
+ // src/mappers/mapComputedPropertyName.ts
1687
+ function mapComputedPropertyName(context, node) {
1688
+ return mapAny(context, node.value);
1689
+ }
1690
+
1691
+ // src/mappers/mapElision.ts
1692
+ function mapElision(context, node) {
1693
+ const { line, column, start, end, raw } = getLocation(context, node);
1694
+ return new Elision(line, column, start, end, raw);
1695
+ }
1696
+
1697
+ // src/mappers/mapExistence.ts
1698
+ function mapExistence(context, node) {
1699
+ const { line, column, start, end, raw } = getLocation(context, node);
1700
+ return new UnaryExistsOp(line, column, start, end, raw, mapAny(context, node.expression));
1701
+ }
1702
+
1703
+ // src/mappers/mapExpansion.ts
1704
+ function mapExpansion(context, node) {
1705
+ const { line, column, start, end, raw } = getLocation(context, node);
1706
+ return new Expansion(line, column, start, end, raw);
1707
+ }
1708
+
1709
+ // src/mappers/mapExtends.ts
1710
+ function mapExtends(context, node) {
1711
+ const { line, column, start, end, raw } = getLocation(context, node);
1712
+ return new ExtendsOp(line, column, start, end, raw, mapAny(context, node.child), mapAny(context, node.parent));
1713
+ }
1714
+
1715
+ // src/mappers/mapFor.ts
1716
+ function mapFor(context, node) {
1717
+ const { line, column, start, end, raw } = getLocation(context, node);
1718
+ const keyAssignee = node.index ? mapAny(context, node.index) : null;
1719
+ const valAssignee = node.name ? mapAny(context, node.name) : null;
1720
+ let body = mapPossiblyEmptyBlock(context, node.body);
1721
+ const target = mapAny(context, node.source);
1722
+ const filter = node.guard ? mapAny(context, node.guard) : null;
1723
+ if (body && body.start < target.start) {
1724
+ body = body.withInline(true);
1725
+ }
1726
+ if (node.object) {
1727
+ const isOwn = node.own;
1728
+ return new ForOf(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, isOwn);
1729
+ } else {
1730
+ if (node.from) {
1731
+ if (keyAssignee) {
1732
+ throw new Error("Unexpected key assignee in for...from.");
1733
+ }
1734
+ return new ForFrom(line, column, start, end, raw, valAssignee, target, filter, body);
1735
+ } else {
1736
+ const step = node.step ? mapAny(context, node.step) : null;
1737
+ return new ForIn(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, step);
1738
+ }
1739
+ }
1740
+ }
1741
+
1742
+ // src/mappers/mapIf.ts
1743
+ import { SourceType as SourceType6 } from "coffee-lex";
1744
+ function mapIf(context, node) {
1745
+ const { line, column, start, end, raw } = getLocation(context, node);
1746
+ const condition = mapAny(context, node.condition);
1747
+ let consequent = mapPossiblyEmptyBlock(context, node.body);
1748
+ const alternate = mapPossiblyEmptyBlock(context, node.elseBody);
1749
+ let isUnless = false;
1750
+ let left = null;
1751
+ let right = null;
1752
+ if (consequent && consequent.start < condition.start) {
1753
+ consequent = consequent.withInline(true);
1754
+ left = context.sourceTokens.indexOfTokenEndingAtSourceIndex(consequent.end);
1755
+ right = context.sourceTokens.indexOfTokenStartingAtSourceIndex(condition.start);
1756
+ } else {
1757
+ left = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
1758
+ right = context.sourceTokens.indexOfTokenStartingAtSourceIndex(condition.start);
1759
+ }
1760
+ if (left && right) {
1761
+ isUnless = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type === SourceType6.IF && context.source.slice(token.start, token.end) === "unless", left, right) !== null;
1762
+ }
1763
+ return new Conditional(line, column, start, end, raw, condition, consequent, alternate, isUnless);
1764
+ }
1765
+
1766
+ // src/mappers/mapIn.ts
1767
+ import { SourceType as SourceType7 } from "coffee-lex";
1768
+ function mapIn(context, node) {
1769
+ const { line, column, start, end, raw } = getLocation(context, node);
1770
+ const left = mapAny(context, node.object);
1771
+ const right = mapAny(context, node.array);
1772
+ let isNot = false;
1773
+ const lastTokenIndexOfLeft = context.sourceTokens.indexOfTokenEndingAtSourceIndex(left.end);
1774
+ const firstTokenIndexOfRight = context.sourceTokens.indexOfTokenStartingAtSourceIndex(right.start);
1775
+ const relationTokenIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type === SourceType7.RELATION, lastTokenIndexOfLeft, firstTokenIndexOfRight);
1776
+ if (relationTokenIndex) {
1777
+ const relationToken = context.sourceTokens.tokenAtIndex(relationTokenIndex);
1778
+ if (relationToken) {
1779
+ isNot = context.source.slice(relationToken.start, relationToken.end) !== "in";
1780
+ return new InOp(line, column, start, end, raw, left, right, isNot);
1781
+ }
1782
+ }
1783
+ throw new Error(`unable to find RELATION token between operands`);
1784
+ }
1785
+
1786
+ // src/mappers/mapLiteral.ts
1787
+ import {
1788
+ BooleanLiteral,
1789
+ IdentifierLiteral as IdentifierLiteral2,
1790
+ NullLiteral,
1791
+ NumberLiteral,
1792
+ PassthroughLiteral as PassthroughLiteral2,
1793
+ PropertyName,
1794
+ RegexLiteral,
1795
+ StatementLiteral,
1796
+ StringLiteral as StringLiteral2,
1797
+ ThisLiteral,
1798
+ UndefinedLiteral
1799
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1800
+
1801
+ // src/util/makeString.ts
1802
+ function makeString(context, node) {
1803
+ const { quasis, unmappedExpressions, start, end } = getTemplateLiteralComponents(context, node);
1804
+ const startLoc = context.linesAndColumns.locationForIndex(start);
1805
+ if (!startLoc) {
1806
+ throw new Error(`Expected to find a location for index ${start}.`);
1807
+ }
1808
+ const raw = context.source.slice(start, end);
1809
+ return new String(startLoc.line + 1, startLoc.column + 1, start, end, raw, quasis, unmappedExpressions.map((expr) => expr ? mapAny(context, expr) : null));
1810
+ }
1811
+
1812
+ // src/util/parseNumber.ts
1813
+ import { parse as parse2 } from "@codemod/parser";
1814
+ function parseNumber(string) {
1815
+ const expressionStatement = parse2(`(${string})`).program.body[0];
1816
+ const literal = expressionStatement.expression;
1817
+ return literal.value;
1818
+ }
1819
+
1820
+ // src/util/parseRegExp.ts
1821
+ import { parse as parse3 } from "@codemod/parser";
1822
+ function parseRegExp(string) {
1823
+ const expressionStatement = parse3(`(${string})`).program.body[0];
1824
+ const literal = expressionStatement.expression;
1825
+ return literal;
1826
+ }
1827
+
1828
+ // src/mappers/mapLiteral.ts
1829
+ var HEREGEX_PATTERN = /^\/\/\/((?:.|\s)*)\/\/\/([gimuy]*)$/;
1830
+ function mapLiteral(context, node) {
1831
+ const { line, column, start, end, raw } = getLocation(context, node);
1832
+ if (node instanceof ThisLiteral) {
1833
+ return new This(line, column, start, end, raw);
1834
+ } else if (node instanceof NullLiteral) {
1835
+ return new Null(line, column, start, end, raw);
1836
+ } else if (node instanceof UndefinedLiteral) {
1837
+ return new Undefined(line, column, start, end, raw);
1838
+ } else if (node instanceof BooleanLiteral) {
1839
+ return new Bool(line, column, start, end, raw, JSON.parse(node.value));
1840
+ } else if (node instanceof IdentifierLiteral2 || node instanceof PropertyName) {
1841
+ const value = node.value.valueOf();
1842
+ return new Identifier(line, column, start, end, raw, value);
1843
+ } else if (node instanceof PassthroughLiteral2) {
1844
+ return new JavaScript(line, column, start, end, raw, node.value);
1845
+ } else if (node instanceof NumberLiteral) {
1846
+ if (raw.includes(".")) {
1847
+ return new Float(line, column, start, end, raw, parseNumber(node.value));
1848
+ } else {
1849
+ return new Int(line, column, start, end, raw, parseNumber(node.value));
1850
+ }
1851
+ } else if (node instanceof RegexLiteral) {
1852
+ const heregexMatch = raw.match(HEREGEX_PATTERN);
1853
+ if (heregexMatch) {
1854
+ const flags = heregexMatch[2];
1855
+ return makeHeregex(context, node, flags);
1856
+ } else {
1857
+ const regExp = parseRegExp(node.value);
1858
+ return new Regex(line, column, start, end, raw, regExp.pattern, RegexFlags.parse(regExp.flags || ""));
1859
+ }
1860
+ } else if (node instanceof StringLiteral2) {
1861
+ return makeString(context, node);
1862
+ } else if (node instanceof StatementLiteral) {
1863
+ if (node.value === "break") {
1864
+ return new Break(line, column, start, end, raw);
1865
+ } else if (node.value === "continue") {
1866
+ return new Continue(line, column, start, end, raw);
1867
+ } else if (node.value === "debugger") {
1868
+ return new Debugger(line, column, start, end, raw);
1869
+ }
1870
+ }
1871
+ throw new Error(`Unexpected literal: ${JSON.stringify(node)}`);
1872
+ }
1873
+
1874
+ // src/mappers/mapModuleDeclaration.ts
1875
+ import {
1876
+ ExportAllDeclaration as CoffeeExportAllDeclaration,
1877
+ ExportDefaultDeclaration as CoffeeExportDefaultDeclaration,
1878
+ ExportNamedDeclaration as CoffeeExportNamedDeclaration,
1879
+ ExportSpecifierList,
1880
+ IdentifierLiteral as IdentifierLiteral3,
1881
+ ImportDeclaration as CoffeeImportDeclaration,
1882
+ ImportNamespaceSpecifier,
1883
+ ImportSpecifierList,
1884
+ Literal as Literal5
1885
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1886
+
1887
+ // src/util/notNull.ts
1888
+ function notNull(value) {
1889
+ if (typeof value === "undefined" || value === null) {
1890
+ throw new Error(`expected value not to be null/undefined: ${value}`);
1891
+ }
1892
+ return value;
1893
+ }
1894
+
1895
+ // src/mappers/mapModuleDeclaration.ts
1896
+ function mapModuleDeclaration(context, node) {
1897
+ const { line, column, start, end, raw } = getLocation(context, node);
1898
+ if (node instanceof CoffeeImportDeclaration) {
1899
+ const clause = node.clause;
1900
+ let defaultBinding = null;
1901
+ let namespaceImport = null;
1902
+ let namedImports = null;
1903
+ if (clause) {
1904
+ defaultBinding = clause.defaultBinding && mapIdentifierSpecifier(context, clause.defaultBinding);
1905
+ if (clause.namedImports instanceof ImportNamespaceSpecifier) {
1906
+ namespaceImport = mapStarSpecifier(context, clause.namedImports);
1907
+ } else if (clause.namedImports instanceof ImportSpecifierList) {
1908
+ namedImports = clause.namedImports.specifiers.map((specifier) => mapSpecifier(context, specifier));
1909
+ }
1910
+ }
1911
+ if (!node.source) {
1912
+ throw new Error("Expected non-null source for import.");
1913
+ }
1914
+ const source = mapSource(context, node.source);
1915
+ return new ImportDeclaration(line, column, start, end, raw, defaultBinding, namespaceImport, namedImports, source);
1916
+ } else if (node instanceof CoffeeExportNamedDeclaration) {
1917
+ if (node.clause instanceof ExportSpecifierList) {
1918
+ const namedExports = node.clause.specifiers.map((specifier) => mapSpecifier(context, specifier));
1919
+ const source = node.source ? mapSource(context, node.source) : null;
1920
+ return new ExportBindingsDeclaration(line, column, start, end, raw, namedExports, source);
1921
+ } else {
1922
+ const expression = mapAny(context, notNull(node.clause));
1923
+ return new ExportNamedDeclaration(line, column, start, end, raw, expression);
1924
+ }
1925
+ } else if (node instanceof CoffeeExportDefaultDeclaration) {
1926
+ const expression = mapAny(context, notNull(node.clause));
1927
+ return new ExportDefaultDeclaration(line, column, start, end, raw, expression);
1928
+ } else if (node instanceof CoffeeExportAllDeclaration) {
1929
+ if (!node.source) {
1930
+ throw new Error("Expected non-null source for star export.");
1931
+ }
1932
+ const source = mapSource(context, node.source);
1933
+ return new ExportAllDeclaration(line, column, start, end, raw, source);
1934
+ } else {
1935
+ throw new UnsupportedNodeError(node);
1936
+ }
1937
+ }
1938
+ function mapSource(context, coffeeSource) {
1939
+ const source = mapLiteral(context, coffeeSource);
1940
+ if (!(source instanceof String)) {
1941
+ throw new Error("Expected string literal as import source.");
1942
+ }
1943
+ return source;
1944
+ }
1945
+ function mapIdentifierSpecifier(context, specifier) {
1946
+ if (specifier.alias) {
1947
+ throw new Error("Expected no alias for identifier specifier.");
1948
+ }
1949
+ return mapLiteralToIdentifier(context, specifier.original);
1950
+ }
1951
+ function mapStarSpecifier(context, specifier) {
1952
+ if (specifier.original.value !== "*") {
1953
+ throw new Error("Expected a star on the LHS of a star specifier.");
1954
+ }
1955
+ if (!specifier.alias) {
1956
+ throw new Error("Expected node on the RHS of star specifier.");
1957
+ }
1958
+ return mapLiteralToIdentifier(context, specifier.alias);
1959
+ }
1960
+ function mapSpecifier(context, specifier) {
1961
+ const { line, column, start, end, raw } = getLocation(context, specifier);
1962
+ const original = mapLiteralToIdentifier(context, specifier.original);
1963
+ const alias = specifier.alias ? mapLiteralToIdentifier(context, specifier.alias) : null;
1964
+ return new ModuleSpecifier(line, column, start, end, raw, original, alias);
1965
+ }
1966
+ function mapLiteralToIdentifier(context, literal) {
1967
+ if (literal instanceof IdentifierLiteral3) {
1968
+ return mapLiteral(context, literal);
1969
+ } else if (literal.constructor === Literal5) {
1970
+ const { line, column, start, end, raw } = getLocation(context, literal);
1971
+ return new Identifier(line, column, start, end, raw, literal.value);
1972
+ } else {
1973
+ throw new Error("Expected identifier in module declaration.");
1974
+ }
1975
+ }
1976
+
1977
+ // src/mappers/mapObj.ts
1978
+ import {
1979
+ Assign as Assign2,
1980
+ ComputedPropertyName,
1981
+ Splat as Splat3,
1982
+ Value as Value7
1983
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1984
+
1985
+ // src/mappers/mapValue.ts
1986
+ import { SourceType as SourceType8 } from "coffee-lex";
1987
+ import {
1988
+ Access,
1989
+ Index,
1990
+ Literal as Literal6,
1991
+ Slice as CoffeeSlice
1992
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1993
+ import { inspect as inspect4 } from "util";
1994
+ function mapValue(context, node) {
1995
+ const location = getLocation(context, node);
1996
+ return node.properties.reduce((reduced, property) => reduceProperty(context, location, reduced, property), mapAny(context, node.base));
1997
+ }
1998
+ function reduceProperty(context, location, reduced, property) {
1999
+ if (property instanceof Access) {
2000
+ const name = property.name;
2001
+ if (!(name instanceof Literal6)) {
2002
+ throw new Error(`unexpected non-Literal property access name: ${inspect4(name)}`);
2003
+ }
2004
+ let startTokenIndex = tokenIndexAtLocation(context, property.locationData);
2005
+ let startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2006
+ if (startToken && property.soak) {
2007
+ if (startToken.type !== SourceType8.EXISTENCE) {
2008
+ throw new Error(`expected EXISTENCE token ('?') but got ${SourceType8[startToken.type]}: ${inspect4(startToken)}`);
2009
+ }
2010
+ startTokenIndex = startTokenIndex && startTokenIndex.next();
2011
+ startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2012
+ }
2013
+ if (!startToken) {
2014
+ throw new Error(`cannot find token at start of property: ${inspect4(property)}`);
2015
+ }
2016
+ const last = context.linesAndColumns.indexForLocation({
2017
+ line: property.locationData.last_line,
2018
+ column: property.locationData.last_column
2019
+ });
2020
+ if (last === null) {
2021
+ throw new Error(`cannot find offset of last character of property: ${inspect4(property)}`);
2022
+ }
2023
+ const isPrototypeAccess = startToken.type === SourceType8.PROTO;
2024
+ if (isPrototypeAccess) {
2025
+ const AccessOp2 = property.soak ? SoakedProtoMemberAccessOp : ProtoMemberAccessOp;
2026
+ return new AccessOp2(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced);
2027
+ } else {
2028
+ const member = mapAny(context, name);
2029
+ if (!(member instanceof Identifier)) {
2030
+ throw new Error(`unexpected non-Identifier access member: ${inspect4(member)}`);
2031
+ }
2032
+ const AccessOp2 = property.soak ? SoakedMemberAccessOp : MemberAccessOp;
2033
+ return new AccessOp2(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, member);
2034
+ }
2035
+ } else if (property instanceof Index) {
2036
+ const NodeClass = property.soak ? SoakedDynamicMemberAccessOp : DynamicMemberAccessOp;
2037
+ const last = context.linesAndColumns.indexForLocation({
2038
+ line: property.locationData.last_line,
2039
+ column: property.locationData.last_column
2040
+ });
2041
+ if (last === null) {
2042
+ throw new Error(`cannot find offset of last character of index: ${inspect4(property)}`);
2043
+ }
2044
+ return new NodeClass(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, mapAny(context, property.index));
2045
+ } else if (property instanceof CoffeeSlice) {
2046
+ const last = context.linesAndColumns.indexForLocation({
2047
+ line: property.locationData.last_line,
2048
+ column: property.locationData.last_column
2049
+ });
2050
+ if (last === null) {
2051
+ throw new Error(`cannot find offset of last character of slice: ${inspect4(property)}`);
2052
+ }
2053
+ const SliceClass = property.soak ? SoakedSlice : Slice;
2054
+ return new SliceClass(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, property.range.from ? mapAny(context, property.range.from) : null, property.range.to ? mapAny(context, property.range.to) : null, !property.range.exclusive);
2055
+ } else {
2056
+ throw new UnsupportedNodeError(property, "Unexpected property access.");
2057
+ }
2058
+ }
2059
+ function tokenIndexAtLocation(context, location) {
2060
+ const start = context.linesAndColumns.indexForLocation({
2061
+ line: location.first_line,
2062
+ column: location.first_column
2063
+ });
2064
+ if (start === null) {
2065
+ return null;
2066
+ }
2067
+ return context.sourceTokens.indexOfTokenContainingSourceIndex(start);
2068
+ }
2069
+
2070
+ // src/mappers/mapObj.ts
2071
+ function mapObj(context, node) {
2072
+ const { line, column, start, end, raw } = getLocation(context, node);
2073
+ const members = [];
2074
+ for (const property of node.properties) {
2075
+ if (isCommentOnlyNode(property)) {
2076
+ continue;
2077
+ }
2078
+ const { line: line2, column: column2, start: start2, end: end2, raw: raw2 } = getLocation(context, property);
2079
+ if (property instanceof Value7) {
2080
+ const value = mapValue(context, property);
2081
+ const isComputed = property.base instanceof ComputedPropertyName;
2082
+ members.push(new ObjectInitialiserMember(line2, column2, start2, end2, raw2, value, null, isComputed));
2083
+ } else if (property instanceof Assign2 && property.context === "object") {
2084
+ const key = mapAny(context, property.variable);
2085
+ const expression = mapAny(context, property.value);
2086
+ const isComputed = property.variable instanceof Value7 && property.variable.base instanceof ComputedPropertyName;
2087
+ members.push(new ObjectInitialiserMember(line2, column2, start2, end2, raw2, key, expression, isComputed));
2088
+ } else if (property instanceof Assign2) {
2089
+ const assignee = mapAny(context, property.variable);
2090
+ const expression = mapAny(context, property.value);
2091
+ members.push(new AssignOp(line2, column2, start2, end2, raw2, assignee, expression));
2092
+ } else if (property instanceof Splat3) {
2093
+ members.push(new Spread(line2, column2, start2, end2, raw2, mapAny(context, property.name)));
2094
+ } else {
2095
+ throw new UnsupportedNodeError(property, "Unexpected object member.");
2096
+ }
2097
+ }
2098
+ return new ObjectInitialiser(line, column, start, end, raw, members);
2099
+ }
2100
+
2101
+ // src/mappers/mapOp.ts
2102
+ import { SourceType as SourceType10 } from "coffee-lex";
2103
+ import {
2104
+ Literal as Literal7,
2105
+ Value as Value8
2106
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2107
+ import { inspect as inspect6 } from "util";
2108
+
2109
+ // src/util/getOperatorInfoInRange.ts
2110
+ import { SourceType as SourceType9 } from "coffee-lex";
2111
+ function getOperatorInfoInRange(context, start, end) {
2112
+ const startIndex = context.sourceTokens.indexOfTokenNearSourceIndex(start);
2113
+ const endIndex = context.sourceTokens.indexOfTokenNearSourceIndex(end);
2114
+ if (!startIndex || !endIndex) {
2115
+ throw new Error(`cannot find token indexes of range bounds: [${start}, ${end}]`);
2116
+ }
2117
+ const operatorIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type !== SourceType9.LPAREN && token.type !== SourceType9.RPAREN, startIndex.next(), endIndex);
2118
+ const operatorToken = operatorIndex && context.sourceTokens.tokenAtIndex(operatorIndex);
2119
+ if (!operatorToken) {
2120
+ throw new Error(`cannot find operator token in range: [${start}, ${end}]`);
2121
+ }
2122
+ return new OperatorInfo(context.source.slice(operatorToken.start, operatorToken.end), operatorToken);
2123
+ }
2124
+
2125
+ // src/util/isChainedComparison.ts
2126
+ import { Op as Op4 } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2127
+
2128
+ // src/util/isComparisonOperator.ts
2129
+ import { Op as Op3 } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2130
+ function isComparisonOperator(node) {
2131
+ if (!(node instanceof Op3)) {
2132
+ return false;
2133
+ }
2134
+ switch (node.operator) {
2135
+ case "<":
2136
+ case ">":
2137
+ case "<=":
2138
+ case ">=":
2139
+ case "===":
2140
+ case "!==":
2141
+ return true;
2142
+ default:
2143
+ return false;
2144
+ }
2145
+ }
2146
+
2147
+ // src/util/isChainedComparison.ts
2148
+ function isChainedComparison(node) {
2149
+ if (node instanceof Op4 && isComparisonOperator(node)) {
2150
+ return isComparisonOperator(node.first) || (node.second ? isComparisonOperator(node.second) : false);
2151
+ } else {
2152
+ return false;
2153
+ }
2154
+ }
2155
+
2156
+ // src/util/unwindChainedComparison.ts
2157
+ import { Op as Op5 } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2158
+ import { inspect as inspect5 } from "util";
2159
+ function unwindChainedComparison(node) {
2160
+ let operands = [];
2161
+ for (let link = node; ; ) {
2162
+ if (link instanceof Op5 && isComparisonOperator(link)) {
2163
+ const { first, second } = link;
2164
+ if (!second) {
2165
+ throw new Error(`unexpected unary operator inside chained comparison: ${inspect5(node)}`);
2166
+ }
2167
+ operands = [second, ...operands];
2168
+ link = first;
2169
+ } else {
2170
+ operands = [link, ...operands];
2171
+ break;
2172
+ }
2173
+ }
2174
+ return operands;
2175
+ }
2176
+
2177
+ // src/mappers/mapOp.ts
2178
+ function mapOp(context, node) {
2179
+ if (isChainedComparison(node)) {
2180
+ return mapChainedComparisonOp(context, node);
2181
+ } else {
2182
+ return mapOpWithoutChainedComparison(context, node);
2183
+ }
2184
+ }
2185
+ function mapChainedComparisonOp(context, node) {
2186
+ const { line, column, start, end, raw } = getLocation(context, node);
2187
+ const coffeeOperands = unwindChainedComparison(node);
2188
+ const operands = coffeeOperands.map((operand) => mapAny(context, operand));
2189
+ const operators = [];
2190
+ for (let i = 0; i < operands.length - 1; i++) {
2191
+ const left = operands[i];
2192
+ const right = operands[i + 1];
2193
+ operators.push(getOperatorInfoInRange(context, left.end - 1, right.start));
2194
+ }
2195
+ return new ChainedComparisonOp(line, column, start, end, raw, operands, operators);
2196
+ }
2197
+ function mapOpWithoutChainedComparison(context, node) {
2198
+ switch (node.operator) {
2199
+ case "===":
2200
+ return mapBinaryOp(context, node, EQOp);
2201
+ case "!==":
2202
+ return mapBinaryOp(context, node, NEQOp);
2203
+ case "!":
2204
+ return mapUnaryOp(context, node, LogicalNotOp);
2205
+ case "+":
2206
+ return mapPlusOp(context, node);
2207
+ case "-":
2208
+ return mapBinaryOrUnaryOp(context, node, SubtractOp, UnaryNegateOp);
2209
+ case "&&":
2210
+ return mapBinaryOp(context, node, LogicalAndOp);
2211
+ case "||":
2212
+ return mapBinaryOp(context, node, LogicalOrOp);
2213
+ case "*":
2214
+ return mapBinaryOp(context, node, MultiplyOp);
2215
+ case "/":
2216
+ return mapBinaryOp(context, node, DivideOp);
2217
+ case "//":
2218
+ return mapBinaryOp(context, node, FloorDivideOp);
2219
+ case "?":
2220
+ return mapBinaryOp(context, node, ExistsOp);
2221
+ case "<":
2222
+ return mapBinaryOp(context, node, LTOp);
2223
+ case "<=":
2224
+ return mapBinaryOp(context, node, LTEOp);
2225
+ case ">":
2226
+ return mapBinaryOp(context, node, GTOp);
2227
+ case ">=":
2228
+ return mapBinaryOp(context, node, GTEOp);
2229
+ case "++":
2230
+ return mapUnaryOp(context, node, node.flip ? PostIncrementOp : PreIncrementOp);
2231
+ case "--":
2232
+ return mapUnaryOp(context, node, node.flip ? PostDecrementOp : PreDecrementOp);
2233
+ case "typeof":
2234
+ return mapUnaryOp(context, node, TypeofOp);
2235
+ case "instanceof":
2236
+ return mapNegateableBinaryOp(context, node, InstanceofOp);
2237
+ case "delete":
2238
+ return mapUnaryOp(context, node, DeleteOp);
2239
+ case "in":
2240
+ return mapNegateableBinaryOp(context, node, OfOp);
2241
+ case "new":
2242
+ return mapNewOp2(context, node);
2243
+ case "**":
2244
+ return mapBinaryOp(context, node, ExpOp);
2245
+ case "%":
2246
+ return mapBinaryOp(context, node, RemOp);
2247
+ case "%%":
2248
+ return mapBinaryOp(context, node, ModuloOp);
2249
+ case "&":
2250
+ return mapBinaryOp(context, node, BitAndOp);
2251
+ case "|":
2252
+ return mapBinaryOp(context, node, BitOrOp);
2253
+ case "^":
2254
+ return mapBinaryOp(context, node, BitXorOp);
2255
+ case "<<":
2256
+ return mapBinaryOp(context, node, LeftShiftOp);
2257
+ case ">>":
2258
+ return mapBinaryOp(context, node, SignedRightShiftOp);
2259
+ case ">>>":
2260
+ return mapBinaryOp(context, node, UnsignedRightShiftOp);
2261
+ case "~":
2262
+ return mapUnaryOp(context, node, BitNotOp);
2263
+ case "yield":
2264
+ return mapYieldOp(context, node);
2265
+ case "yield*":
2266
+ return mapUnaryOp(context, node, YieldFrom);
2267
+ case "await":
2268
+ return mapUnaryOp(context, node, Await);
2269
+ }
2270
+ throw new UnsupportedNodeError(node);
2271
+ }
2272
+ function mapPlusOp(context, node) {
2273
+ if (node.second) {
2274
+ if (isImplicitPlusOp(node, context)) {
2275
+ return makeString(context, node);
2276
+ } else {
2277
+ return mapBinaryOp(context, node, PlusOp);
2278
+ }
2279
+ }
2280
+ return mapUnaryOp(context, node, UnaryPlusOp);
2281
+ }
2282
+ function mapNewOp2(context, node) {
2283
+ if (node.second) {
2284
+ throw new Error(`unexpected 'new' operator with multiple operands: ${inspect6(node)}`);
2285
+ }
2286
+ const { line, column, start, end, raw } = getLocation(context, node);
2287
+ return new NewOp(line, column, start, end, raw, mapAny(context, node.first), []);
2288
+ }
2289
+ function mapYieldOp(context, node) {
2290
+ const { line, column, start, end, raw } = getLocation(context, node);
2291
+ if (isBareYield(node)) {
2292
+ return new Yield(line, column, start, end, raw, null);
2293
+ } else {
2294
+ return new Yield(line, column, start, end, raw, mapAny(context, node.first));
2295
+ }
2296
+ }
2297
+ function isBareYield(node) {
2298
+ return node.first instanceof Value8 && node.first.base instanceof Literal7 && node.first.base.value === "";
2299
+ }
2300
+ function mapBinaryOp(context, node, Op10) {
2301
+ const { line, column, start, end, raw } = getLocation(context, node);
2302
+ if (!node.second) {
2303
+ throw new Error(`unexpected '${node.operator}' operator with only one operand: ${inspect6(node)}`);
2304
+ }
2305
+ return new Op10(line, column, start, end, raw, mapAny(context, node.first), mapAny(context, node.second));
2306
+ }
2307
+ function mapUnaryOp(context, node, Op10) {
2308
+ const { line, column, start, end, raw } = getLocation(context, node);
2309
+ if (node.second) {
2310
+ throw new Error(`unexpected '${node.operator}' operator with two operands: ${inspect6(node)}`);
2311
+ }
2312
+ return new Op10(line, column, start, end, raw, mapAny(context, node.first));
2313
+ }
2314
+ function mapBinaryOrUnaryOp(context, node, BinaryOp2, UnaryOp3) {
2315
+ if (node.second) {
2316
+ return mapBinaryOp(context, node, BinaryOp2);
2317
+ } else {
2318
+ return mapUnaryOp(context, node, UnaryOp3);
2319
+ }
2320
+ }
2321
+ var TemporaryBinaryOp = class extends BinaryOp {
2322
+ constructor(line, column, start, end, raw, left, right) {
2323
+ super("TEMPORARY", line, column, start, end, raw, left, right);
2324
+ }
2325
+ };
2326
+ function tokenStartsWith(prefix, context, token) {
2327
+ return context.source.slice(token.start, token.start + prefix.length) === prefix;
2328
+ }
2329
+ function mapNegateableBinaryOp(context, node, Op10) {
2330
+ const { line, column, start, end, raw, left, right } = mapBinaryOp(context, node, TemporaryBinaryOp);
2331
+ const lastTokenIndexOfLeft = context.sourceTokens.indexOfTokenEndingAtSourceIndex(left.end);
2332
+ const firstTokenIndexOfRight = context.sourceTokens.indexOfTokenStartingAtSourceIndex(right.start);
2333
+ let isNot = false;
2334
+ if (lastTokenIndexOfLeft) {
2335
+ for (let i = lastTokenIndexOfLeft.next(); i && i !== firstTokenIndexOfRight; i = i.next()) {
2336
+ const token = context.sourceTokens.tokenAtIndex(i);
2337
+ if (token && (token.type === SourceType10.OPERATOR || token.type === SourceType10.RELATION)) {
2338
+ isNot = tokenStartsWith("not", context, token) || tokenStartsWith("!", context, token);
2339
+ break;
2340
+ }
2341
+ }
2342
+ }
2343
+ return new Op10(line, column, start, end, raw, left, right, isNot);
2344
+ }
2345
+
2346
+ // src/mappers/mapParam.ts
2347
+ function mapParam(context, node) {
2348
+ const { line, column, start, end, raw } = getLocation(context, node);
2349
+ const param = mapAny(context, node.name);
2350
+ if (node.value) {
2351
+ const value = mapAny(context, node.value);
2352
+ return new DefaultParam(line, column, start, end, raw, param, value);
2353
+ }
2354
+ if (node.splat) {
2355
+ return new Rest(line, column, start, end, raw, param);
2356
+ }
2357
+ return param;
2358
+ }
2359
+
2360
+ // src/mappers/mapParens.ts
2361
+ import {
2362
+ Block as Block2
2363
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2364
+ function mapParens(context, node) {
2365
+ if (!(node.body instanceof Block2)) {
2366
+ return mapAny(context, node.body);
2367
+ }
2368
+ let { expressions } = node.body;
2369
+ expressions = expressions.filter((expr) => !isCommentOnlyNode(expr));
2370
+ if (expressions.length === 1) {
2371
+ return mapAny(context, expressions[0]);
2372
+ }
2373
+ return expressions.map((expression) => mapAny(context, expression)).reduceRight((right, left) => new SeqOp(left.line, left.column, left.start, right.end, context.source.slice(left.start, right.end), left, right));
2374
+ }
2375
+
2376
+ // src/mappers/mapRange.ts
2377
+ import { inspect as inspect7 } from "util";
2378
+ function mapRange(context, node) {
2379
+ const { line, column, start, end, raw } = getLocation(context, node);
2380
+ if (!node.from || !node.to) {
2381
+ throw new Error(`'from' or 'to' unexpectedly missing: ${inspect7(node)}`);
2382
+ }
2383
+ return new Range(line, column, start, end, raw, mapAny(context, node.from), mapAny(context, node.to), !node.exclusive);
2384
+ }
2385
+
2386
+ // src/mappers/mapReturn.ts
2387
+ import {
2388
+ AwaitReturn as CoffeeAwaitReturn,
2389
+ YieldReturn as CoffeeYieldReturn
2390
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2391
+ function mapReturn(context, node) {
2392
+ const { line, column, start, end, raw } = getLocation(context, node);
2393
+ const argument = node.expression ? mapAny(context, node.expression) : null;
2394
+ if (node instanceof CoffeeYieldReturn) {
2395
+ return new YieldReturn(line, column, start, end, raw, argument);
2396
+ } else if (node instanceof CoffeeAwaitReturn) {
2397
+ return new AwaitReturn(line, column, start, end, raw, argument);
2398
+ } else {
2399
+ return new Return(line, column, start, end, raw, argument);
2400
+ }
2401
+ }
2402
+
2403
+ // src/mappers/mapSplat.ts
2404
+ function mapSplat(context, node) {
2405
+ const { line, column, start, end, raw } = getLocation(context, node);
2406
+ return new Spread(line, column, start, end, raw, mapAny(context, node.name));
2407
+ }
2408
+
2409
+ // src/mappers/mapSuper.ts
2410
+ import { SourceType as SourceType11 } from "coffee-lex";
2411
+ function mapSuper(context, node) {
2412
+ const location = getLocation(context, node);
2413
+ const { line, column, start } = location;
2414
+ const superTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
2415
+ if (!superTokenIndex) {
2416
+ throw new Error("Expected token at the start of super node.");
2417
+ }
2418
+ const superToken = context.sourceTokens.tokenAtIndex(superTokenIndex);
2419
+ if (!superToken || superToken.type !== SourceType11.SUPER) {
2420
+ throw new Error("Expected super token at the start of super node.");
2421
+ }
2422
+ const superNode = new Super(line, column, start, superToken.end, context.source.slice(superToken.start, superToken.end));
2423
+ return reduceProperty(context, location, superNode, node.accessor);
2424
+ }
2425
+
2426
+ // src/mappers/mapSwitch.ts
2427
+ import { SourceType as SourceType12 } from "coffee-lex";
2428
+ function mapSwitch(context, node) {
2429
+ const { line, column, start, end, raw } = getLocation(context, node);
2430
+ const expression = node.subject ? mapAny(context, node.subject) : null;
2431
+ const cases = node.cases.map(([conditions, body]) => {
2432
+ if (!Array.isArray(conditions)) {
2433
+ conditions = [conditions];
2434
+ }
2435
+ const switchConditions = conditions.map((condition) => mapAny(context, condition));
2436
+ const consequent = mapPossiblyEmptyBlock(context, body);
2437
+ const whenToken = getWhenTokenBeforeOffset(context, switchConditions[0].start, start);
2438
+ const locationForIndex = context.linesAndColumns.locationForIndex(whenToken.start);
2439
+ if (!locationForIndex) {
2440
+ throw new Error(`cannot map WHEN token start to line/column: ${whenToken.start}`);
2441
+ }
2442
+ const { line: caseLine, column: caseColumn } = locationForIndex;
2443
+ const { end: end2 } = getLocation(context, body);
2444
+ return new SwitchCase(caseLine + 1, caseColumn + 1, whenToken.start, end2, context.source.slice(whenToken.start, end2), switchConditions, consequent);
2445
+ });
2446
+ return new Switch(line, column, start, end, raw, expression, cases, mapPossiblyEmptyBlock(context, node.otherwise));
2447
+ }
2448
+ function getWhenTokenBeforeOffset(context, offset, lowerBound) {
2449
+ const offsetTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(offset);
2450
+ const lowerBoundTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(lowerBound);
2451
+ const whenTokenIndex = context.sourceTokens.lastIndexOfTokenMatchingPredicate((token) => token.type === SourceType12.WHEN, offsetTokenIndex, lowerBoundTokenIndex);
2452
+ if (whenTokenIndex) {
2453
+ const whenToken = context.sourceTokens.tokenAtIndex(whenTokenIndex);
2454
+ if (whenToken) {
2455
+ return whenToken;
2456
+ }
2457
+ }
2458
+ throw new Error(`unable to find WHEN token before ${offset} (lower bound: ${lowerBound})`);
2459
+ }
2460
+
2461
+ // src/mappers/mapTaggedTemplateCall.ts
2462
+ function mapTaggedTemplateCall(context, node) {
2463
+ const { line, column, start, end, raw } = getLocation(context, node);
2464
+ if (!node.variable) {
2465
+ throw new Error("Expected tag in tagged template literal.");
2466
+ }
2467
+ const tag = mapAny(context, node.variable);
2468
+ if (node.args.length !== 1) {
2469
+ throw new Error("Expected tagged template literal call to have exactly one argument.");
2470
+ }
2471
+ const template = mapAny(context, node.args[0]);
2472
+ if (!(template instanceof String)) {
2473
+ throw new Error("Expected tagged template literal argument to be a string.");
2474
+ }
2475
+ return new TaggedTemplateLiteral(line, column, start, end, raw, tag, template);
2476
+ }
2477
+
2478
+ // src/mappers/mapThrow.ts
2479
+ function mapThrow(context, node) {
2480
+ const { line, column, start, end, raw } = getLocation(context, node);
2481
+ const expression = node.expression ? mapAny(context, node.expression) : null;
2482
+ return new Throw(line, column, start, end, raw, expression);
2483
+ }
2484
+
2485
+ // src/mappers/mapTry.ts
2486
+ function mapTry(context, node) {
2487
+ const { line, column, start, end, raw } = getLocation(context, node);
2488
+ return new Try(line, column, start, end, raw, mapPossiblyEmptyBlock(context, node.attempt), node.errorVariable ? mapAny(context, node.errorVariable) : null, mapPossiblyEmptyBlock(context, node.recovery), mapPossiblyEmptyBlock(context, node.ensure));
2489
+ }
2490
+
2491
+ // src/mappers/mapWhile.ts
2492
+ import { SourceType as SourceType13 } from "coffee-lex";
2493
+ function mapWhile(context, node) {
2494
+ const { line, column, start, end, raw } = getLocation(context, node);
2495
+ const startTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
2496
+ const startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2497
+ if (startToken && startToken.type === SourceType13.LOOP) {
2498
+ return new Loop(line, column, start, end, raw, mapPossiblyEmptyBlock(context, node.body));
2499
+ }
2500
+ const condition = mapAny(context, node.condition);
2501
+ const guard = node.guard ? mapAny(context, node.guard) : null;
2502
+ let body = mapPossiblyEmptyBlock(context, node.body);
2503
+ if (body instanceof Block && body.start < condition.start) {
2504
+ body = body.withInline(true);
2505
+ }
2506
+ return new While(line, column, start, end, raw, condition, guard, body, node.condition.inverted === true);
2507
+ }
2508
+
2509
+ // src/mappers/mapAny.ts
2510
+ function mapAny(context, node) {
2511
+ if (node instanceof Value9) {
2512
+ return mapValue(context, node);
2513
+ }
2514
+ if (node instanceof ComputedPropertyName2) {
2515
+ return mapComputedPropertyName(context, node);
2516
+ }
2517
+ if (node instanceof Literal8) {
2518
+ return mapLiteral(context, node);
2519
+ }
2520
+ if (node instanceof Op7) {
2521
+ return mapOp(context, node);
2522
+ }
2523
+ if (node instanceof TaggedTemplateCall) {
2524
+ return mapTaggedTemplateCall(context, node);
2525
+ }
2526
+ if (node instanceof Call4) {
2527
+ return mapCall(context, node);
2528
+ }
2529
+ if (node instanceof Super2) {
2530
+ return mapSuper(context, node);
2531
+ }
2532
+ if (node instanceof Arr2) {
2533
+ return mapArr(context, node);
2534
+ }
2535
+ if (node instanceof Assign3) {
2536
+ return mapAssign(context, node);
2537
+ }
2538
+ if (node instanceof Param) {
2539
+ return mapParam(context, node);
2540
+ }
2541
+ if (node instanceof Return2) {
2542
+ return mapReturn(context, node);
2543
+ }
2544
+ if (node instanceof If) {
2545
+ return mapIf(context, node);
2546
+ }
2547
+ if (node instanceof Obj3) {
2548
+ return mapObj(context, node);
2549
+ }
2550
+ if (node instanceof Parens2 || node instanceof StringWithInterpolations4) {
2551
+ return mapParens(context, node);
2552
+ }
2553
+ if (node instanceof For3) {
2554
+ return mapFor(context, node);
2555
+ }
2556
+ if (node instanceof Throw2) {
2557
+ return mapThrow(context, node);
2558
+ }
2559
+ if (node instanceof Block3) {
2560
+ return mapBlock(context, node);
2561
+ }
2562
+ if (node instanceof Code) {
2563
+ return mapCode(context, node);
2564
+ }
2565
+ if (node instanceof While2 && !(node instanceof For3)) {
2566
+ return mapWhile(context, node);
2567
+ }
2568
+ if (node instanceof Try2) {
2569
+ return mapTry(context, node);
2570
+ }
2571
+ if (node instanceof Existence) {
2572
+ return mapExistence(context, node);
2573
+ }
2574
+ if (node instanceof Class2) {
2575
+ return mapClass(context, node);
2576
+ }
2577
+ if (node instanceof Splat4) {
2578
+ return mapSplat(context, node);
2579
+ }
2580
+ if (node instanceof Expansion2) {
2581
+ return mapExpansion(context, node);
2582
+ }
2583
+ if (node instanceof Elision2) {
2584
+ return mapElision(context, node);
2585
+ }
2586
+ if (node instanceof Switch2) {
2587
+ return mapSwitch(context, node);
2588
+ }
2589
+ if (node instanceof In) {
2590
+ return mapIn(context, node);
2591
+ }
2592
+ if (node instanceof Range2) {
2593
+ return mapRange(context, node);
2594
+ }
2595
+ if (node instanceof Extends) {
2596
+ return mapExtends(context, node);
2597
+ }
2598
+ if (node instanceof ModuleDeclaration2) {
2599
+ return mapModuleDeclaration(context, node);
2600
+ }
2601
+ throw new UnsupportedNodeError(node);
2602
+ }
2603
+
2604
+ // src/mappers/mapBlock.ts
2605
+ function mapBlock(context, node) {
2606
+ let childContext = context;
2607
+ if (context.parseState.isInClassBody()) {
2608
+ const hasProtoAssignChild = node.expressions.some((child) => child instanceof Value10 && child.isObject(true));
2609
+ if (hasProtoAssignChild) {
2610
+ childContext = childContext.updateState((s) => s.dropCurrentClass());
2611
+ }
2612
+ }
2613
+ const { line, column, start, end, raw } = getLocation(context, node);
2614
+ const previousTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(start).previous();
2615
+ const previousToken = previousTokenIndex ? context.sourceTokens.tokenAtIndex(previousTokenIndex) : null;
2616
+ const inline = previousToken ? previousToken.type !== SourceType14.NEWLINE : false;
2617
+ return new Block(line, column, start, end, raw, node.expressions.filter((expression) => !isCommentOnlyNode(expression)).map((expression) => mapChild(context, childContext, expression)).reduce((arr, current) => arr.concat(current), []), inline);
2618
+ }
2619
+ function mapChild(blockContext, childContext, node) {
2620
+ if (blockContext.parseState.isInClassBody() && node instanceof Value10 && node.isObject(true)) {
2621
+ const obj = node.base;
2622
+ if (!(obj instanceof Obj4)) {
2623
+ throw new Error("Expected isObject node to be an object.");
2624
+ }
2625
+ const statements = [];
2626
+ for (const property of obj.properties) {
2627
+ if (isCommentOnlyNode(property)) {
2628
+ continue;
2629
+ }
2630
+ if (property instanceof Assign4) {
2631
+ const { line, column, start, end, raw } = getLocation(childContext, property);
2632
+ const key = mapAny(childContext, property.variable);
2633
+ const value = mapAny(childContext, property.value);
2634
+ let Node12 = ClassProtoAssignOp;
2635
+ if (key instanceof Identifier && key.data === "constructor") {
2636
+ Node12 = Constructor;
2637
+ } else if (key instanceof MemberAccessOp && key.expression instanceof This) {
2638
+ Node12 = AssignOp;
2639
+ }
2640
+ const assignment = new Node12(line, column, start, end, raw, key, value);
2641
+ statements.push(assignment);
2642
+ if (assignment instanceof ClassProtoAssignOp && (assignment.expression instanceof BoundFunction || assignment.expression instanceof BoundGeneratorFunction || assignment.expression instanceof BoundAsyncFunction)) {
2643
+ blockContext.parseState.recordBoundMethod(assignment);
2644
+ }
2645
+ if (assignment instanceof Constructor) {
2646
+ blockContext.parseState.recordConstructor(assignment);
2647
+ }
2648
+ } else {
2649
+ throw new Error(`unexpected class assignment: ${inspect8(property)}`);
2650
+ }
2651
+ }
2652
+ return statements;
2653
+ }
2654
+ return [mapAny(childContext, node)];
2655
+ }
2656
+
2657
+ // src/mappers/mapPossiblyEmptyBlock.ts
2658
+ function mapPossiblyEmptyBlock(context, node) {
2659
+ if (!node) {
2660
+ return null;
2661
+ }
2662
+ if (node.expressions.every((expression) => isCommentOnlyNode(expression))) {
2663
+ return null;
2664
+ }
2665
+ const lastSourceIndex = context.linesAndColumns.indexForLocation({
2666
+ line: node.locationData.last_line,
2667
+ column: node.locationData.last_column
2668
+ });
2669
+ if (lastSourceIndex === null) {
2670
+ throw new Error("Expected to find last source index of block.");
2671
+ }
2672
+ if (context.source[lastSourceIndex] === ";") {
2673
+ return mapBlock(context, node);
2674
+ }
2675
+ if (node.expressions.length === 0) {
2676
+ return null;
2677
+ }
2678
+ return mapBlock(context, node);
2679
+ }
2680
+
2681
+ // src/mappers/mapProgram.ts
2682
+ function mapProgram(context) {
2683
+ return new Program(1, 1, 0, context.source.length, context.source, mapPossiblyEmptyBlock(context, context.ast), context);
2684
+ }
2685
+
2686
+ // src/parseCS1AsCS2.ts
2687
+ import { nodes } from "decaffeinate-coffeescript";
2688
+ import {
2689
+ Access as CS1Access,
2690
+ Arr as CS1Arr,
2691
+ Assign as CS1Assign,
2692
+ Base as CS1Base2,
2693
+ Block as CS1Block,
2694
+ BooleanLiteral as CS1BooleanLiteral,
2695
+ Call as CS1Call,
2696
+ Class as CS1Class,
2697
+ Code as CS1Code,
2698
+ Comment as CS1Comment,
2699
+ Existence as CS1Existence,
2700
+ Expansion as CS1Expansion,
2701
+ ExportAllDeclaration as CS1ExportAllDeclaration,
2702
+ ExportDeclaration as CS1ExportDeclaration,
2703
+ ExportDefaultDeclaration as CS1ExportDefaultDeclaration,
2704
+ ExportNamedDeclaration as CS1ExportNamedDeclaration,
2705
+ ExportSpecifier as CS1ExportSpecifier,
2706
+ ExportSpecifierList as CS1ExportSpecifierList,
2707
+ Extends as CS1Extends,
2708
+ For as CS1For,
2709
+ IdentifierLiteral as CS1IdentifierLiteral,
2710
+ If as CS1If,
2711
+ ImportClause as CS1ImportClause,
2712
+ ImportDeclaration as CS1ImportDeclaration,
2713
+ ImportDefaultSpecifier as CS1ImportDefaultSpecifier,
2714
+ ImportNamespaceSpecifier as CS1ImportNamespaceSpecifier,
2715
+ ImportSpecifier as CS1ImportSpecifier,
2716
+ ImportSpecifierList as CS1ImportSpecifierList,
2717
+ In as CS1In,
2718
+ Index as CS1Index,
2719
+ InfinityLiteral as CS1InfinityLiteral,
2720
+ Literal as CS1Literal,
2721
+ ModuleDeclaration as CS1ModuleDeclaration,
2722
+ ModuleSpecifier as CS1ModuleSpecifier,
2723
+ ModuleSpecifierList as CS1ModuleSpecifierList,
2724
+ NaNLiteral as CS1NaNLiteral,
2725
+ NullLiteral as CS1NullLiteral,
2726
+ NumberLiteral as CS1NumberLiteral,
2727
+ Obj as CS1Obj,
2728
+ Op as CS1Op2,
2729
+ Param as CS1Param,
2730
+ Parens as CS1Parens,
2731
+ PassthroughLiteral as CS1PassthroughLiteral,
2732
+ PropertyName as CS1PropertyName,
2733
+ Range as CS1Range,
2734
+ RegexLiteral as CS1RegexLiteral,
2735
+ RegexWithInterpolations as CS1RegexWithInterpolations,
2736
+ Return as CS1Return,
2737
+ Slice as CS1Slice,
2738
+ Splat as CS1Splat,
2739
+ StatementLiteral as CS1StatementLiteral,
2740
+ StringLiteral as CS1StringLiteral,
2741
+ StringWithInterpolations as CS1StringWithInterpolations,
2742
+ SuperCall as CS1SuperCall,
2743
+ Switch as CS1Switch,
2744
+ TaggedTemplateCall as CS1TaggedTemplateCall,
2745
+ ThisLiteral as CS1ThisLiteral,
2746
+ Throw as CS1Throw,
2747
+ Try as CS1Try,
2748
+ UndefinedLiteral as CS1UndefinedLiteral,
2749
+ Value as CS1Value,
2750
+ While as CS1While,
2751
+ YieldReturn as CS1YieldReturn
2752
+ } from "decaffeinate-coffeescript/lib/coffee-script/nodes.js";
2753
+ import {
2754
+ Access as Access2,
2755
+ Arr as Arr3,
2756
+ Assign as Assign5,
2757
+ Base as Base11,
2758
+ Block as Block4,
2759
+ BooleanLiteral as BooleanLiteral2,
2760
+ Call as Call5,
2761
+ Class as Class3,
2762
+ Code as Code2,
2763
+ Existence as Existence2,
2764
+ Expansion as Expansion3,
2765
+ ExportAllDeclaration as ExportAllDeclaration2,
2766
+ ExportDeclaration,
2767
+ ExportDefaultDeclaration as ExportDefaultDeclaration2,
2768
+ ExportNamedDeclaration as ExportNamedDeclaration2,
2769
+ ExportSpecifier,
2770
+ ExportSpecifierList as ExportSpecifierList2,
2771
+ Extends as Extends2,
2772
+ For as For4,
2773
+ IdentifierLiteral as IdentifierLiteral4,
2774
+ If as If2,
2775
+ ImportClause,
2776
+ ImportDeclaration as ImportDeclaration2,
2777
+ ImportDefaultSpecifier,
2778
+ ImportNamespaceSpecifier as ImportNamespaceSpecifier2,
2779
+ ImportSpecifier,
2780
+ ImportSpecifierList as ImportSpecifierList2,
2781
+ In as In2,
2782
+ Index as Index2,
2783
+ InfinityLiteral,
2784
+ Literal as Literal9,
2785
+ ModuleDeclaration as ModuleDeclaration3,
2786
+ ModuleSpecifier as ModuleSpecifier2,
2787
+ ModuleSpecifierList,
2788
+ NaNLiteral,
2789
+ NullLiteral as NullLiteral2,
2790
+ NumberLiteral as NumberLiteral2,
2791
+ Obj as Obj5,
2792
+ Op as Op8,
2793
+ Param as Param2,
2794
+ Parens as Parens3,
2795
+ PassthroughLiteral as PassthroughLiteral3,
2796
+ PropertyName as PropertyName2,
2797
+ Range as Range3,
2798
+ RegexLiteral as RegexLiteral2,
2799
+ RegexWithInterpolations,
2800
+ Return as Return3,
2801
+ Slice as Slice2,
2802
+ Splat as Splat5,
2803
+ StatementLiteral as StatementLiteral2,
2804
+ StringLiteral as StringLiteral4,
2805
+ StringWithInterpolations as StringWithInterpolations5,
2806
+ SuperCall as SuperCall2,
2807
+ Switch as Switch3,
2808
+ TaggedTemplateCall as TaggedTemplateCall2,
2809
+ ThisLiteral as ThisLiteral2,
2810
+ Throw as Throw3,
2811
+ Try as Try3,
2812
+ UndefinedLiteral as UndefinedLiteral2,
2813
+ Value as Value11,
2814
+ While as While3,
2815
+ YieldReturn as YieldReturn2
2816
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2817
+ var nodeTypeMap = /* @__PURE__ */ new Map();
2818
+ nodeTypeMap.set(CS1Base2, Base11);
2819
+ nodeTypeMap.set(CS1Block, Block4);
2820
+ nodeTypeMap.set(CS1Literal, Literal9);
2821
+ nodeTypeMap.set(CS1NumberLiteral, NumberLiteral2);
2822
+ nodeTypeMap.set(CS1InfinityLiteral, InfinityLiteral);
2823
+ nodeTypeMap.set(CS1NaNLiteral, NaNLiteral);
2824
+ nodeTypeMap.set(CS1StringLiteral, StringLiteral4);
2825
+ nodeTypeMap.set(CS1RegexLiteral, RegexLiteral2);
2826
+ nodeTypeMap.set(CS1PassthroughLiteral, PassthroughLiteral3);
2827
+ nodeTypeMap.set(CS1IdentifierLiteral, IdentifierLiteral4);
2828
+ nodeTypeMap.set(CS1PropertyName, PropertyName2);
2829
+ nodeTypeMap.set(CS1StatementLiteral, StatementLiteral2);
2830
+ nodeTypeMap.set(CS1ThisLiteral, ThisLiteral2);
2831
+ nodeTypeMap.set(CS1UndefinedLiteral, UndefinedLiteral2);
2832
+ nodeTypeMap.set(CS1NullLiteral, NullLiteral2);
2833
+ nodeTypeMap.set(CS1BooleanLiteral, BooleanLiteral2);
2834
+ nodeTypeMap.set(CS1Return, Return3);
2835
+ nodeTypeMap.set(CS1YieldReturn, YieldReturn2);
2836
+ nodeTypeMap.set(CS1Value, Value11);
2837
+ nodeTypeMap.set(CS1Call, Call5);
2838
+ nodeTypeMap.set(CS1SuperCall, SuperCall2);
2839
+ nodeTypeMap.set(CS1RegexWithInterpolations, RegexWithInterpolations);
2840
+ nodeTypeMap.set(CS1TaggedTemplateCall, TaggedTemplateCall2);
2841
+ nodeTypeMap.set(CS1Extends, Extends2);
2842
+ nodeTypeMap.set(CS1Access, Access2);
2843
+ nodeTypeMap.set(CS1Index, Index2);
2844
+ nodeTypeMap.set(CS1Range, Range3);
2845
+ nodeTypeMap.set(CS1Slice, Slice2);
2846
+ nodeTypeMap.set(CS1Obj, Obj5);
2847
+ nodeTypeMap.set(CS1Arr, Arr3);
2848
+ nodeTypeMap.set(CS1Class, Class3);
2849
+ nodeTypeMap.set(CS1ModuleDeclaration, ModuleDeclaration3);
2850
+ nodeTypeMap.set(CS1ImportDeclaration, ImportDeclaration2);
2851
+ nodeTypeMap.set(CS1ImportClause, ImportClause);
2852
+ nodeTypeMap.set(CS1ExportDeclaration, ExportDeclaration);
2853
+ nodeTypeMap.set(CS1ExportNamedDeclaration, ExportNamedDeclaration2);
2854
+ nodeTypeMap.set(CS1ExportDefaultDeclaration, ExportDefaultDeclaration2);
2855
+ nodeTypeMap.set(CS1ExportAllDeclaration, ExportAllDeclaration2);
2856
+ nodeTypeMap.set(CS1ModuleSpecifierList, ModuleSpecifierList);
2857
+ nodeTypeMap.set(CS1ImportSpecifierList, ImportSpecifierList2);
2858
+ nodeTypeMap.set(CS1ExportSpecifierList, ExportSpecifierList2);
2859
+ nodeTypeMap.set(CS1ModuleSpecifier, ModuleSpecifier2);
2860
+ nodeTypeMap.set(CS1ImportSpecifier, ImportSpecifier);
2861
+ nodeTypeMap.set(CS1ImportDefaultSpecifier, ImportDefaultSpecifier);
2862
+ nodeTypeMap.set(CS1ImportNamespaceSpecifier, ImportNamespaceSpecifier2);
2863
+ nodeTypeMap.set(CS1ExportSpecifier, ExportSpecifier);
2864
+ nodeTypeMap.set(CS1Assign, Assign5);
2865
+ nodeTypeMap.set(CS1Code, Code2);
2866
+ nodeTypeMap.set(CS1Param, Param2);
2867
+ nodeTypeMap.set(CS1Splat, Splat5);
2868
+ nodeTypeMap.set(CS1Expansion, Expansion3);
2869
+ nodeTypeMap.set(CS1While, While3);
2870
+ nodeTypeMap.set(CS1Op2, Op8);
2871
+ nodeTypeMap.set(CS1In, In2);
2872
+ nodeTypeMap.set(CS1Try, Try3);
2873
+ nodeTypeMap.set(CS1Throw, Throw3);
2874
+ nodeTypeMap.set(CS1Existence, Existence2);
2875
+ nodeTypeMap.set(CS1Parens, Parens3);
2876
+ nodeTypeMap.set(CS1StringWithInterpolations, StringWithInterpolations5);
2877
+ nodeTypeMap.set(CS1For, For4);
2878
+ nodeTypeMap.set(CS1Switch, Switch3);
2879
+ nodeTypeMap.set(CS1If, If2);
2880
+ function parseCS1AsCS2(source) {
2881
+ const cs1AST = nodes(source);
2882
+ const cs2AST = convertCS1NodeToCS2(cs1AST);
2883
+ if (!(cs2AST instanceof Block4)) {
2884
+ throw new Error("Expected top-level CS file to convert to a Block");
2885
+ }
2886
+ return cs2AST;
2887
+ }
2888
+ function convertCS1NodeToCS2(node) {
2889
+ if (node instanceof CS1Comment) {
2890
+ return makeCS2Comment(node);
2891
+ }
2892
+ const cs1Constructor = node.constructor;
2893
+ const cs2Constructor = nodeTypeMap.get(cs1Constructor);
2894
+ if (!cs2Constructor) {
2895
+ throw new Error(`Unexpected CS1 type for node ${node}`);
2896
+ }
2897
+ const result = Object.create(cs2Constructor.prototype);
2898
+ for (const key of Object.keys(node)) {
2899
+ const value = node[key];
2900
+ if (Array.isArray(value) && value.length > 0 && value[0] instanceof CS1Base2) {
2901
+ result[key] = value.map((child) => convertCS1NodeToCS2(child));
2902
+ } else if (key === "cases") {
2903
+ result[key] = value.map(([switchCaseCondition, block]) => {
2904
+ if (Array.isArray(switchCaseCondition)) {
2905
+ return [
2906
+ switchCaseCondition.map((condition) => convertCS1NodeToCS2(condition)),
2907
+ convertCS1NodeToCS2(block)
2908
+ ];
2909
+ } else {
2910
+ return [
2911
+ convertCS1NodeToCS2(switchCaseCondition),
2912
+ convertCS1NodeToCS2(block)
2913
+ ];
2914
+ }
2915
+ });
2916
+ } else if (value instanceof CS1Base2) {
2917
+ result[key] = convertCS1NodeToCS2(value);
2918
+ } else {
2919
+ result[key] = value;
2920
+ }
2921
+ }
2922
+ return result;
2923
+ }
2924
+ function makeCS2Comment(comment) {
2925
+ const valueNode = Object.create(Value11.prototype);
2926
+ const passthroughNode = Object.create(PassthroughLiteral3.prototype);
2927
+ valueNode.properties = [];
2928
+ valueNode.base = passthroughNode;
2929
+ passthroughNode.value = "";
2930
+ valueNode.locationData = comment.locationData;
2931
+ passthroughNode.locationData = comment.locationData;
2932
+ return valueNode;
2933
+ }
2934
+
2935
+ // src/parseCS2.ts
2936
+ import { nodes as nodes2 } from "decaffeinate-coffeescript2";
2937
+ function parseCS2(source) {
2938
+ return nodes2(source);
2939
+ }
2940
+
2941
+ // src/util/fixLocations.ts
2942
+ import { SourceType as SourceType17 } from "coffee-lex";
2943
+ import {
2944
+ Assign as Assign6,
2945
+ Block as Block5,
2946
+ Call as Call6,
2947
+ Class as Class4,
2948
+ Code as Code3,
2949
+ Extends as Extends3,
2950
+ For as For5,
2951
+ If as If3,
2952
+ In as In3,
2953
+ Index as Index3,
2954
+ Literal as Literal10,
2955
+ Obj as Obj6,
2956
+ Op as Op9,
2957
+ Param as Param3,
2958
+ Slice as Slice3,
2959
+ Switch as Switch4,
2960
+ Try as Try4,
2961
+ Value as Value12,
2962
+ While as While4
2963
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2964
+
2965
+ // src/util/expandToIncludeParens.ts
2966
+ import { SourceType as SourceType15 } from "coffee-lex";
2967
+
2968
+ // src/util/locationDataFromSourceRange.ts
2969
+ function locationDataFromSourceRange(context, sourceRange) {
2970
+ const startLocationInclusive = context.linesAndColumns.locationForIndex(sourceRange.start);
2971
+ if (startLocationInclusive === null) {
2972
+ throw new Error("Expected start location for source range.");
2973
+ }
2974
+ const endLocationInclusive = context.linesAndColumns.locationForIndex(sourceRange.end - 1);
2975
+ if (endLocationInclusive === null) {
2976
+ throw new Error("Expected end location for source range.");
2977
+ }
2978
+ return {
2979
+ first_line: startLocationInclusive.line,
2980
+ first_column: startLocationInclusive.column,
2981
+ last_line: endLocationInclusive.line,
2982
+ last_column: endLocationInclusive.column
2983
+ };
2984
+ }
2985
+
2986
+ // src/util/sourceRangeFromLocationData.ts
2987
+ function sourceRangeFromLocationData(context, locationData) {
2988
+ const startIndexInclusive = context.linesAndColumns.indexForLocation({
2989
+ line: locationData.first_line,
2990
+ column: locationData.first_column
2991
+ });
2992
+ if (startIndexInclusive === null) {
2993
+ throw new Error("Expected index for start of range.");
2994
+ }
2995
+ const endIndexInclusive = context.linesAndColumns.indexForLocation({
2996
+ line: locationData.last_line,
2997
+ column: locationData.last_column
2998
+ });
2999
+ if (endIndexInclusive === null) {
3000
+ throw new Error("Expected index for end of range.");
3001
+ }
3002
+ return {
3003
+ start: startIndexInclusive,
3004
+ end: endIndexInclusive + 1
3005
+ };
3006
+ }
3007
+
3008
+ // src/util/expandToIncludeParens.ts
3009
+ function expandToIncludeParens(context, locationData) {
3010
+ let sourceRange = sourceRangeFromLocationData(context, locationData);
3011
+ while (true) {
3012
+ const tokens = getSurroundingParens(context, sourceRange);
3013
+ if (tokens === null) {
3014
+ break;
3015
+ }
3016
+ sourceRange = { start: tokens.openParen.start, end: tokens.closeParen.end };
3017
+ }
3018
+ return locationDataFromSourceRange(context, sourceRange);
3019
+ }
3020
+ function getSurroundingParens(context, sourceRange) {
3021
+ const tokenBefore = firstSemanticTokenBefore(context, sourceRange.start);
3022
+ const tokenAfter = firstSemanticTokenAfter(context, sourceRange.end);
3023
+ if (tokenBefore === null || tokenBefore.type !== SourceType15.LPAREN) {
3024
+ return null;
3025
+ }
3026
+ if (tokenAfter === null || tokenAfter.type !== SourceType15.RPAREN) {
3027
+ return null;
3028
+ }
3029
+ return { openParen: tokenBefore, closeParen: tokenAfter };
3030
+ }
3031
+
3032
+ // src/util/fixInvalidLocationData.ts
3033
+ function fixInvalidLocationData(locationData, linesAndColumns) {
3034
+ let { last_line, last_column } = locationData;
3035
+ const indexForLocation = linesAndColumns.indexForLocation({
3036
+ line: last_line,
3037
+ column: last_column
3038
+ });
3039
+ if (indexForLocation !== null) {
3040
+ return locationData;
3041
+ } else {
3042
+ let offset = 1;
3043
+ for (; ; ) {
3044
+ const index = linesAndColumns.indexForLocation({
3045
+ line: last_line,
3046
+ column: last_column - offset
3047
+ });
3048
+ offset++;
3049
+ if (index !== null) {
3050
+ const location = linesAndColumns.locationForIndex(index + offset);
3051
+ if (!location) {
3052
+ throw new Error(`Unable to determine adjustment offset for incorrect location data: ${JSON.stringify(locationData)}. No valid location found for index: ${index + offset}`);
3053
+ }
3054
+ last_line = location.line;
3055
+ last_column = location.column;
3056
+ break;
3057
+ }
3058
+ }
3059
+ return {
3060
+ ...locationData,
3061
+ last_line,
3062
+ last_column
3063
+ };
3064
+ }
3065
+ }
3066
+
3067
+ // src/util/locationWithLastPosition.ts
3068
+ function locationWithLastPosition(loc, last) {
3069
+ return {
3070
+ first_line: loc.first_line,
3071
+ first_column: loc.first_column,
3072
+ last_line: last.last_line,
3073
+ last_column: last.last_column
3074
+ };
3075
+ }
3076
+
3077
+ // src/util/mergeLocations.ts
3078
+ function mergeLocations(left, right) {
3079
+ let first_line;
3080
+ let first_column;
3081
+ let last_line;
3082
+ let last_column;
3083
+ if (left.first_line < right.first_line) {
3084
+ ({ first_line, first_column } = left);
3085
+ } else if (left.first_line > right.first_line) {
3086
+ ({ first_line, first_column } = right);
3087
+ } else if (left.first_column < right.first_column) {
3088
+ ({ first_line, first_column } = left);
3089
+ } else {
3090
+ ({ first_line, first_column } = right);
3091
+ }
3092
+ if (left.last_line < right.last_line) {
3093
+ ({ last_line, last_column } = right);
3094
+ } else if (left.last_line > right.last_line) {
3095
+ ({ last_line, last_column } = left);
3096
+ } else if (left.last_column < right.last_column) {
3097
+ ({ last_line, last_column } = right);
3098
+ } else {
3099
+ ({ last_line, last_column } = left);
3100
+ }
3101
+ return { first_line, first_column, last_line, last_column };
3102
+ }
3103
+
3104
+ // src/util/rangeOfBracketTokensForIndexNode.ts
3105
+ import { SourceType as SourceType16 } from "coffee-lex";
3106
+ import { inspect as inspect9 } from "util";
3107
+ function rangeOfBracketTokensForIndexNode(context, indexNode) {
3108
+ const start = context.linesAndColumns.indexForLocation({
3109
+ line: indexNode.locationData.first_line,
3110
+ column: indexNode.locationData.first_column
3111
+ });
3112
+ if (start !== null) {
3113
+ const startTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
3114
+ if (startTokenIndex !== null) {
3115
+ const range = context.sourceTokens.rangeOfMatchingTokensContainingTokenIndex(SourceType16.LBRACKET, SourceType16.RBRACKET, startTokenIndex);
3116
+ if (range !== null) {
3117
+ return range;
3118
+ }
3119
+ }
3120
+ }
3121
+ throw new Error(`cannot find braces surrounding index at ${indexNode.locationData.first_line + 1}:${indexNode.locationData.first_column}: ${inspect9(indexNode)}`);
3122
+ }
3123
+
3124
+ // src/util/fixLocations.ts
3125
+ function fixLocations(context, node) {
3126
+ const { linesAndColumns, source } = context;
3127
+ node.eachChild((child) => {
3128
+ if (child && child.locationData) {
3129
+ fixLocations(context, child);
3130
+ }
3131
+ return void 0;
3132
+ });
3133
+ node.locationData = fixInvalidLocationData(node.locationData, context.linesAndColumns);
3134
+ if (node instanceof Value12) {
3135
+ const lastChild = node.properties[node.properties.length - 1] || node.base;
3136
+ if (lastChild) {
3137
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3138
+ }
3139
+ }
3140
+ if (node instanceof Index3 || node instanceof Slice3) {
3141
+ const rangeOfBrackets = rangeOfBracketTokensForIndexNode(context, node);
3142
+ const lbracket = context.sourceTokens.tokenAtIndex(rangeOfBrackets[0]);
3143
+ if (lbracket === null) {
3144
+ throw new Error("Expected to find left-bracket token.");
3145
+ }
3146
+ const lbracketLoc = linesAndColumns.locationForIndex(lbracket.start);
3147
+ if (lbracketLoc === null) {
3148
+ throw new Error("Expected to find a location for the left-bracket token.");
3149
+ }
3150
+ const rbracketIndex = rangeOfBrackets[1].previous();
3151
+ if (rbracketIndex === null) {
3152
+ throw new Error("Expected to find a non-null right-bracket token index.");
3153
+ }
3154
+ const rbracket = context.sourceTokens.tokenAtIndex(rbracketIndex);
3155
+ if (rbracket === null) {
3156
+ throw new Error("Expected to find right-bracket token.");
3157
+ }
3158
+ const rbracketLoc = linesAndColumns.locationForIndex(rbracket.start);
3159
+ if (rbracketLoc === null) {
3160
+ throw new Error("Expected to find a location for the right-bracket token.");
3161
+ }
3162
+ node.locationData = {
3163
+ first_line: lbracketLoc.line,
3164
+ first_column: lbracketLoc.column,
3165
+ last_line: rbracketLoc.line,
3166
+ last_column: rbracketLoc.column
3167
+ };
3168
+ }
3169
+ if (node instanceof Obj6) {
3170
+ const loc = node.locationData;
3171
+ const start = linesAndColumns.indexForLocation({
3172
+ line: loc.first_line,
3173
+ column: loc.first_column
3174
+ });
3175
+ if (start === null) {
3176
+ throw new Error("Expected to find a start index for object.");
3177
+ }
3178
+ const end = linesAndColumns.indexForLocation({
3179
+ line: loc.last_line,
3180
+ column: loc.last_column
3181
+ });
3182
+ if (end === null) {
3183
+ throw new Error("Expected to find an end index for object.");
3184
+ }
3185
+ const isImplicitObject = source[start] !== "{";
3186
+ if (isImplicitObject && source[end] !== ",") {
3187
+ const lastChild = node.properties[node.properties.length - 1];
3188
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3189
+ }
3190
+ }
3191
+ if (node instanceof Op9) {
3192
+ const lastChild = node.second;
3193
+ if (lastChild) {
3194
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3195
+ }
3196
+ }
3197
+ if (node instanceof Assign6) {
3198
+ const lastChild = node.value;
3199
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3200
+ }
3201
+ if (node instanceof In3) {
3202
+ const lastChild = node.array;
3203
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3204
+ }
3205
+ if (node instanceof Call6) {
3206
+ if (node.variable && !node.do && !node.csx) {
3207
+ const calleeLoc = node.variable.locationData;
3208
+ let calleeEnd = linesAndColumns.indexForLocation({
3209
+ line: calleeLoc.last_line,
3210
+ column: calleeLoc.last_column
3211
+ });
3212
+ if (calleeEnd === null) {
3213
+ throw new Error("Expected to find index for callee end.");
3214
+ }
3215
+ calleeEnd++;
3216
+ if (source[calleeEnd] === "?") {
3217
+ calleeEnd += 1;
3218
+ }
3219
+ const isImplicitCall = source[calleeEnd] !== "(";
3220
+ if (isImplicitCall) {
3221
+ const lastChild = node.args[node.args.length - 1] || node.variable;
3222
+ if (lastChild) {
3223
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3224
+ }
3225
+ }
3226
+ }
3227
+ }
3228
+ if (node instanceof Block5) {
3229
+ const lastChild = node.expressions[node.expressions.length - 1];
3230
+ if (lastChild) {
3231
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3232
+ } else {
3233
+ const sourceRange = sourceRangeFromLocationData(context, node.locationData);
3234
+ node.locationData = locationDataFromSourceRange(context, {
3235
+ start: sourceRange.end,
3236
+ end: sourceRange.end
3237
+ });
3238
+ }
3239
+ let blockEnd = linesAndColumns.indexForLocation({
3240
+ line: node.locationData.last_line,
3241
+ column: node.locationData.last_column
3242
+ });
3243
+ if (blockEnd === null) {
3244
+ throw new Error("Expected to find index for block end.");
3245
+ }
3246
+ if (source[blockEnd + 1] === ";") {
3247
+ blockEnd++;
3248
+ const loc = linesAndColumns.locationForIndex(blockEnd);
3249
+ if (loc === null) {
3250
+ throw new Error("Expected to find location for block end.");
3251
+ }
3252
+ node.locationData.last_line = loc.line;
3253
+ node.locationData.last_column = loc.column;
3254
+ }
3255
+ node.locationData = expandToIncludeParens(context, node.locationData);
3256
+ }
3257
+ if (node instanceof If3) {
3258
+ const lastChild = node.elseBody || node.body;
3259
+ node.locationData = mergeLocations(node.locationData, lastChild.locationData);
3260
+ }
3261
+ if (node instanceof For5 || node instanceof While4) {
3262
+ const lastChild = node.body;
3263
+ if (lastChild) {
3264
+ node.locationData = mergeLocations(node.locationData, lastChild.locationData);
3265
+ }
3266
+ }
3267
+ if (node instanceof Param3) {
3268
+ if (!node.splat) {
3269
+ const lastChild = node.value || node.name;
3270
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3271
+ }
3272
+ }
3273
+ if (node instanceof Code3) {
3274
+ if (node.body) {
3275
+ node.locationData = locationWithLastPosition(node.locationData, node.body.locationData);
3276
+ }
3277
+ }
3278
+ if (node instanceof Class4) {
3279
+ const lastChild = node.body;
3280
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3281
+ }
3282
+ if (node instanceof Switch4) {
3283
+ const lastChild = node.otherwise || node.cases[node.cases.length - 1][1];
3284
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3285
+ }
3286
+ if (node instanceof Try4) {
3287
+ const lastChild = node.ensure || node.recovery || node.errorVariable || node.attempt;
3288
+ if (lastChild) {
3289
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3290
+ }
3291
+ }
3292
+ if (node instanceof Extends3) {
3293
+ const lastChild = node.parent;
3294
+ node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3295
+ }
3296
+ if (node instanceof Literal10) {
3297
+ const endIndex = linesAndColumns.indexForLocation({
3298
+ line: node.locationData.last_line,
3299
+ column: node.locationData.last_column
3300
+ });
3301
+ if (endIndex !== null) {
3302
+ const tokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(endIndex);
3303
+ const token = context.sourceTokens.tokenAtIndex(tokenIndex);
3304
+ if (token && token.type === SourceType17.HEREGEXP_END) {
3305
+ const location = linesAndColumns.locationForIndex(token.end - 1);
3306
+ if (location) {
3307
+ node.locationData = {
3308
+ ...node.locationData,
3309
+ last_line: location.line,
3310
+ last_column: location.column
3311
+ };
3312
+ }
3313
+ }
3314
+ }
3315
+ }
3316
+ }
3317
+
3318
+ // src/util/ParseContext.ts
3319
+ import {
3320
+ Base as Base13
3321
+ } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
3322
+ import { LinesAndColumns } from "lines-and-columns";
3323
+ var ParseError = class extends Error {
3324
+ constructor(syntaxError) {
3325
+ super(syntaxError.message);
3326
+ this.syntaxError = syntaxError;
3327
+ }
3328
+ };
3329
+ var ParseState = class {
3330
+ constructor(currentClassBoundMethods) {
3331
+ this.currentClassBoundMethods = currentClassBoundMethods;
3332
+ this.currentClassCtor = null;
3333
+ }
3334
+ isInClassBody() {
3335
+ return this.currentClassBoundMethods !== null;
3336
+ }
3337
+ recordBoundMethod(method) {
3338
+ if (!this.currentClassBoundMethods) {
3339
+ throw new Error("Cannot assign a bound method name when there is no current class.");
3340
+ }
3341
+ this.currentClassBoundMethods.push(method);
3342
+ }
3343
+ recordConstructor(ctor) {
3344
+ this.currentClassCtor = ctor;
3345
+ }
3346
+ pushCurrentClass() {
3347
+ return new ParseState([]);
3348
+ }
3349
+ dropCurrentClass() {
3350
+ return new ParseState(null);
3351
+ }
3352
+ static initialState() {
3353
+ return new ParseState(null);
3354
+ }
3355
+ };
3356
+ var ParseContext = class {
3357
+ constructor(source, linesAndColumns, sourceTokens, ast, parseState) {
3358
+ this.source = source;
3359
+ this.linesAndColumns = linesAndColumns;
3360
+ this.sourceTokens = sourceTokens;
3361
+ this.ast = ast;
3362
+ this.parseState = parseState;
3363
+ }
3364
+ getRange(locatable) {
3365
+ if (locatable instanceof Base13) {
3366
+ return this.getRange(locatable.locationData);
3367
+ } else {
3368
+ const locationData = locatable;
3369
+ const start = this.linesAndColumns.indexForLocation({
3370
+ line: locationData.first_line,
3371
+ column: locationData.first_column
3372
+ });
3373
+ const end = this.linesAndColumns.indexForLocation({
3374
+ line: locationData.last_line,
3375
+ column: locationData.last_column
3376
+ });
3377
+ if (start === null || end === null) {
3378
+ return null;
3379
+ }
3380
+ return [start, end + 1];
3381
+ }
3382
+ }
3383
+ static fromSource(source, sourceLex, parse5) {
3384
+ try {
3385
+ const sourceTokens = sourceLex(source);
3386
+ return new ParseContext(source, new LinesAndColumns(source), sourceTokens, parse5(source), ParseState.initialState());
3387
+ } catch (ex) {
3388
+ if (ex instanceof SyntaxError) {
3389
+ throw new ParseError(ex);
3390
+ } else {
3391
+ throw ex;
3392
+ }
3393
+ }
3394
+ }
3395
+ updateState(updater) {
3396
+ return new ParseContext(this.source, this.linesAndColumns, this.sourceTokens, this.ast, updater(this.parseState));
3397
+ }
3398
+ };
3399
+
3400
+ // src/parser.ts
3401
+ var DEFAULT_OPTIONS = {
3402
+ useCS2: false
3403
+ };
3404
+ function parse4(source, options = DEFAULT_OPTIONS) {
3405
+ patchCoffeeScript();
3406
+ const parse5 = options.useCS2 ? parseCS2 : parseCS1AsCS2;
3407
+ const sourceLex = (s) => lex(s, { useCS2: options.useCS2 });
3408
+ const context = ParseContext.fromSource(source, sourceLex, parse5);
3409
+ fixLocations(context, context.ast);
3410
+ const program = mapProgram(context);
3411
+ traverse(program, (node, parent) => {
3412
+ node.parentNode = parent;
3413
+ });
3414
+ return program;
3415
+ }
3416
+ function traverse(node, callback) {
3417
+ function traverseRec(currentNode, currentParent) {
3418
+ const shouldDescend = callback(currentNode, currentParent);
3419
+ if (shouldDescend !== false) {
3420
+ for (const child of currentNode.getChildren()) {
3421
+ traverseRec(child, currentNode);
3422
+ }
3423
+ }
3424
+ }
3425
+ traverseRec(node, null);
3426
+ }
3427
+ export {
3428
+ AccessOp,
3429
+ ArrayInitialiser,
3430
+ AssignOp,
3431
+ AsyncFunction,
3432
+ Await,
3433
+ AwaitReturn,
3434
+ BareSuperFunctionApplication,
3435
+ BaseAssignOp,
3436
+ BaseFunction,
3437
+ BinaryOp,
3438
+ BitAndOp,
3439
+ BitNotOp,
3440
+ BitOrOp,
3441
+ BitXorOp,
3442
+ Block,
3443
+ Bool,
3444
+ BoundAsyncFunction,
3445
+ BoundFunction,
3446
+ BoundGeneratorFunction,
3447
+ Break,
3448
+ CSXElement,
3449
+ ChainedComparisonOp,
3450
+ Class,
3451
+ ClassProtoAssignOp,
3452
+ CompoundAssignOp,
3453
+ Conditional,
3454
+ Constructor,
3455
+ Continue,
3456
+ DEFAULT_OPTIONS,
3457
+ Debugger,
3458
+ DefaultParam,
3459
+ DeleteOp,
3460
+ DivideOp,
3461
+ DoOp,
3462
+ DynamicMemberAccessOp,
3463
+ EQOp,
3464
+ Elision,
3465
+ ExistsOp,
3466
+ ExpOp,
3467
+ Expansion,
3468
+ ExportAllDeclaration,
3469
+ ExportBindingsDeclaration,
3470
+ ExportDefaultDeclaration,
3471
+ ExportNamedDeclaration,
3472
+ ExtendsOp,
3473
+ Float,
3474
+ FloorDivideOp,
3475
+ For,
3476
+ ForFrom,
3477
+ ForIn,
3478
+ ForOf,
3479
+ Function,
3480
+ FunctionApplication,
3481
+ GTEOp,
3482
+ GTOp,
3483
+ GeneratorFunction,
3484
+ Heregex,
3485
+ Identifier,
3486
+ ImportDeclaration,
3487
+ InOp,
3488
+ InstanceofOp,
3489
+ Int,
3490
+ JavaScript,
3491
+ LTEOp,
3492
+ LTOp,
3493
+ LeftShiftOp,
3494
+ LogicalAndOp,
3495
+ LogicalNotOp,
3496
+ LogicalOrOp,
3497
+ Loop,
3498
+ MemberAccessOp,
3499
+ ModuleSpecifier,
3500
+ ModuloOp,
3501
+ MultiplyOp,
3502
+ NEQOp,
3503
+ NewOp,
3504
+ Node,
3505
+ Null,
3506
+ Number,
3507
+ ObjectInitialiser,
3508
+ ObjectInitialiserMember,
3509
+ OfOp,
3510
+ OperatorInfo,
3511
+ PlusOp,
3512
+ PostDecrementOp,
3513
+ PostIncrementOp,
3514
+ PreDecrementOp,
3515
+ PreIncrementOp,
3516
+ Program,
3517
+ ProtoMemberAccessOp,
3518
+ Quasi,
3519
+ Range,
3520
+ Regex,
3521
+ RegexFlags,
3522
+ RemOp,
3523
+ Rest,
3524
+ Return,
3525
+ SeqOp,
3526
+ SignedRightShiftOp,
3527
+ Slice,
3528
+ SoakedDynamicMemberAccessOp,
3529
+ SoakedFunctionApplication,
3530
+ SoakedMemberAccessOp,
3531
+ SoakedNewOp,
3532
+ SoakedProtoMemberAccessOp,
3533
+ SoakedSlice,
3534
+ Spread,
3535
+ String,
3536
+ SubtractOp,
3537
+ Super,
3538
+ Switch,
3539
+ SwitchCase,
3540
+ TaggedTemplateLiteral,
3541
+ This,
3542
+ Throw,
3543
+ Try,
3544
+ TypeofOp,
3545
+ UnaryExistsOp,
3546
+ UnaryNegateOp,
3547
+ UnaryOp,
3548
+ UnaryPlusOp,
3549
+ Undefined,
3550
+ UnsignedRightShiftOp,
3551
+ While,
3552
+ Yield,
3553
+ YieldFrom,
3554
+ YieldReturn,
3555
+ parse4 as parse,
3556
+ traverse
3557
+ };