sequenceserver 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (667) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sequenceserver/api_errors.rb +24 -2
  3. data/lib/sequenceserver/blast/job.rb +41 -7
  4. data/lib/sequenceserver/blast/report.rb +36 -30
  5. data/lib/sequenceserver/config.rb +49 -27
  6. data/lib/sequenceserver/job.rb +13 -3
  7. data/lib/sequenceserver/job_remover.rb +25 -29
  8. data/lib/sequenceserver/refinements.rb +15 -0
  9. data/lib/sequenceserver/routes.rb +69 -7
  10. data/lib/sequenceserver/sequence.rb +8 -7
  11. data/lib/sequenceserver/sys.rb +2 -2
  12. data/lib/sequenceserver/version.rb +1 -1
  13. data/lib/sequenceserver/zip_file_generator.rb +56 -0
  14. data/lib/sequenceserver.rb +1 -0
  15. data/public/config.js +149 -143
  16. data/public/css/sequenceserver.css +44 -3
  17. data/public/css/sequenceserver.min.css +3 -3
  18. data/public/js/alignment_exporter.js +16 -8
  19. data/public/js/circos.js +370 -234
  20. data/public/js/cloud_share_modal.js +216 -0
  21. data/public/js/databases.js +144 -0
  22. data/public/js/databases_tree.js +42 -113
  23. data/public/js/dnd.js +164 -0
  24. data/public/js/error_modal.js +4 -11
  25. data/public/js/exporter.js +7 -3
  26. data/public/js/form.js +260 -0
  27. data/public/js/grapher.js +113 -106
  28. data/public/js/hit.js +80 -67
  29. data/public/js/hits_overview.js +2 -2
  30. data/public/js/hsp.js +343 -288
  31. data/public/js/jquery_world.js +4 -4
  32. data/public/js/mailto.js +36 -0
  33. data/public/js/options.js +84 -0
  34. data/public/js/query.js +319 -59
  35. data/public/js/report.js +315 -269
  36. data/public/js/report_root.js +75 -0
  37. data/public/js/search.js +28 -1011
  38. data/public/js/search_button.js +195 -0
  39. data/public/js/sequence.js +2409 -2411
  40. data/public/js/sequence_modal.js +152 -159
  41. data/public/js/share_url.js +23 -0
  42. data/public/js/sidebar.js +262 -83
  43. data/public/js/tests/database.spec.js +60 -0
  44. data/public/js/tests/mock_data/databases.json +91 -0
  45. data/public/js/tests/mock_data/long_response.json +269 -0
  46. data/public/js/tests/mock_data/short_response.json +2240 -0
  47. data/public/js/tests/report.spec.js +99 -0
  48. data/public/js/tests/search_button.spec.js +14 -0
  49. data/public/js/tests/search_query.spec.js +41 -0
  50. data/public/packages/circosJS@1.7.0.js +1640 -0
  51. data/public/packages/jquery-ui@1.11.4.js +16624 -0
  52. data/public/sequenceserver-report.min.js +2425 -19
  53. data/public/sequenceserver-search.min.js +2337 -15
  54. data/public/vendor/github/jspm/nodelibs-assert@0.1.0/index.js +2 -0
  55. data/public/vendor/github/jspm/{nodelibs-buffer@0.1.0 → nodelibs-assert@0.1.0}/package.json +1 -1
  56. data/public/vendor/github/jspm/nodelibs-assert@0.1.0.js +1 -0
  57. data/public/vendor/github/jspm/nodelibs-buffer@0.1.1/package.json +6 -0
  58. data/public/vendor/github/jspm/nodelibs-buffer@0.1.1.js +1 -0
  59. data/public/vendor/github/jspm/{nodelibs-process@0.1.1 → nodelibs-process@0.1.2}/package.json +2 -2
  60. data/public/vendor/github/jspm/nodelibs-process@0.1.2.js +1 -0
  61. data/public/vendor/github/jspm/nodelibs-vm@0.1.0/index.js +2 -0
  62. data/public/vendor/github/jspm/nodelibs-vm@0.1.0/package.json +6 -0
  63. data/public/vendor/github/jspm/nodelibs-vm@0.1.0.js +1 -0
  64. data/public/vendor/npm/assert@1.5.0/CHANGELOG.md +8 -0
  65. data/public/vendor/npm/assert@1.5.0/README.md +105 -0
  66. data/public/vendor/npm/assert@1.5.0/assert.js +327 -0
  67. data/public/vendor/npm/assert@1.5.0/package.json +32 -0
  68. data/public/vendor/npm/assert@1.5.0/test.js +288 -0
  69. data/public/vendor/npm/assert@1.5.0.js +1 -0
  70. data/public/vendor/npm/{base64-js@0.0.8/LICENSE.MIT → base64-js@1.5.1/LICENSE} +1 -1
  71. data/public/vendor/npm/{base64-js@0.0.8 → base64-js@1.5.1}/README.md +10 -7
  72. data/public/vendor/npm/base64-js@1.5.1/base64js.min.js +3 -0
  73. data/public/vendor/npm/base64-js@1.5.1/index.d.ts +3 -0
  74. data/public/vendor/npm/base64-js@1.5.1/index.js +151 -0
  75. data/public/vendor/npm/base64-js@1.5.1/package.json +47 -0
  76. data/public/vendor/npm/base64-js@1.5.1.js +1 -0
  77. data/public/vendor/npm/buffer@5.7.1/AUTHORS.md +70 -0
  78. data/public/vendor/npm/{buffer@3.4.3 → buffer@5.7.1}/README.md +111 -41
  79. data/public/vendor/npm/buffer@5.7.1/index.d.ts +186 -0
  80. data/public/vendor/npm/buffer@5.7.1/index.js +1817 -0
  81. data/public/vendor/npm/buffer@5.7.1/package.json +96 -0
  82. data/public/vendor/npm/buffer@5.7.1.js +1 -0
  83. data/public/vendor/npm/core-util-is@1.0.3/LICENSE +19 -0
  84. data/public/vendor/npm/core-util-is@1.0.3/lib/util.js +64 -0
  85. data/public/vendor/npm/{core-util-is@1.0.1 → core-util-is@1.0.3}/package.json +13 -1
  86. data/public/vendor/npm/core-util-is@1.0.3.js +1 -0
  87. data/public/vendor/npm/events@1.0.2/tests/add-listeners.js +2 -2
  88. data/public/vendor/npm/events@1.0.2/tests/check-listener-leaks.js +3 -3
  89. data/public/vendor/npm/events@1.0.2/tests/common.js +1 -1
  90. data/public/vendor/npm/events@1.0.2/tests/index.js +13 -13
  91. data/public/vendor/npm/events@1.0.2/tests/listeners-side-effects.js +2 -2
  92. data/public/vendor/npm/events@1.0.2/tests/listeners.js +2 -2
  93. data/public/vendor/npm/events@1.0.2/tests/max-listeners.js +2 -2
  94. data/public/vendor/npm/events@1.0.2/tests/modify-in-emit.js +2 -2
  95. data/public/vendor/npm/events@1.0.2/tests/num-args.js +2 -2
  96. data/public/vendor/npm/events@1.0.2/tests/once.js +2 -2
  97. data/public/vendor/npm/events@1.0.2/tests/remove-all-listeners.js +3 -3
  98. data/public/vendor/npm/events@1.0.2/tests/remove-listeners.js +3 -3
  99. data/public/vendor/npm/events@1.0.2/tests/set-max-listeners-side-effects.js +2 -2
  100. data/public/vendor/npm/events@1.0.2/tests/subclass.js +3 -3
  101. data/public/vendor/npm/events@1.0.2.js +1 -1
  102. data/public/vendor/npm/ieee754@1.2.1/LICENSE +11 -0
  103. data/public/vendor/npm/{ieee754@1.1.6 → ieee754@1.2.1}/README.md +12 -8
  104. data/public/vendor/npm/ieee754@1.2.1/index.d.ts +10 -0
  105. data/public/vendor/npm/{ieee754@1.1.6 → ieee754@1.2.1}/index.js +6 -6
  106. data/public/vendor/npm/ieee754@1.2.1/package.json +52 -0
  107. data/public/vendor/npm/ieee754@1.2.1.js +1 -0
  108. data/public/vendor/npm/{is-array@1.0.1 → indexof@0.0.1}/Makefile +3 -3
  109. data/public/vendor/npm/indexof@0.0.1/Readme.md +15 -0
  110. data/public/vendor/npm/indexof@0.0.1/component.json +10 -0
  111. data/public/vendor/npm/indexof@0.0.1/index.js +11 -0
  112. data/public/vendor/npm/indexof@0.0.1/package.json +12 -0
  113. data/public/vendor/npm/indexof@0.0.1.js +1 -0
  114. data/public/vendor/npm/inherits@2.0.1/inherits.js +1 -1
  115. data/public/vendor/npm/inherits@2.0.1.js +1 -1
  116. data/public/vendor/npm/isarray@0.0.1.js +1 -1
  117. data/public/vendor/npm/js-tokens@4.0.0/index.js +23 -0
  118. data/public/vendor/npm/js-tokens@4.0.0/package.json +30 -0
  119. data/public/vendor/npm/js-tokens@4.0.0.js +1 -0
  120. data/public/vendor/npm/loose-envify@1.4.0/LICENSE +21 -0
  121. data/public/vendor/npm/loose-envify@1.4.0/README.md +45 -0
  122. data/public/vendor/npm/loose-envify@1.4.0/cli.js +12 -0
  123. data/public/vendor/npm/loose-envify@1.4.0/custom.js +3 -0
  124. data/public/vendor/npm/loose-envify@1.4.0/index.js +5 -0
  125. data/public/vendor/npm/loose-envify@1.4.0/loose-envify.js +33 -0
  126. data/public/vendor/npm/loose-envify@1.4.0/package.json +36 -0
  127. data/public/vendor/npm/loose-envify@1.4.0/replace.js +52 -0
  128. data/public/vendor/npm/loose-envify@1.4.0.js +1 -0
  129. data/public/vendor/npm/object-assign@4.1.1/index.js +90 -0
  130. data/public/vendor/npm/object-assign@4.1.1/package.json +42 -0
  131. data/public/vendor/npm/object-assign@4.1.1.js +1 -0
  132. data/public/vendor/npm/path-browserify@0.0.0/index.js +1 -1
  133. data/public/vendor/npm/path-browserify@0.0.0.js +1 -1
  134. data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/README.md +4 -1
  135. data/public/vendor/npm/process@0.11.10/browser.js +184 -0
  136. data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/package.json +10 -1
  137. data/public/vendor/npm/process@0.11.10/test.js +185 -0
  138. data/public/vendor/npm/process@0.11.10.js +1 -0
  139. data/public/vendor/npm/react-dom@18.0.0/LICENSE +21 -0
  140. data/public/vendor/npm/react-dom@18.0.0/README.md +50 -0
  141. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.browser.development.js +4771 -0
  142. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.browser.production.min.js +85 -0
  143. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.node.development.js +4813 -0
  144. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.node.production.min.js +1705 -0
  145. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.browser.development.js +4746 -0
  146. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.browser.production.min.js +90 -0
  147. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.node.development.js +4714 -0
  148. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.node.production.min.js +1746 -0
  149. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-test-utils.development.js +1017 -0
  150. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-test-utils.production.min.js +617 -0
  151. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom.development.js +20092 -0
  152. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom.production.min.js +322 -0
  153. data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom.profiling.min.js +364 -0
  154. data/public/vendor/npm/react-dom@18.0.0/client.js +27 -0
  155. data/public/vendor/npm/react-dom@18.0.0/index.js +23 -0
  156. data/public/vendor/npm/react-dom@18.0.0/package.json +62 -0
  157. data/public/vendor/npm/react-dom@18.0.0/profiling.js +23 -0
  158. data/public/vendor/npm/react-dom@18.0.0/server.browser.js +19 -0
  159. data/public/vendor/npm/react-dom@18.0.0/server.js +3 -0
  160. data/public/vendor/npm/react-dom@18.0.0/server.node.js +19 -0
  161. data/public/vendor/npm/react-dom@18.0.0/test-utils.js +9 -0
  162. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server-legacy.browser.development.js +4770 -0
  163. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server-legacy.browser.production.min.js +72 -0
  164. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server.browser.development.js +4745 -0
  165. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server.browser.production.min.js +74 -0
  166. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-test-utils.development.js +1013 -0
  167. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-test-utils.production.min.js +625 -0
  168. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom.development.js +20106 -0
  169. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom.production.min.js +269 -0
  170. data/public/vendor/npm/react-dom@18.0.0/umd/react-dom.profiling.min.js +285 -0
  171. data/public/vendor/npm/react-dom@18.0.0.js +1 -0
  172. data/public/vendor/npm/react@18.0.0/LICENSE +21 -0
  173. data/public/vendor/npm/react@18.0.0/README.md +13 -0
  174. data/public/vendor/npm/react@18.0.0/cjs/react-jsx-dev-runtime.development.js +837 -0
  175. data/public/vendor/npm/react@18.0.0/cjs/react-jsx-dev-runtime.production.min.js +10 -0
  176. data/public/vendor/npm/react@18.0.0/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
  177. data/public/vendor/npm/react@18.0.0/cjs/react-jsx-runtime.development.js +849 -0
  178. data/public/vendor/npm/react@18.0.0/cjs/react-jsx-runtime.production.min.js +38 -0
  179. data/public/vendor/npm/react@18.0.0/cjs/react-jsx-runtime.profiling.min.js +38 -0
  180. data/public/vendor/npm/react@18.0.0/cjs/react.development.js +1746 -0
  181. data/public/vendor/npm/react@18.0.0/cjs/react.production.min.js +26 -0
  182. data/public/vendor/npm/react@18.0.0/cjs/react.shared-subset.development.js +10 -0
  183. data/public/vendor/npm/react@18.0.0/cjs/react.shared-subset.production.min.js +12 -0
  184. data/public/vendor/npm/react@18.0.0/index.js +9 -0
  185. data/public/vendor/npm/react@18.0.0/jsx-dev-runtime.js +9 -0
  186. data/public/vendor/npm/react@18.0.0/jsx-runtime.js +9 -0
  187. data/public/vendor/npm/react@18.0.0/package.json +47 -0
  188. data/public/vendor/npm/react@18.0.0/react.shared-subset.js +9 -0
  189. data/public/vendor/npm/react@18.0.0/umd/react.development.js +2186 -0
  190. data/public/vendor/npm/react@18.0.0/umd/react.production.min.js +33 -0
  191. data/public/vendor/npm/react@18.0.0/umd/react.profiling.min.js +33 -0
  192. data/public/vendor/npm/react@18.0.0.js +1 -0
  193. data/public/vendor/npm/readable-stream@1.1.14/LICENSE +18 -0
  194. data/public/vendor/npm/readable-stream@1.1.14/duplex.js +2 -0
  195. data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_duplex.js +5 -5
  196. data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_passthrough.js +3 -3
  197. data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_readable.js +10 -10
  198. data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_transform.js +4 -4
  199. data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_writable.js +6 -6
  200. data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/package.json +1 -1
  201. data/public/vendor/npm/readable-stream@1.1.14/passthrough.js +2 -0
  202. data/public/vendor/npm/readable-stream@1.1.14/readable.js +13 -0
  203. data/public/vendor/npm/readable-stream@1.1.14/transform.js +2 -0
  204. data/public/vendor/npm/readable-stream@1.1.14/writable.js +2 -0
  205. data/public/vendor/npm/readable-stream@1.1.14.js +1 -0
  206. data/public/vendor/npm/scheduler@0.21.0/LICENSE +21 -0
  207. data/public/vendor/npm/scheduler@0.21.0/README.md +9 -0
  208. data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_mock.development.js +530 -0
  209. data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_mock.production.min.js +20 -0
  210. data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_post_task.development.js +153 -0
  211. data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_post_task.production.min.js +14 -0
  212. data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler.development.js +444 -0
  213. data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler.production.min.js +19 -0
  214. data/public/vendor/npm/scheduler@0.21.0/index.js +9 -0
  215. data/public/vendor/npm/scheduler@0.21.0/package.json +36 -0
  216. data/public/vendor/npm/scheduler@0.21.0/umd/scheduler-unstable_mock.development.js +701 -0
  217. data/public/vendor/npm/scheduler@0.21.0/umd/scheduler-unstable_mock.production.min.js +21 -0
  218. data/public/vendor/npm/scheduler@0.21.0/umd/scheduler.development.js +154 -0
  219. data/public/vendor/npm/scheduler@0.21.0/umd/scheduler.production.min.js +148 -0
  220. data/public/vendor/npm/scheduler@0.21.0/umd/scheduler.profiling.min.js +148 -0
  221. data/public/vendor/npm/scheduler@0.21.0/unstable_mock.js +9 -0
  222. data/public/vendor/npm/scheduler@0.21.0/unstable_post_task.js +9 -0
  223. data/public/vendor/npm/scheduler@0.21.0.js +1 -0
  224. data/public/vendor/npm/stream-browserify@1.0.0/index.js +7 -7
  225. data/public/vendor/npm/stream-browserify@1.0.0/test/buf.js +5 -5
  226. data/public/vendor/npm/stream-browserify@1.0.0.js +1 -1
  227. data/public/vendor/npm/string_decoder@0.10.31/index.js +2 -2
  228. data/public/vendor/npm/string_decoder@0.10.31.js +1 -1
  229. data/public/vendor/npm/util@0.10.3/support/isBuffer.js +1 -1
  230. data/public/vendor/npm/util@0.10.3/test/browser/inspect.js +2 -2
  231. data/public/vendor/npm/util@0.10.3/test/browser/is.js +3 -3
  232. data/public/vendor/npm/util@0.10.3/test/node/debug.js +4 -4
  233. data/public/vendor/npm/util@0.10.3/test/node/format.js +2 -2
  234. data/public/vendor/npm/util@0.10.3/test/node/inspect.js +3 -3
  235. data/public/vendor/npm/util@0.10.3/test/node/log.js +3 -3
  236. data/public/vendor/npm/util@0.10.3/test/node/util.js +3 -3
  237. data/public/vendor/npm/util@0.10.3/util.js +3 -3
  238. data/public/vendor/npm/util@0.10.3.js +1 -1
  239. data/public/vendor/npm/vm-browserify@0.0.4/LICENSE +18 -0
  240. data/public/vendor/npm/vm-browserify@0.0.4/example/run/bundle.js +376 -0
  241. data/public/vendor/npm/vm-browserify@0.0.4/example/run/entry.js +6 -0
  242. data/public/vendor/npm/vm-browserify@0.0.4/example/run/index.html +9 -0
  243. data/public/vendor/npm/vm-browserify@0.0.4/example/run/server.js +6 -0
  244. data/public/vendor/npm/vm-browserify@0.0.4/index.js +139 -0
  245. data/public/vendor/npm/vm-browserify@0.0.4/package.json +46 -0
  246. data/public/vendor/npm/vm-browserify@0.0.4/readme.markdown +67 -0
  247. data/public/vendor/npm/vm-browserify@0.0.4/test/vm.js +34 -0
  248. data/public/vendor/npm/vm-browserify@0.0.4.js +1 -0
  249. data/public/vendor/npm/webshim@1.15.8/Gruntfile.js +4 -4
  250. data/public/vendor/npm/webshim@1.15.8/build/combobuild.js +2 -2
  251. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/color-picker.js +1 -1
  252. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/10.js +1 -1
  253. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/11.js +1 -1
  254. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/17.js +1 -1
  255. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/5.js +1 -1
  256. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/6.js +1 -1
  257. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/9.js +1 -1
  258. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/es6.js +1 -1
  259. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/excanvas.js +1 -1
  260. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/form-number-date-ui.js +1 -1
  261. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/moxie/js/moxie-html4.js +1 -1
  262. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/moxie/js/moxie-swf.js +1 -1
  263. data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/sizzle.js +1 -1
  264. data/public/vendor/npm/webshim@1.15.8/js-webshim/minified/shims/es6.js +1 -1
  265. data/public/vendor/npm/webshim@1.15.8/src/shims/color-picker.js +1 -1
  266. data/public/vendor/npm/webshim@1.15.8/src/shims/combos/10.js +1 -1
  267. data/public/vendor/npm/webshim@1.15.8/src/shims/combos/11.js +1 -1
  268. data/public/vendor/npm/webshim@1.15.8/src/shims/combos/17.js +1 -1
  269. data/public/vendor/npm/webshim@1.15.8/src/shims/combos/5.js +1 -1
  270. data/public/vendor/npm/webshim@1.15.8/src/shims/combos/6.js +1 -1
  271. data/public/vendor/npm/webshim@1.15.8/src/shims/combos/9.js +1 -1
  272. data/public/vendor/npm/webshim@1.15.8/src/shims/es6.js +1 -1
  273. data/public/vendor/npm/webshim@1.15.8/src/shims/excanvas.js +1 -1
  274. data/public/vendor/npm/webshim@1.15.8/src/shims/form-number-date-ui.js +1 -1
  275. data/public/vendor/npm/webshim@1.15.8/src/shims/moxie/js/moxie-html4.js +1 -1
  276. data/public/vendor/npm/webshim@1.15.8/src/shims/moxie/js/moxie-swf.js +1 -1
  277. data/public/vendor/npm/webshim@1.15.8/src/shims/sizzle.js +1 -1
  278. data/public/vendor/npm/webshim@1.15.8/tests/dist/jquery.js +1 -1
  279. data/public/vendor/npm/webshim@1.15.8/tests/jquery/unit/core.js +1 -1
  280. data/public/vendor/npm/webshim@1.15.8/tests/jquery/unit/event.js +1388 -711
  281. data/public/vendor/npm/webshim@1.15.8/tests/qunit/qunit.js +1 -1
  282. data/public/vendor/npm/webshim@1.15.8/tests/test-ext/jquery-1-custom.js +1 -1
  283. data/public/vendor/npm/webshim@1.15.8/tests/test-ext/jquery-2-custom.js +1 -1
  284. data/public/vendor/npm/webshim@1.15.8/tests/test-ext/punycode.js +1 -1
  285. data/public/vendor/system-polyfills.js +865 -1
  286. data/views/blastn_options.erb +291 -0
  287. data/views/blastp_options.erb +288 -0
  288. data/views/blastx_options.erb +318 -0
  289. data/views/error.erb +12 -0
  290. data/views/layout.erb +2 -30
  291. data/views/report.erb +0 -8
  292. data/views/search.erb +16 -9
  293. data/views/tblastn_options.erb +266 -0
  294. data/views/tblastx_options.erb +291 -0
  295. metadata +318 -439
  296. data/public/vendor/github/jspm/nodelibs-buffer@0.1.0.js +0 -1
  297. data/public/vendor/github/jspm/nodelibs-module@0.1.0/index.js +0 -1
  298. data/public/vendor/github/jspm/nodelibs-module@0.1.0.js +0 -1
  299. data/public/vendor/github/jspm/nodelibs-process@0.1.1.js +0 -1
  300. data/public/vendor/npm/amdefine@1.0.0/LICENSE +0 -58
  301. data/public/vendor/npm/amdefine@1.0.0/README.md +0 -171
  302. data/public/vendor/npm/amdefine@1.0.0/amdefine.js +0 -200
  303. data/public/vendor/npm/amdefine@1.0.0/intercept.js +0 -24
  304. data/public/vendor/npm/amdefine@1.0.0/package.json +0 -16
  305. data/public/vendor/npm/amdefine@1.0.0.js +0 -1
  306. data/public/vendor/npm/base62@0.1.1/LICENSE +0 -20
  307. data/public/vendor/npm/base62@0.1.1/Readme.md +0 -30
  308. data/public/vendor/npm/base62@0.1.1/base62.js +0 -28
  309. data/public/vendor/npm/base62@0.1.1/package.json +0 -21
  310. data/public/vendor/npm/base62@0.1.1/test/test.js +0 -13
  311. data/public/vendor/npm/base62@0.1.1.js +0 -1
  312. data/public/vendor/npm/base64-js@0.0.8/lib/b64.js +0 -125
  313. data/public/vendor/npm/base64-js@0.0.8/package.json +0 -34
  314. data/public/vendor/npm/base64-js@0.0.8/test/convert.js +0 -39
  315. data/public/vendor/npm/base64-js@0.0.8/test/url-safe.js +0 -15
  316. data/public/vendor/npm/base64-js@0.0.8.js +0 -1
  317. data/public/vendor/npm/buffer@3.4.3/index.js +0 -1533
  318. data/public/vendor/npm/buffer@3.4.3/package.json +0 -67
  319. data/public/vendor/npm/buffer@3.4.3/test/_polyfill.js +0 -152
  320. data/public/vendor/npm/buffer@3.4.3/test/base64.js +0 -33
  321. data/public/vendor/npm/buffer@3.4.3/test/basic.js +0 -58
  322. data/public/vendor/npm/buffer@3.4.3/test/compare.js +0 -53
  323. data/public/vendor/npm/buffer@3.4.3/test/constructor.js +0 -132
  324. data/public/vendor/npm/buffer@3.4.3/test/deprecated.js +0 -21
  325. data/public/vendor/npm/buffer@3.4.3/test/from-string.js +0 -105
  326. data/public/vendor/npm/buffer@3.4.3/test/methods.js +0 -109
  327. data/public/vendor/npm/buffer@3.4.3/test/node/README.txt +0 -1
  328. data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-ascii.js +0 -20
  329. data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-bytelength.js +0 -38
  330. data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-concat.js +0 -26
  331. data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-indexof.js +0 -78
  332. data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-inspect.js +0 -31
  333. data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer.js +0 -804
  334. data/public/vendor/npm/buffer@3.4.3/test/node-es6/README.txt +0 -1
  335. data/public/vendor/npm/buffer@3.4.3/test/node-es6/test-buffer-arraybuffer.js +0 -37
  336. data/public/vendor/npm/buffer@3.4.3/test/node-es6/test-buffer-iterator.js +0 -32
  337. data/public/vendor/npm/buffer@3.4.3/test/slice.js +0 -33
  338. data/public/vendor/npm/buffer@3.4.3/test/static.js +0 -32
  339. data/public/vendor/npm/buffer@3.4.3/test/to-string.js +0 -106
  340. data/public/vendor/npm/buffer@3.4.3/test/write.js +0 -90
  341. data/public/vendor/npm/buffer@3.4.3.js +0 -1
  342. data/public/vendor/npm/core-util-is@1.0.1/float.patch +0 -604
  343. data/public/vendor/npm/core-util-is@1.0.1/lib/util.js +0 -66
  344. data/public/vendor/npm/core-util-is@1.0.1/util.js +0 -66
  345. data/public/vendor/npm/core-util-is@1.0.1.js +0 -1
  346. data/public/vendor/npm/envify@3.4.0/README.md +0 -145
  347. data/public/vendor/npm/envify@3.4.0/bin/envify +0 -17
  348. data/public/vendor/npm/envify@3.4.0/custom.js +0 -33
  349. data/public/vendor/npm/envify@3.4.0/index.js +0 -4
  350. data/public/vendor/npm/envify@3.4.0/package.json +0 -35
  351. data/public/vendor/npm/envify@3.4.0/visitors.js +0 -33
  352. data/public/vendor/npm/envify@3.4.0.js +0 -1
  353. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/bin/esparse.js +0 -90
  354. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/bin/esvalidate.js +0 -145
  355. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/esprima.js +0 -6191
  356. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/package.json +0 -72
  357. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/compat.js +0 -167
  358. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/reflect.js +0 -421
  359. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/run.js +0 -34
  360. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/runner.js +0 -418
  361. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/test.js +0 -34730
  362. data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb.js +0 -1
  363. data/public/vendor/npm/ieee754@1.1.6/LICENSE +0 -56
  364. data/public/vendor/npm/ieee754@1.1.6/package.json +0 -34
  365. data/public/vendor/npm/ieee754@1.1.6/test/basic.js +0 -20
  366. data/public/vendor/npm/ieee754@1.1.6.js +0 -1
  367. data/public/vendor/npm/is-array@1.0.1/History.md +0 -11
  368. data/public/vendor/npm/is-array@1.0.1/Readme.md +0 -27
  369. data/public/vendor/npm/is-array@1.0.1/component.json +0 -13
  370. data/public/vendor/npm/is-array@1.0.1/index.js +0 -33
  371. data/public/vendor/npm/is-array@1.0.1/package.json +0 -10
  372. data/public/vendor/npm/is-array@1.0.1/test/test.html +0 -46
  373. data/public/vendor/npm/is-array@1.0.1.js +0 -1
  374. data/public/vendor/npm/jstransform@10.1.0/LICENSE +0 -201
  375. data/public/vendor/npm/jstransform@10.1.0/README.md +0 -98
  376. data/public/vendor/npm/jstransform@10.1.0/jestEnvironment.js +0 -3
  377. data/public/vendor/npm/jstransform@10.1.0/jestPreprocessor.js +0 -8
  378. data/public/vendor/npm/jstransform@10.1.0/package.json +0 -52
  379. data/public/vendor/npm/jstransform@10.1.0/polyfill/Object.es6.js +0 -54
  380. data/public/vendor/npm/jstransform@10.1.0/src/__tests__/jstransform-test.js +0 -246
  381. data/public/vendor/npm/jstransform@10.1.0/src/__tests__/jstransform-utils-test.js +0 -31
  382. data/public/vendor/npm/jstransform@10.1.0/src/docblock.js +0 -86
  383. data/public/vendor/npm/jstransform@10.1.0/src/jstransform.js +0 -180
  384. data/public/vendor/npm/jstransform@10.1.0/src/utils.js +0 -386
  385. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-arrow-function-visitors-test.js +0 -57
  386. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-call-spread-visitors-test.js +0 -46
  387. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-class-visitors-test.js +0 -463
  388. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-destructuring-visitors-test.js +0 -144
  389. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-es7-object-integration-test.js +0 -40
  390. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-object-concise-method-visitors-test.js +0 -47
  391. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-object-short-notation-visitors-test.js +0 -33
  392. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-rest-param-visitors-test.js +0 -119
  393. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-template-visitors-test.js +0 -138
  394. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es7-rest-property-helpers-test.js +0 -47
  395. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es7-spread-property-visitors-test.js +0 -90
  396. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/gen/generate-type-syntax-test.js +0 -40
  397. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/gen/type-syntax-test.rec.js +0 -846
  398. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/reserved-words-test.js +0 -40
  399. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-alias-syntax-test.js +0 -34
  400. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-class-syntax-test.js +0 -105
  401. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-function-syntax-test.js +0 -126
  402. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-interface-syntax-test.js +0 -29
  403. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-object-method-syntax-test.js +0 -65
  404. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-pattern-syntax-test.js +0 -45
  405. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-syntax-test.js +0 -46
  406. data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-variable-declaration-syntax-test.js +0 -102
  407. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-arrow-function-visitors.js +0 -66
  408. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-call-spread-visitors.js +0 -72
  409. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-class-visitors.js +0 -316
  410. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-destructuring-visitors.js +0 -135
  411. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-object-concise-method-visitors.js +0 -28
  412. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-object-short-notation-visitors.js +0 -12
  413. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-rest-param-visitors.js +0 -45
  414. data/public/vendor/npm/jstransform@10.1.0/visitors/es6-template-visitors.js +0 -90
  415. data/public/vendor/npm/jstransform@10.1.0/visitors/es7-rest-property-helpers.js +0 -80
  416. data/public/vendor/npm/jstransform@10.1.0/visitors/es7-spread-property-visitors.js +0 -56
  417. data/public/vendor/npm/jstransform@10.1.0/visitors/reserved-words-helper.js +0 -74
  418. data/public/vendor/npm/jstransform@10.1.0/visitors/reserved-words-visitors.js +0 -30
  419. data/public/vendor/npm/jstransform@10.1.0/visitors/type-syntax.js +0 -118
  420. data/public/vendor/npm/jstransform@10.1.0.js +0 -1
  421. data/public/vendor/npm/process@0.10.1/browser.js +0 -58
  422. data/public/vendor/npm/process@0.10.1.js +0 -1
  423. data/public/vendor/npm/qs@2.4.1/test/stringify.js +0 -162
  424. data/public/vendor/npm/react@0.13.3/README.md +0 -20
  425. data/public/vendor/npm/react@0.13.3/addons.js +0 -2
  426. data/public/vendor/npm/react@0.13.3/dist/JSXTransformer.js +0 -11346
  427. data/public/vendor/npm/react@0.13.3/dist/react-with-addons.js +0 -10483
  428. data/public/vendor/npm/react@0.13.3/dist/react-with-addons.min.js +0 -7297
  429. data/public/vendor/npm/react@0.13.3/dist/react.js +0 -9468
  430. data/public/vendor/npm/react@0.13.3/dist/react.min.js +0 -6764
  431. data/public/vendor/npm/react@0.13.3/lib/AutoFocusMixin.js +0 -9
  432. data/public/vendor/npm/react@0.13.3/lib/BeforeInputEventPlugin.js +0 -197
  433. data/public/vendor/npm/react@0.13.3/lib/CSSCore.js +0 -39
  434. data/public/vendor/npm/react@0.13.3/lib/CSSProperty.js +0 -123
  435. data/public/vendor/npm/react@0.13.3/lib/CSSPropertyOperations.js +0 -103
  436. data/public/vendor/npm/react@0.13.3/lib/CallbackQueue.js +0 -43
  437. data/public/vendor/npm/react@0.13.3/lib/ChangeEventPlugin.js +0 -174
  438. data/public/vendor/npm/react@0.13.3/lib/ClientReactRootIndex.js +0 -23
  439. data/public/vendor/npm/react@0.13.3/lib/DOMChildrenOperations.js +0 -57
  440. data/public/vendor/npm/react@0.13.3/lib/DOMProperty.js +0 -96
  441. data/public/vendor/npm/react@0.13.3/lib/DOMPropertyOperations.js +0 -99
  442. data/public/vendor/npm/react@0.13.3/lib/Danger.js +0 -67
  443. data/public/vendor/npm/react@0.13.3/lib/DefaultEventPluginOrder.js +0 -5
  444. data/public/vendor/npm/react@0.13.3/lib/EnterLeaveEventPlugin.js +0 -69
  445. data/public/vendor/npm/react@0.13.3/lib/EventConstants.js +0 -55
  446. data/public/vendor/npm/react@0.13.3/lib/EventListener.js +0 -34
  447. data/public/vendor/npm/react@0.13.3/lib/EventPluginHub.js +0 -103
  448. data/public/vendor/npm/react@0.13.3/lib/EventPluginRegistry.js +0 -115
  449. data/public/vendor/npm/react@0.13.3/lib/EventPluginUtils.js +0 -121
  450. data/public/vendor/npm/react@0.13.3/lib/EventPropagators.js +0 -62
  451. data/public/vendor/npm/react@0.13.3/lib/ExecutionEnvironment.js +0 -42
  452. data/public/vendor/npm/react@0.13.3/lib/FallbackCompositionState.js +0 -45
  453. data/public/vendor/npm/react@0.13.3/lib/HTMLDOMPropertyConfig.js +0 -155
  454. data/public/vendor/npm/react@0.13.3/lib/LinkedStateMixin.js +0 -8
  455. data/public/vendor/npm/react@0.13.3/lib/LinkedValueUtils.js +0 -74
  456. data/public/vendor/npm/react@0.13.3/lib/LocalEventTrapMixin.js +0 -26
  457. data/public/vendor/npm/react@0.13.3/lib/MobileSafariClickEventPlugin.js +0 -17
  458. data/public/vendor/npm/react@0.13.3/lib/Object.assign.js +0 -47
  459. data/public/vendor/npm/react@0.13.3/lib/PooledClass.js +0 -75
  460. data/public/vendor/npm/react@0.13.3/lib/React.js +0 -93
  461. data/public/vendor/npm/react@0.13.3/lib/ReactBrowserComponentMixin.js +0 -7
  462. data/public/vendor/npm/react@0.13.3/lib/ReactBrowserEventEmitter.js +0 -136
  463. data/public/vendor/npm/react@0.13.3/lib/ReactCSSTransitionGroup.js +0 -34
  464. data/public/vendor/npm/react@0.13.3/lib/ReactCSSTransitionGroupChild.js +0 -92
  465. data/public/vendor/npm/react@0.13.3/lib/ReactChildReconciler.js +0 -57
  466. data/public/vendor/npm/react@0.13.3/lib/ReactChildren.js +0 -67
  467. data/public/vendor/npm/react@0.13.3/lib/ReactClass.js +0 -338
  468. data/public/vendor/npm/react@0.13.3/lib/ReactComponent.js +0 -50
  469. data/public/vendor/npm/react@0.13.3/lib/ReactComponentBrowserEnvironment.js +0 -14
  470. data/public/vendor/npm/react@0.13.3/lib/ReactComponentEnvironment.js +0 -19
  471. data/public/vendor/npm/react@0.13.3/lib/ReactComponentWithPureRenderMixin.js +0 -7
  472. data/public/vendor/npm/react@0.13.3/lib/ReactCompositeComponent.js +0 -374
  473. data/public/vendor/npm/react@0.13.3/lib/ReactContext.js +0 -27
  474. data/public/vendor/npm/react@0.13.3/lib/ReactCurrentOwner.js +0 -32
  475. data/public/vendor/npm/react@0.13.3/lib/ReactDOM.js +0 -146
  476. data/public/vendor/npm/react@0.13.3/lib/ReactDOMButton.js +0 -35
  477. data/public/vendor/npm/react@0.13.3/lib/ReactDOMComponent.js +0 -267
  478. data/public/vendor/npm/react@0.13.3/lib/ReactDOMForm.js +0 -21
  479. data/public/vendor/npm/react@0.13.3/lib/ReactDOMIDOperations.js +0 -63
  480. data/public/vendor/npm/react@0.13.3/lib/ReactDOMIframe.js +0 -20
  481. data/public/vendor/npm/react@0.13.3/lib/ReactDOMImg.js +0 -21
  482. data/public/vendor/npm/react@0.13.3/lib/ReactDOMInput.js +0 -94
  483. data/public/vendor/npm/react@0.13.3/lib/ReactDOMOption.js +0 -23
  484. data/public/vendor/npm/react@0.13.3/lib/ReactDOMSelect.js +0 -112
  485. data/public/vendor/npm/react@0.13.3/lib/ReactDOMSelection.js +0 -103
  486. data/public/vendor/npm/react@0.13.3/lib/ReactDOMTextComponent.js +0 -38
  487. data/public/vendor/npm/react@0.13.3/lib/ReactDOMTextarea.js +0 -70
  488. data/public/vendor/npm/react@0.13.3/lib/ReactDefaultBatchingStrategy.js +0 -37
  489. data/public/vendor/npm/react@0.13.3/lib/ReactDefaultInjection.js +0 -93
  490. data/public/vendor/npm/react@0.13.3/lib/ReactDefaultPerf.js +0 -183
  491. data/public/vendor/npm/react@0.13.3/lib/ReactDefaultPerfAnalysis.js +0 -145
  492. data/public/vendor/npm/react@0.13.3/lib/ReactElement.js +0 -151
  493. data/public/vendor/npm/react@0.13.3/lib/ReactElementValidator.js +0 -218
  494. data/public/vendor/npm/react@0.13.3/lib/ReactEmptyComponent.js +0 -47
  495. data/public/vendor/npm/react@0.13.3/lib/ReactErrorUtils.js +0 -30
  496. data/public/vendor/npm/react@0.13.3/lib/ReactEventEmitterMixin.js +0 -12
  497. data/public/vendor/npm/react@0.13.3/lib/ReactEventListener.js +0 -93
  498. data/public/vendor/npm/react@0.13.3/lib/ReactFragment.js +0 -110
  499. data/public/vendor/npm/react@0.13.3/lib/ReactInjection.js +0 -27
  500. data/public/vendor/npm/react@0.13.3/lib/ReactInputSelection.js +0 -75
  501. data/public/vendor/npm/react@0.13.3/lib/ReactInstanceHandles.js +0 -113
  502. data/public/vendor/npm/react@0.13.3/lib/ReactInstanceMap.js +0 -47
  503. data/public/vendor/npm/react@0.13.3/lib/ReactLifeCycle.js +0 -9
  504. data/public/vendor/npm/react@0.13.3/lib/ReactLink.js +0 -16
  505. data/public/vendor/npm/react@0.13.3/lib/ReactMarkupChecksum.js +0 -17
  506. data/public/vendor/npm/react@0.13.3/lib/ReactMount.js +0 -347
  507. data/public/vendor/npm/react@0.13.3/lib/ReactMultiChild.js +0 -190
  508. data/public/vendor/npm/react@0.13.3/lib/ReactMultiChildUpdateTypes.js +0 -10
  509. data/public/vendor/npm/react@0.13.3/lib/ReactNativeComponent.js +0 -53
  510. data/public/vendor/npm/react@0.13.3/lib/ReactOwner.js +0 -21
  511. data/public/vendor/npm/react@0.13.3/lib/ReactPerf.js +0 -42
  512. data/public/vendor/npm/react@0.13.3/lib/ReactPropTransferer.js +0 -40
  513. data/public/vendor/npm/react@0.13.3/lib/ReactPropTypeLocationNames.js +0 -13
  514. data/public/vendor/npm/react@0.13.3/lib/ReactPropTypeLocations.js +0 -9
  515. data/public/vendor/npm/react@0.13.3/lib/ReactPropTypes.js +0 -225
  516. data/public/vendor/npm/react@0.13.3/lib/ReactPutListenerQueue.js +0 -31
  517. data/public/vendor/npm/react@0.13.3/lib/ReactReconcileTransaction.js +0 -66
  518. data/public/vendor/npm/react@0.13.3/lib/ReactReconciler.js +0 -44
  519. data/public/vendor/npm/react@0.13.3/lib/ReactRef.js +0 -36
  520. data/public/vendor/npm/react@0.13.3/lib/ReactRootIndex.js +0 -29
  521. data/public/vendor/npm/react@0.13.3/lib/ReactServerRendering.js +0 -44
  522. data/public/vendor/npm/react@0.13.3/lib/ReactServerRenderingTransaction.js +0 -47
  523. data/public/vendor/npm/react@0.13.3/lib/ReactStateSetters.js +0 -104
  524. data/public/vendor/npm/react@0.13.3/lib/ReactTestUtils.js +0 -249
  525. data/public/vendor/npm/react@0.13.3/lib/ReactTransitionChildMapping.js +0 -53
  526. data/public/vendor/npm/react@0.13.3/lib/ReactTransitionEvents.js +0 -68
  527. data/public/vendor/npm/react@0.13.3/lib/ReactTransitionGroup.js +0 -140
  528. data/public/vendor/npm/react@0.13.3/lib/ReactUpdateQueue.js +0 -107
  529. data/public/vendor/npm/react@0.13.3/lib/ReactUpdates.js +0 -139
  530. data/public/vendor/npm/react@0.13.3/lib/ReactWithAddons.js +0 -30
  531. data/public/vendor/npm/react@0.13.3/lib/SVGDOMPropertyConfig.js +0 -76
  532. data/public/vendor/npm/react@0.13.3/lib/SelectEventPlugin.js +0 -91
  533. data/public/vendor/npm/react@0.13.3/lib/ServerReactRootIndex.js +0 -29
  534. data/public/vendor/npm/react@0.13.3/lib/SimpleEventPlugin.js +0 -287
  535. data/public/vendor/npm/react@0.13.3/lib/SyntheticClipboardEvent.js +0 -11
  536. data/public/vendor/npm/react@0.13.3/lib/SyntheticCompositionEvent.js +0 -9
  537. data/public/vendor/npm/react@0.13.3/lib/SyntheticDragEvent.js +0 -9
  538. data/public/vendor/npm/react@0.13.3/lib/SyntheticEvent.js +0 -90
  539. data/public/vendor/npm/react@0.13.3/lib/SyntheticFocusEvent.js +0 -9
  540. data/public/vendor/npm/react@0.13.3/lib/SyntheticInputEvent.js +0 -9
  541. data/public/vendor/npm/react@0.13.3/lib/SyntheticKeyboardEvent.js +0 -43
  542. data/public/vendor/npm/react@0.13.3/lib/SyntheticMouseEvent.js +0 -38
  543. data/public/vendor/npm/react@0.13.3/lib/SyntheticTouchEvent.js +0 -19
  544. data/public/vendor/npm/react@0.13.3/lib/SyntheticUIEvent.js +0 -29
  545. data/public/vendor/npm/react@0.13.3/lib/SyntheticWheelEvent.js +0 -18
  546. data/public/vendor/npm/react@0.13.3/lib/Transaction.js +0 -90
  547. data/public/vendor/npm/react@0.13.3/lib/ViewportMetrics.js +0 -27
  548. data/public/vendor/npm/react@0.13.3/lib/accumulateInto.js +0 -26
  549. data/public/vendor/npm/react@0.13.3/lib/adler32.js +0 -32
  550. data/public/vendor/npm/react@0.13.3/lib/camelize.js +0 -30
  551. data/public/vendor/npm/react@0.13.3/lib/camelizeStyleName.js +0 -8
  552. data/public/vendor/npm/react@0.13.3/lib/cloneWithProps.js +0 -20
  553. data/public/vendor/npm/react@0.13.3/lib/containsNode.js +0 -20
  554. data/public/vendor/npm/react@0.13.3/lib/createArrayFromMixed.js +0 -15
  555. data/public/vendor/npm/react@0.13.3/lib/createFullPageComponent.js +0 -22
  556. data/public/vendor/npm/react@0.13.3/lib/createNodesFromMarkup.js +0 -39
  557. data/public/vendor/npm/react@0.13.3/lib/cx.js +0 -20
  558. data/public/vendor/npm/react@0.13.3/lib/dangerousStyleValue.js +0 -19
  559. data/public/vendor/npm/react@0.13.3/lib/emptyFunction.js +0 -32
  560. data/public/vendor/npm/react@0.13.3/lib/emptyObject.js +0 -9
  561. data/public/vendor/npm/react@0.13.3/lib/escapeTextContentForBrowser.js +0 -38
  562. data/public/vendor/npm/react@0.13.3/lib/findDOMNode.js +0 -31
  563. data/public/vendor/npm/react@0.13.3/lib/flattenChildren.js +0 -25
  564. data/public/vendor/npm/react@0.13.3/lib/focusNode.js +0 -27
  565. data/public/vendor/npm/react@0.13.3/lib/forEachAccumulated.js +0 -29
  566. data/public/vendor/npm/react@0.13.3/lib/getActiveElement.js +0 -27
  567. data/public/vendor/npm/react@0.13.3/lib/getEventCharCode.js +0 -50
  568. data/public/vendor/npm/react@0.13.3/lib/getEventKey.js +0 -72
  569. data/public/vendor/npm/react@0.13.3/lib/getEventModifierState.js +0 -45
  570. data/public/vendor/npm/react@0.13.3/lib/getEventTarget.js +0 -29
  571. data/public/vendor/npm/react@0.13.3/lib/getIteratorFn.js +0 -42
  572. data/public/vendor/npm/react@0.13.3/lib/getMarkupWrap.js +0 -73
  573. data/public/vendor/npm/react@0.13.3/lib/getNodeForCharacterOffset.js +0 -73
  574. data/public/vendor/npm/react@0.13.3/lib/getReactRootElementInContainer.js +0 -33
  575. data/public/vendor/npm/react@0.13.3/lib/getTextContentAccessor.js +0 -11
  576. data/public/vendor/npm/react@0.13.3/lib/getUnboundedScrollPosition.js +0 -38
  577. data/public/vendor/npm/react@0.13.3/lib/hyphenate.js +0 -31
  578. data/public/vendor/npm/react@0.13.3/lib/hyphenateStyleName.js +0 -8
  579. data/public/vendor/npm/react@0.13.3/lib/instantiateReactComponent.js +0 -55
  580. data/public/vendor/npm/react@0.13.3/lib/invariant.js +0 -26
  581. data/public/vendor/npm/react@0.13.3/lib/isEventSupported.js +0 -24
  582. data/public/vendor/npm/react@0.13.3/lib/isNode.js +0 -25
  583. data/public/vendor/npm/react@0.13.3/lib/isTextInputElement.js +0 -41
  584. data/public/vendor/npm/react@0.13.3/lib/isTextNode.js +0 -6
  585. data/public/vendor/npm/react@0.13.3/lib/joinClasses.js +0 -39
  586. data/public/vendor/npm/react@0.13.3/lib/keyMirror.js +0 -18
  587. data/public/vendor/npm/react@0.13.3/lib/keyOf.js +0 -34
  588. data/public/vendor/npm/react@0.13.3/lib/mapObject.js +0 -51
  589. data/public/vendor/npm/react@0.13.3/lib/memoizeStringOnly.js +0 -31
  590. data/public/vendor/npm/react@0.13.3/lib/onlyChild.js +0 -11
  591. data/public/vendor/npm/react@0.13.3/lib/performance.js +0 -8
  592. data/public/vendor/npm/react@0.13.3/lib/performanceNow.js +0 -7
  593. data/public/vendor/npm/react@0.13.3/lib/quoteAttributeValueForBrowser.js +0 -7
  594. data/public/vendor/npm/react@0.13.3/lib/setInnerHTML.js +0 -40
  595. data/public/vendor/npm/react@0.13.3/lib/setTextContent.js +0 -16
  596. data/public/vendor/npm/react@0.13.3/lib/shallowEqual.js +0 -42
  597. data/public/vendor/npm/react@0.13.3/lib/shouldUpdateReactComponent.js +0 -51
  598. data/public/vendor/npm/react@0.13.3/lib/toArray.js +0 -21
  599. data/public/vendor/npm/react@0.13.3/lib/traverseAllChildren.js +0 -104
  600. data/public/vendor/npm/react@0.13.3/lib/update.js +0 -78
  601. data/public/vendor/npm/react@0.13.3/lib/warning.js +0 -34
  602. data/public/vendor/npm/react@0.13.3/package.json +0 -34
  603. data/public/vendor/npm/react@0.13.3/react.js +0 -2
  604. data/public/vendor/npm/react@0.13.3.js +0 -1
  605. data/public/vendor/npm/readable-stream@1.1.13/duplex.js +0 -2
  606. data/public/vendor/npm/readable-stream@1.1.13/passthrough.js +0 -2
  607. data/public/vendor/npm/readable-stream@1.1.13/readable.js +0 -8
  608. data/public/vendor/npm/readable-stream@1.1.13/transform.js +0 -2
  609. data/public/vendor/npm/readable-stream@1.1.13/writable.js +0 -2
  610. data/public/vendor/npm/readable-stream@1.1.13.js +0 -1
  611. data/public/vendor/npm/source-map@0.1.31/CHANGELOG.md +0 -112
  612. data/public/vendor/npm/source-map@0.1.31/LICENSE +0 -28
  613. data/public/vendor/npm/source-map@0.1.31/Makefile.dryice.js +0 -89
  614. data/public/vendor/npm/source-map@0.1.31/README.md +0 -434
  615. data/public/vendor/npm/source-map@0.1.31/build/assert-shim.js +0 -58
  616. data/public/vendor/npm/source-map@0.1.31/build/mini-require.js +0 -154
  617. data/public/vendor/npm/source-map@0.1.31/build/prefix-source-map.jsm +0 -20
  618. data/public/vendor/npm/source-map@0.1.31/build/prefix-utils.jsm +0 -18
  619. data/public/vendor/npm/source-map@0.1.31/build/suffix-browser.js +0 -8
  620. data/public/vendor/npm/source-map@0.1.31/build/suffix-source-map.jsm +0 -6
  621. data/public/vendor/npm/source-map@0.1.31/build/suffix-utils.jsm +0 -21
  622. data/public/vendor/npm/source-map@0.1.31/build/test-prefix.js +0 -10
  623. data/public/vendor/npm/source-map@0.1.31/build/test-suffix.js +0 -5
  624. data/public/vendor/npm/source-map@0.1.31/lib/source-map/array-set.js +0 -49
  625. data/public/vendor/npm/source-map@0.1.31/lib/source-map/base64-vlq.js +0 -56
  626. data/public/vendor/npm/source-map@0.1.31/lib/source-map/base64.js +0 -44
  627. data/public/vendor/npm/source-map@0.1.31/lib/source-map/binary-search.js +0 -83
  628. data/public/vendor/npm/source-map@0.1.31/lib/source-map/source-map-consumer.js +0 -238
  629. data/public/vendor/npm/source-map@0.1.31/lib/source-map/source-map-generator.js +0 -231
  630. data/public/vendor/npm/source-map@0.1.31/lib/source-map/source-node.js +0 -234
  631. data/public/vendor/npm/source-map@0.1.31/lib/source-map/util.js +0 -207
  632. data/public/vendor/npm/source-map@0.1.31/lib/source-map.js +0 -4
  633. data/public/vendor/npm/source-map@0.1.31/package.json +0 -52
  634. data/public/vendor/npm/source-map@0.1.31/test/run-tests.js +0 -50
  635. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-api.js +0 -19
  636. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-array-set.js +0 -84
  637. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-base64-vlq.js +0 -17
  638. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-base64.js +0 -26
  639. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-binary-search.js +0 -37
  640. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-dog-fooding.js +0 -76
  641. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-source-map-consumer.js +0 -426
  642. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-source-map-generator.js +0 -480
  643. data/public/vendor/npm/source-map@0.1.31/test/source-map/test-source-node.js +0 -307
  644. data/public/vendor/npm/source-map@0.1.31/test/source-map/util.js +0 -84
  645. data/public/vendor/npm/source-map@0.1.31.js +0 -1
  646. data/public/vendor/npm/through@2.3.8/LICENSE.APACHE2 +0 -15
  647. data/public/vendor/npm/through@2.3.8/LICENSE.MIT +0 -24
  648. data/public/vendor/npm/through@2.3.8/index.js +0 -93
  649. data/public/vendor/npm/through@2.3.8/package.json +0 -36
  650. data/public/vendor/npm/through@2.3.8/readme.markdown +0 -64
  651. data/public/vendor/npm/through@2.3.8/test/async.js +0 -26
  652. data/public/vendor/npm/through@2.3.8/test/auto-destroy.js +0 -26
  653. data/public/vendor/npm/through@2.3.8/test/buffering.js +0 -57
  654. data/public/vendor/npm/through@2.3.8/test/end.js +0 -37
  655. data/public/vendor/npm/through@2.3.8/test/index.js +0 -98
  656. data/public/vendor/npm/through@2.3.8/test.js +0 -2
  657. data/public/vendor/npm/through@2.3.8.js +0 -1
  658. data/views/_options.erb +0 -156
  659. /data/public/vendor/github/jspm/{nodelibs-buffer@0.1.0 → nodelibs-buffer@0.1.1}/index.js +0 -0
  660. /data/public/vendor/github/jspm/{nodelibs-process@0.1.1 → nodelibs-process@0.1.2}/index.js +0 -0
  661. /data/public/vendor/npm/{readable-stream@1.1.13 → assert@1.5.0}/LICENSE +0 -0
  662. /data/public/vendor/npm/{buffer@3.4.3 → buffer@5.7.1}/LICENSE +0 -0
  663. /data/public/vendor/npm/{core-util-is@1.0.1 → core-util-is@1.0.3}/README.md +0 -0
  664. /data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/LICENSE +0 -0
  665. /data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/index.js +0 -0
  666. /data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/README.md +0 -0
  667. /data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/float.patch +0 -0
@@ -0,0 +1,2186 @@
1
+ /* */
2
+ "format cjs";
3
+ (function(process) {
4
+ (function(global, factory) {
5
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.React = {}));
6
+ }(this, (function(exports) {
7
+ 'use strict';
8
+ var ReactVersion = '18.0.0-fc46dba67-20220329';
9
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
10
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
11
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
12
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
13
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
14
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
15
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
16
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
17
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
18
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
19
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
20
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
21
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
22
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
23
+ var FAUX_ITERATOR_SYMBOL = '@@iterator';
24
+ function getIteratorFn(maybeIterable) {
25
+ if (maybeIterable === null || typeof maybeIterable !== 'object') {
26
+ return null;
27
+ }
28
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
29
+ if (typeof maybeIterator === 'function') {
30
+ return maybeIterator;
31
+ }
32
+ return null;
33
+ }
34
+ var ReactCurrentDispatcher = {current: null};
35
+ var ReactCurrentBatchConfig = {transition: null};
36
+ var ReactCurrentActQueue = {
37
+ current: null,
38
+ isBatchingLegacy: false,
39
+ didScheduleLegacyUpdate: false
40
+ };
41
+ var ReactCurrentOwner = {current: null};
42
+ var ReactDebugCurrentFrame = {};
43
+ var currentExtraStackFrame = null;
44
+ function setExtraStackFrame(stack) {
45
+ {
46
+ currentExtraStackFrame = stack;
47
+ }
48
+ }
49
+ {
50
+ ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
51
+ {
52
+ currentExtraStackFrame = stack;
53
+ }
54
+ };
55
+ ReactDebugCurrentFrame.getCurrentStack = null;
56
+ ReactDebugCurrentFrame.getStackAddendum = function() {
57
+ var stack = '';
58
+ if (currentExtraStackFrame) {
59
+ stack += currentExtraStackFrame;
60
+ }
61
+ var impl = ReactDebugCurrentFrame.getCurrentStack;
62
+ if (impl) {
63
+ stack += impl() || '';
64
+ }
65
+ return stack;
66
+ };
67
+ }
68
+ var enableScopeAPI = false;
69
+ var enableCacheElement = false;
70
+ var enableTransitionTracing = false;
71
+ var enableLegacyHidden = false;
72
+ var enableDebugTracing = false;
73
+ var ReactSharedInternals = {
74
+ ReactCurrentDispatcher: ReactCurrentDispatcher,
75
+ ReactCurrentBatchConfig: ReactCurrentBatchConfig,
76
+ ReactCurrentOwner: ReactCurrentOwner
77
+ };
78
+ {
79
+ ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
80
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
81
+ }
82
+ function warn(format) {
83
+ {
84
+ {
85
+ for (var _len = arguments.length,
86
+ args = new Array(_len > 1 ? _len - 1 : 0),
87
+ _key = 1; _key < _len; _key++) {
88
+ args[_key - 1] = arguments[_key];
89
+ }
90
+ printWarning('warn', format, args);
91
+ }
92
+ }
93
+ }
94
+ function error(format) {
95
+ {
96
+ {
97
+ for (var _len2 = arguments.length,
98
+ args = new Array(_len2 > 1 ? _len2 - 1 : 0),
99
+ _key2 = 1; _key2 < _len2; _key2++) {
100
+ args[_key2 - 1] = arguments[_key2];
101
+ }
102
+ printWarning('error', format, args);
103
+ }
104
+ }
105
+ }
106
+ function printWarning(level, format, args) {
107
+ {
108
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
109
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
110
+ if (stack !== '') {
111
+ format += '%s';
112
+ args = args.concat([stack]);
113
+ }
114
+ var argsWithFormat = args.map(function(item) {
115
+ return String(item);
116
+ });
117
+ argsWithFormat.unshift('Warning: ' + format);
118
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
119
+ }
120
+ }
121
+ var didWarnStateUpdateForUnmountedComponent = {};
122
+ function warnNoop(publicInstance, callerName) {
123
+ {
124
+ var _constructor = publicInstance.constructor;
125
+ var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
126
+ var warningKey = componentName + "." + callerName;
127
+ if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
128
+ return;
129
+ }
130
+ error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
131
+ didWarnStateUpdateForUnmountedComponent[warningKey] = true;
132
+ }
133
+ }
134
+ var ReactNoopUpdateQueue = {
135
+ isMounted: function(publicInstance) {
136
+ return false;
137
+ },
138
+ enqueueForceUpdate: function(publicInstance, callback, callerName) {
139
+ warnNoop(publicInstance, 'forceUpdate');
140
+ },
141
+ enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
142
+ warnNoop(publicInstance, 'replaceState');
143
+ },
144
+ enqueueSetState: function(publicInstance, partialState, callback, callerName) {
145
+ warnNoop(publicInstance, 'setState');
146
+ }
147
+ };
148
+ var assign = Object.assign;
149
+ var emptyObject = {};
150
+ {
151
+ Object.freeze(emptyObject);
152
+ }
153
+ function Component(props, context, updater) {
154
+ this.props = props;
155
+ this.context = context;
156
+ this.refs = emptyObject;
157
+ this.updater = updater || ReactNoopUpdateQueue;
158
+ }
159
+ Component.prototype.isReactComponent = {};
160
+ Component.prototype.setState = function(partialState, callback) {
161
+ if (typeof partialState !== 'object' && typeof partialState !== 'function' && partialState != null) {
162
+ throw new Error('setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.');
163
+ }
164
+ this.updater.enqueueSetState(this, partialState, callback, 'setState');
165
+ };
166
+ Component.prototype.forceUpdate = function(callback) {
167
+ this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
168
+ };
169
+ {
170
+ var deprecatedAPIs = {
171
+ isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
172
+ replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
173
+ };
174
+ var defineDeprecationWarning = function(methodName, info) {
175
+ Object.defineProperty(Component.prototype, methodName, {get: function() {
176
+ warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
177
+ return undefined;
178
+ }});
179
+ };
180
+ for (var fnName in deprecatedAPIs) {
181
+ if (deprecatedAPIs.hasOwnProperty(fnName)) {
182
+ defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
183
+ }
184
+ }
185
+ }
186
+ function ComponentDummy() {}
187
+ ComponentDummy.prototype = Component.prototype;
188
+ function PureComponent(props, context, updater) {
189
+ this.props = props;
190
+ this.context = context;
191
+ this.refs = emptyObject;
192
+ this.updater = updater || ReactNoopUpdateQueue;
193
+ }
194
+ var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
195
+ pureComponentPrototype.constructor = PureComponent;
196
+ assign(pureComponentPrototype, Component.prototype);
197
+ pureComponentPrototype.isPureReactComponent = true;
198
+ function createRef() {
199
+ var refObject = {current: null};
200
+ {
201
+ Object.seal(refObject);
202
+ }
203
+ return refObject;
204
+ }
205
+ var isArrayImpl = Array.isArray;
206
+ function isArray(a) {
207
+ return isArrayImpl(a);
208
+ }
209
+ function typeName(value) {
210
+ {
211
+ var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
212
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
213
+ return type;
214
+ }
215
+ }
216
+ function willCoercionThrow(value) {
217
+ {
218
+ try {
219
+ testStringCoercion(value);
220
+ return false;
221
+ } catch (e) {
222
+ return true;
223
+ }
224
+ }
225
+ }
226
+ function testStringCoercion(value) {
227
+ return '' + value;
228
+ }
229
+ function checkKeyStringCoercion(value) {
230
+ {
231
+ if (willCoercionThrow(value)) {
232
+ error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
233
+ return testStringCoercion(value);
234
+ }
235
+ }
236
+ }
237
+ function getWrappedName(outerType, innerType, wrapperName) {
238
+ var displayName = outerType.displayName;
239
+ if (displayName) {
240
+ return displayName;
241
+ }
242
+ var functionName = innerType.displayName || innerType.name || '';
243
+ return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
244
+ }
245
+ function getContextName(type) {
246
+ return type.displayName || 'Context';
247
+ }
248
+ function getComponentNameFromType(type) {
249
+ if (type == null) {
250
+ return null;
251
+ }
252
+ {
253
+ if (typeof type.tag === 'number') {
254
+ error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
255
+ }
256
+ }
257
+ if (typeof type === 'function') {
258
+ return type.displayName || type.name || null;
259
+ }
260
+ if (typeof type === 'string') {
261
+ return type;
262
+ }
263
+ switch (type) {
264
+ case REACT_FRAGMENT_TYPE:
265
+ return 'Fragment';
266
+ case REACT_PORTAL_TYPE:
267
+ return 'Portal';
268
+ case REACT_PROFILER_TYPE:
269
+ return 'Profiler';
270
+ case REACT_STRICT_MODE_TYPE:
271
+ return 'StrictMode';
272
+ case REACT_SUSPENSE_TYPE:
273
+ return 'Suspense';
274
+ case REACT_SUSPENSE_LIST_TYPE:
275
+ return 'SuspenseList';
276
+ }
277
+ if (typeof type === 'object') {
278
+ switch (type.$$typeof) {
279
+ case REACT_CONTEXT_TYPE:
280
+ var context = type;
281
+ return getContextName(context) + '.Consumer';
282
+ case REACT_PROVIDER_TYPE:
283
+ var provider = type;
284
+ return getContextName(provider._context) + '.Provider';
285
+ case REACT_FORWARD_REF_TYPE:
286
+ return getWrappedName(type, type.render, 'ForwardRef');
287
+ case REACT_MEMO_TYPE:
288
+ var outerName = type.displayName || null;
289
+ if (outerName !== null) {
290
+ return outerName;
291
+ }
292
+ return getComponentNameFromType(type.type) || 'Memo';
293
+ case REACT_LAZY_TYPE:
294
+ {
295
+ var lazyComponent = type;
296
+ var payload = lazyComponent._payload;
297
+ var init = lazyComponent._init;
298
+ try {
299
+ return getComponentNameFromType(init(payload));
300
+ } catch (x) {
301
+ return null;
302
+ }
303
+ }
304
+ }
305
+ }
306
+ return null;
307
+ }
308
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
309
+ var RESERVED_PROPS = {
310
+ key: true,
311
+ ref: true,
312
+ __self: true,
313
+ __source: true
314
+ };
315
+ var specialPropKeyWarningShown,
316
+ specialPropRefWarningShown,
317
+ didWarnAboutStringRefs;
318
+ {
319
+ didWarnAboutStringRefs = {};
320
+ }
321
+ function hasValidRef(config) {
322
+ {
323
+ if (hasOwnProperty.call(config, 'ref')) {
324
+ var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
325
+ if (getter && getter.isReactWarning) {
326
+ return false;
327
+ }
328
+ }
329
+ }
330
+ return config.ref !== undefined;
331
+ }
332
+ function hasValidKey(config) {
333
+ {
334
+ if (hasOwnProperty.call(config, 'key')) {
335
+ var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
336
+ if (getter && getter.isReactWarning) {
337
+ return false;
338
+ }
339
+ }
340
+ }
341
+ return config.key !== undefined;
342
+ }
343
+ function defineKeyPropWarningGetter(props, displayName) {
344
+ var warnAboutAccessingKey = function() {
345
+ {
346
+ if (!specialPropKeyWarningShown) {
347
+ specialPropKeyWarningShown = true;
348
+ error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
349
+ }
350
+ }
351
+ };
352
+ warnAboutAccessingKey.isReactWarning = true;
353
+ Object.defineProperty(props, 'key', {
354
+ get: warnAboutAccessingKey,
355
+ configurable: true
356
+ });
357
+ }
358
+ function defineRefPropWarningGetter(props, displayName) {
359
+ var warnAboutAccessingRef = function() {
360
+ {
361
+ if (!specialPropRefWarningShown) {
362
+ specialPropRefWarningShown = true;
363
+ error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
364
+ }
365
+ }
366
+ };
367
+ warnAboutAccessingRef.isReactWarning = true;
368
+ Object.defineProperty(props, 'ref', {
369
+ get: warnAboutAccessingRef,
370
+ configurable: true
371
+ });
372
+ }
373
+ function warnIfStringRefCannotBeAutoConverted(config) {
374
+ {
375
+ if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
376
+ var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
377
+ if (!didWarnAboutStringRefs[componentName]) {
378
+ error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
379
+ didWarnAboutStringRefs[componentName] = true;
380
+ }
381
+ }
382
+ }
383
+ }
384
+ var ReactElement = function(type, key, ref, self, source, owner, props) {
385
+ var element = {
386
+ $$typeof: REACT_ELEMENT_TYPE,
387
+ type: type,
388
+ key: key,
389
+ ref: ref,
390
+ props: props,
391
+ _owner: owner
392
+ };
393
+ {
394
+ element._store = {};
395
+ Object.defineProperty(element._store, 'validated', {
396
+ configurable: false,
397
+ enumerable: false,
398
+ writable: true,
399
+ value: false
400
+ });
401
+ Object.defineProperty(element, '_self', {
402
+ configurable: false,
403
+ enumerable: false,
404
+ writable: false,
405
+ value: self
406
+ });
407
+ Object.defineProperty(element, '_source', {
408
+ configurable: false,
409
+ enumerable: false,
410
+ writable: false,
411
+ value: source
412
+ });
413
+ if (Object.freeze) {
414
+ Object.freeze(element.props);
415
+ Object.freeze(element);
416
+ }
417
+ }
418
+ return element;
419
+ };
420
+ function createElement(type, config, children) {
421
+ var propName;
422
+ var props = {};
423
+ var key = null;
424
+ var ref = null;
425
+ var self = null;
426
+ var source = null;
427
+ if (config != null) {
428
+ if (hasValidRef(config)) {
429
+ ref = config.ref;
430
+ {
431
+ warnIfStringRefCannotBeAutoConverted(config);
432
+ }
433
+ }
434
+ if (hasValidKey(config)) {
435
+ {
436
+ checkKeyStringCoercion(config.key);
437
+ }
438
+ key = '' + config.key;
439
+ }
440
+ self = config.__self === undefined ? null : config.__self;
441
+ source = config.__source === undefined ? null : config.__source;
442
+ for (propName in config) {
443
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
444
+ props[propName] = config[propName];
445
+ }
446
+ }
447
+ }
448
+ var childrenLength = arguments.length - 2;
449
+ if (childrenLength === 1) {
450
+ props.children = children;
451
+ } else if (childrenLength > 1) {
452
+ var childArray = Array(childrenLength);
453
+ for (var i = 0; i < childrenLength; i++) {
454
+ childArray[i] = arguments[i + 2];
455
+ }
456
+ {
457
+ if (Object.freeze) {
458
+ Object.freeze(childArray);
459
+ }
460
+ }
461
+ props.children = childArray;
462
+ }
463
+ if (type && type.defaultProps) {
464
+ var defaultProps = type.defaultProps;
465
+ for (propName in defaultProps) {
466
+ if (props[propName] === undefined) {
467
+ props[propName] = defaultProps[propName];
468
+ }
469
+ }
470
+ }
471
+ {
472
+ if (key || ref) {
473
+ var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
474
+ if (key) {
475
+ defineKeyPropWarningGetter(props, displayName);
476
+ }
477
+ if (ref) {
478
+ defineRefPropWarningGetter(props, displayName);
479
+ }
480
+ }
481
+ }
482
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
483
+ }
484
+ function cloneAndReplaceKey(oldElement, newKey) {
485
+ var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
486
+ return newElement;
487
+ }
488
+ function cloneElement(element, config, children) {
489
+ if (element === null || element === undefined) {
490
+ throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
491
+ }
492
+ var propName;
493
+ var props = assign({}, element.props);
494
+ var key = element.key;
495
+ var ref = element.ref;
496
+ var self = element._self;
497
+ var source = element._source;
498
+ var owner = element._owner;
499
+ if (config != null) {
500
+ if (hasValidRef(config)) {
501
+ ref = config.ref;
502
+ owner = ReactCurrentOwner.current;
503
+ }
504
+ if (hasValidKey(config)) {
505
+ {
506
+ checkKeyStringCoercion(config.key);
507
+ }
508
+ key = '' + config.key;
509
+ }
510
+ var defaultProps;
511
+ if (element.type && element.type.defaultProps) {
512
+ defaultProps = element.type.defaultProps;
513
+ }
514
+ for (propName in config) {
515
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
516
+ if (config[propName] === undefined && defaultProps !== undefined) {
517
+ props[propName] = defaultProps[propName];
518
+ } else {
519
+ props[propName] = config[propName];
520
+ }
521
+ }
522
+ }
523
+ }
524
+ var childrenLength = arguments.length - 2;
525
+ if (childrenLength === 1) {
526
+ props.children = children;
527
+ } else if (childrenLength > 1) {
528
+ var childArray = Array(childrenLength);
529
+ for (var i = 0; i < childrenLength; i++) {
530
+ childArray[i] = arguments[i + 2];
531
+ }
532
+ props.children = childArray;
533
+ }
534
+ return ReactElement(element.type, key, ref, self, source, owner, props);
535
+ }
536
+ function isValidElement(object) {
537
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
538
+ }
539
+ var SEPARATOR = '.';
540
+ var SUBSEPARATOR = ':';
541
+ function escape(key) {
542
+ var escapeRegex = /[=:]/g;
543
+ var escaperLookup = {
544
+ '=': '=0',
545
+ ':': '=2'
546
+ };
547
+ var escapedString = key.replace(escapeRegex, function(match) {
548
+ return escaperLookup[match];
549
+ });
550
+ return '$' + escapedString;
551
+ }
552
+ var didWarnAboutMaps = false;
553
+ var userProvidedKeyEscapeRegex = /\/+/g;
554
+ function escapeUserProvidedKey(text) {
555
+ return text.replace(userProvidedKeyEscapeRegex, '$&/');
556
+ }
557
+ function getElementKey(element, index) {
558
+ if (typeof element === 'object' && element !== null && element.key != null) {
559
+ {
560
+ checkKeyStringCoercion(element.key);
561
+ }
562
+ return escape('' + element.key);
563
+ }
564
+ return index.toString(36);
565
+ }
566
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
567
+ var type = typeof children;
568
+ if (type === 'undefined' || type === 'boolean') {
569
+ children = null;
570
+ }
571
+ var invokeCallback = false;
572
+ if (children === null) {
573
+ invokeCallback = true;
574
+ } else {
575
+ switch (type) {
576
+ case 'string':
577
+ case 'number':
578
+ invokeCallback = true;
579
+ break;
580
+ case 'object':
581
+ switch (children.$$typeof) {
582
+ case REACT_ELEMENT_TYPE:
583
+ case REACT_PORTAL_TYPE:
584
+ invokeCallback = true;
585
+ }
586
+ }
587
+ }
588
+ if (invokeCallback) {
589
+ var _child = children;
590
+ var mappedChild = callback(_child);
591
+ var childKey = nameSoFar === '' ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
592
+ if (isArray(mappedChild)) {
593
+ var escapedChildKey = '';
594
+ if (childKey != null) {
595
+ escapedChildKey = escapeUserProvidedKey(childKey) + '/';
596
+ }
597
+ mapIntoArray(mappedChild, array, escapedChildKey, '', function(c) {
598
+ return c;
599
+ });
600
+ } else if (mappedChild != null) {
601
+ if (isValidElement(mappedChild)) {
602
+ {
603
+ if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
604
+ checkKeyStringCoercion(mappedChild.key);
605
+ }
606
+ }
607
+ mappedChild = cloneAndReplaceKey(mappedChild, escapedPrefix + (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? escapeUserProvidedKey('' + mappedChild.key) + '/' : '') + childKey);
608
+ }
609
+ array.push(mappedChild);
610
+ }
611
+ return 1;
612
+ }
613
+ var child;
614
+ var nextName;
615
+ var subtreeCount = 0;
616
+ var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
617
+ if (isArray(children)) {
618
+ for (var i = 0; i < children.length; i++) {
619
+ child = children[i];
620
+ nextName = nextNamePrefix + getElementKey(child, i);
621
+ subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
622
+ }
623
+ } else {
624
+ var iteratorFn = getIteratorFn(children);
625
+ if (typeof iteratorFn === 'function') {
626
+ var iterableChildren = children;
627
+ {
628
+ if (iteratorFn === iterableChildren.entries) {
629
+ if (!didWarnAboutMaps) {
630
+ warn('Using Maps as children is not supported. ' + 'Use an array of keyed ReactElements instead.');
631
+ }
632
+ didWarnAboutMaps = true;
633
+ }
634
+ }
635
+ var iterator = iteratorFn.call(iterableChildren);
636
+ var step;
637
+ var ii = 0;
638
+ while (!(step = iterator.next()).done) {
639
+ child = step.value;
640
+ nextName = nextNamePrefix + getElementKey(child, ii++);
641
+ subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
642
+ }
643
+ } else if (type === 'object') {
644
+ var childrenString = String(children);
645
+ throw new Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + "). " + 'If you meant to render a collection of children, use an array ' + 'instead.');
646
+ }
647
+ }
648
+ return subtreeCount;
649
+ }
650
+ function mapChildren(children, func, context) {
651
+ if (children == null) {
652
+ return children;
653
+ }
654
+ var result = [];
655
+ var count = 0;
656
+ mapIntoArray(children, result, '', '', function(child) {
657
+ return func.call(context, child, count++);
658
+ });
659
+ return result;
660
+ }
661
+ function countChildren(children) {
662
+ var n = 0;
663
+ mapChildren(children, function() {
664
+ n++;
665
+ });
666
+ return n;
667
+ }
668
+ function forEachChildren(children, forEachFunc, forEachContext) {
669
+ mapChildren(children, function() {
670
+ forEachFunc.apply(this, arguments);
671
+ }, forEachContext);
672
+ }
673
+ function toArray(children) {
674
+ return mapChildren(children, function(child) {
675
+ return child;
676
+ }) || [];
677
+ }
678
+ function onlyChild(children) {
679
+ if (!isValidElement(children)) {
680
+ throw new Error('React.Children.only expected to receive a single React element child.');
681
+ }
682
+ return children;
683
+ }
684
+ function createContext(defaultValue) {
685
+ var context = {
686
+ $$typeof: REACT_CONTEXT_TYPE,
687
+ _currentValue: defaultValue,
688
+ _currentValue2: defaultValue,
689
+ _threadCount: 0,
690
+ Provider: null,
691
+ Consumer: null,
692
+ _defaultValue: null,
693
+ _globalName: null
694
+ };
695
+ context.Provider = {
696
+ $$typeof: REACT_PROVIDER_TYPE,
697
+ _context: context
698
+ };
699
+ var hasWarnedAboutUsingNestedContextConsumers = false;
700
+ var hasWarnedAboutUsingConsumerProvider = false;
701
+ var hasWarnedAboutDisplayNameOnConsumer = false;
702
+ {
703
+ var Consumer = {
704
+ $$typeof: REACT_CONTEXT_TYPE,
705
+ _context: context
706
+ };
707
+ Object.defineProperties(Consumer, {
708
+ Provider: {
709
+ get: function() {
710
+ if (!hasWarnedAboutUsingConsumerProvider) {
711
+ hasWarnedAboutUsingConsumerProvider = true;
712
+ error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
713
+ }
714
+ return context.Provider;
715
+ },
716
+ set: function(_Provider) {
717
+ context.Provider = _Provider;
718
+ }
719
+ },
720
+ _currentValue: {
721
+ get: function() {
722
+ return context._currentValue;
723
+ },
724
+ set: function(_currentValue) {
725
+ context._currentValue = _currentValue;
726
+ }
727
+ },
728
+ _currentValue2: {
729
+ get: function() {
730
+ return context._currentValue2;
731
+ },
732
+ set: function(_currentValue2) {
733
+ context._currentValue2 = _currentValue2;
734
+ }
735
+ },
736
+ _threadCount: {
737
+ get: function() {
738
+ return context._threadCount;
739
+ },
740
+ set: function(_threadCount) {
741
+ context._threadCount = _threadCount;
742
+ }
743
+ },
744
+ Consumer: {get: function() {
745
+ if (!hasWarnedAboutUsingNestedContextConsumers) {
746
+ hasWarnedAboutUsingNestedContextConsumers = true;
747
+ error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
748
+ }
749
+ return context.Consumer;
750
+ }},
751
+ displayName: {
752
+ get: function() {
753
+ return context.displayName;
754
+ },
755
+ set: function(displayName) {
756
+ if (!hasWarnedAboutDisplayNameOnConsumer) {
757
+ warn('Setting `displayName` on Context.Consumer has no effect. ' + "You should set it directly on the context with Context.displayName = '%s'.", displayName);
758
+ hasWarnedAboutDisplayNameOnConsumer = true;
759
+ }
760
+ }
761
+ }
762
+ });
763
+ context.Consumer = Consumer;
764
+ }
765
+ {
766
+ context._currentRenderer = null;
767
+ context._currentRenderer2 = null;
768
+ }
769
+ return context;
770
+ }
771
+ var Uninitialized = -1;
772
+ var Pending = 0;
773
+ var Resolved = 1;
774
+ var Rejected = 2;
775
+ function lazyInitializer(payload) {
776
+ if (payload._status === Uninitialized) {
777
+ var ctor = payload._result;
778
+ var thenable = ctor();
779
+ thenable.then(function(moduleObject) {
780
+ if (payload._status === Pending || payload._status === Uninitialized) {
781
+ var resolved = payload;
782
+ resolved._status = Resolved;
783
+ resolved._result = moduleObject;
784
+ }
785
+ }, function(error) {
786
+ if (payload._status === Pending || payload._status === Uninitialized) {
787
+ var rejected = payload;
788
+ rejected._status = Rejected;
789
+ rejected._result = error;
790
+ }
791
+ });
792
+ if (payload._status === Uninitialized) {
793
+ var pending = payload;
794
+ pending._status = Pending;
795
+ pending._result = thenable;
796
+ }
797
+ }
798
+ if (payload._status === Resolved) {
799
+ var moduleObject = payload._result;
800
+ {
801
+ if (moduleObject === undefined) {
802
+ error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + 'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
803
+ }
804
+ }
805
+ {
806
+ if (!('default' in moduleObject)) {
807
+ error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + 'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
808
+ }
809
+ }
810
+ return moduleObject.default;
811
+ } else {
812
+ throw payload._result;
813
+ }
814
+ }
815
+ function lazy(ctor) {
816
+ var payload = {
817
+ _status: Uninitialized,
818
+ _result: ctor
819
+ };
820
+ var lazyType = {
821
+ $$typeof: REACT_LAZY_TYPE,
822
+ _payload: payload,
823
+ _init: lazyInitializer
824
+ };
825
+ {
826
+ var defaultProps;
827
+ var propTypes;
828
+ Object.defineProperties(lazyType, {
829
+ defaultProps: {
830
+ configurable: true,
831
+ get: function() {
832
+ return defaultProps;
833
+ },
834
+ set: function(newDefaultProps) {
835
+ error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
836
+ defaultProps = newDefaultProps;
837
+ Object.defineProperty(lazyType, 'defaultProps', {enumerable: true});
838
+ }
839
+ },
840
+ propTypes: {
841
+ configurable: true,
842
+ get: function() {
843
+ return propTypes;
844
+ },
845
+ set: function(newPropTypes) {
846
+ error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
847
+ propTypes = newPropTypes;
848
+ Object.defineProperty(lazyType, 'propTypes', {enumerable: true});
849
+ }
850
+ }
851
+ });
852
+ }
853
+ return lazyType;
854
+ }
855
+ function forwardRef(render) {
856
+ {
857
+ if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
858
+ error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
859
+ } else if (typeof render !== 'function') {
860
+ error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
861
+ } else {
862
+ if (render.length !== 0 && render.length !== 2) {
863
+ error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
864
+ }
865
+ }
866
+ if (render != null) {
867
+ if (render.defaultProps != null || render.propTypes != null) {
868
+ error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
869
+ }
870
+ }
871
+ }
872
+ var elementType = {
873
+ $$typeof: REACT_FORWARD_REF_TYPE,
874
+ render: render
875
+ };
876
+ {
877
+ var ownName;
878
+ Object.defineProperty(elementType, 'displayName', {
879
+ enumerable: false,
880
+ configurable: true,
881
+ get: function() {
882
+ return ownName;
883
+ },
884
+ set: function(name) {
885
+ ownName = name;
886
+ if (!render.name && !render.displayName) {
887
+ render.displayName = name;
888
+ }
889
+ }
890
+ });
891
+ }
892
+ return elementType;
893
+ }
894
+ var REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
895
+ function isValidElementType(type) {
896
+ if (typeof type === 'string' || typeof type === 'function') {
897
+ return true;
898
+ }
899
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
900
+ return true;
901
+ }
902
+ if (typeof type === 'object' && type !== null) {
903
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
904
+ return true;
905
+ }
906
+ }
907
+ return false;
908
+ }
909
+ function memo(type, compare) {
910
+ {
911
+ if (!isValidElementType(type)) {
912
+ error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
913
+ }
914
+ }
915
+ var elementType = {
916
+ $$typeof: REACT_MEMO_TYPE,
917
+ type: type,
918
+ compare: compare === undefined ? null : compare
919
+ };
920
+ {
921
+ var ownName;
922
+ Object.defineProperty(elementType, 'displayName', {
923
+ enumerable: false,
924
+ configurable: true,
925
+ get: function() {
926
+ return ownName;
927
+ },
928
+ set: function(name) {
929
+ ownName = name;
930
+ if (!type.name && !type.displayName) {
931
+ type.displayName = name;
932
+ }
933
+ }
934
+ });
935
+ }
936
+ return elementType;
937
+ }
938
+ function resolveDispatcher() {
939
+ var dispatcher = ReactCurrentDispatcher.current;
940
+ {
941
+ if (dispatcher === null) {
942
+ error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
943
+ }
944
+ }
945
+ return dispatcher;
946
+ }
947
+ function useContext(Context) {
948
+ var dispatcher = resolveDispatcher();
949
+ {
950
+ if (Context._context !== undefined) {
951
+ var realContext = Context._context;
952
+ if (realContext.Consumer === Context) {
953
+ error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
954
+ } else if (realContext.Provider === Context) {
955
+ error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
956
+ }
957
+ }
958
+ }
959
+ return dispatcher.useContext(Context);
960
+ }
961
+ function useState(initialState) {
962
+ var dispatcher = resolveDispatcher();
963
+ return dispatcher.useState(initialState);
964
+ }
965
+ function useReducer(reducer, initialArg, init) {
966
+ var dispatcher = resolveDispatcher();
967
+ return dispatcher.useReducer(reducer, initialArg, init);
968
+ }
969
+ function useRef(initialValue) {
970
+ var dispatcher = resolveDispatcher();
971
+ return dispatcher.useRef(initialValue);
972
+ }
973
+ function useEffect(create, deps) {
974
+ var dispatcher = resolveDispatcher();
975
+ return dispatcher.useEffect(create, deps);
976
+ }
977
+ function useInsertionEffect(create, deps) {
978
+ var dispatcher = resolveDispatcher();
979
+ return dispatcher.useInsertionEffect(create, deps);
980
+ }
981
+ function useLayoutEffect(create, deps) {
982
+ var dispatcher = resolveDispatcher();
983
+ return dispatcher.useLayoutEffect(create, deps);
984
+ }
985
+ function useCallback(callback, deps) {
986
+ var dispatcher = resolveDispatcher();
987
+ return dispatcher.useCallback(callback, deps);
988
+ }
989
+ function useMemo(create, deps) {
990
+ var dispatcher = resolveDispatcher();
991
+ return dispatcher.useMemo(create, deps);
992
+ }
993
+ function useImperativeHandle(ref, create, deps) {
994
+ var dispatcher = resolveDispatcher();
995
+ return dispatcher.useImperativeHandle(ref, create, deps);
996
+ }
997
+ function useDebugValue(value, formatterFn) {
998
+ {
999
+ var dispatcher = resolveDispatcher();
1000
+ return dispatcher.useDebugValue(value, formatterFn);
1001
+ }
1002
+ }
1003
+ function useTransition() {
1004
+ var dispatcher = resolveDispatcher();
1005
+ return dispatcher.useTransition();
1006
+ }
1007
+ function useDeferredValue(value) {
1008
+ var dispatcher = resolveDispatcher();
1009
+ return dispatcher.useDeferredValue(value);
1010
+ }
1011
+ function useId() {
1012
+ var dispatcher = resolveDispatcher();
1013
+ return dispatcher.useId();
1014
+ }
1015
+ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
1016
+ var dispatcher = resolveDispatcher();
1017
+ return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1018
+ }
1019
+ var disabledDepth = 0;
1020
+ var prevLog;
1021
+ var prevInfo;
1022
+ var prevWarn;
1023
+ var prevError;
1024
+ var prevGroup;
1025
+ var prevGroupCollapsed;
1026
+ var prevGroupEnd;
1027
+ function disabledLog() {}
1028
+ disabledLog.__reactDisabledLog = true;
1029
+ function disableLogs() {
1030
+ {
1031
+ if (disabledDepth === 0) {
1032
+ prevLog = console.log;
1033
+ prevInfo = console.info;
1034
+ prevWarn = console.warn;
1035
+ prevError = console.error;
1036
+ prevGroup = console.group;
1037
+ prevGroupCollapsed = console.groupCollapsed;
1038
+ prevGroupEnd = console.groupEnd;
1039
+ var props = {
1040
+ configurable: true,
1041
+ enumerable: true,
1042
+ value: disabledLog,
1043
+ writable: true
1044
+ };
1045
+ Object.defineProperties(console, {
1046
+ info: props,
1047
+ log: props,
1048
+ warn: props,
1049
+ error: props,
1050
+ group: props,
1051
+ groupCollapsed: props,
1052
+ groupEnd: props
1053
+ });
1054
+ }
1055
+ disabledDepth++;
1056
+ }
1057
+ }
1058
+ function reenableLogs() {
1059
+ {
1060
+ disabledDepth--;
1061
+ if (disabledDepth === 0) {
1062
+ var props = {
1063
+ configurable: true,
1064
+ enumerable: true,
1065
+ writable: true
1066
+ };
1067
+ Object.defineProperties(console, {
1068
+ log: assign({}, props, {value: prevLog}),
1069
+ info: assign({}, props, {value: prevInfo}),
1070
+ warn: assign({}, props, {value: prevWarn}),
1071
+ error: assign({}, props, {value: prevError}),
1072
+ group: assign({}, props, {value: prevGroup}),
1073
+ groupCollapsed: assign({}, props, {value: prevGroupCollapsed}),
1074
+ groupEnd: assign({}, props, {value: prevGroupEnd})
1075
+ });
1076
+ }
1077
+ if (disabledDepth < 0) {
1078
+ error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
1079
+ }
1080
+ }
1081
+ }
1082
+ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
1083
+ var prefix;
1084
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
1085
+ {
1086
+ if (prefix === undefined) {
1087
+ try {
1088
+ throw Error();
1089
+ } catch (x) {
1090
+ var match = x.stack.trim().match(/\n( *(at )?)/);
1091
+ prefix = match && match[1] || '';
1092
+ }
1093
+ }
1094
+ return '\n' + prefix + name;
1095
+ }
1096
+ }
1097
+ var reentry = false;
1098
+ var componentFrameCache;
1099
+ {
1100
+ var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
1101
+ componentFrameCache = new PossiblyWeakMap();
1102
+ }
1103
+ function describeNativeComponentFrame(fn, construct) {
1104
+ if (!fn || reentry) {
1105
+ return '';
1106
+ }
1107
+ {
1108
+ var frame = componentFrameCache.get(fn);
1109
+ if (frame !== undefined) {
1110
+ return frame;
1111
+ }
1112
+ }
1113
+ var control;
1114
+ reentry = true;
1115
+ var previousPrepareStackTrace = Error.prepareStackTrace;
1116
+ Error.prepareStackTrace = undefined;
1117
+ var previousDispatcher;
1118
+ {
1119
+ previousDispatcher = ReactCurrentDispatcher$1.current;
1120
+ ReactCurrentDispatcher$1.current = null;
1121
+ disableLogs();
1122
+ }
1123
+ try {
1124
+ if (construct) {
1125
+ var Fake = function() {
1126
+ throw Error();
1127
+ };
1128
+ Object.defineProperty(Fake.prototype, 'props', {set: function() {
1129
+ throw Error();
1130
+ }});
1131
+ if (typeof Reflect === 'object' && Reflect.construct) {
1132
+ try {
1133
+ Reflect.construct(Fake, []);
1134
+ } catch (x) {
1135
+ control = x;
1136
+ }
1137
+ Reflect.construct(fn, [], Fake);
1138
+ } else {
1139
+ try {
1140
+ Fake.call();
1141
+ } catch (x) {
1142
+ control = x;
1143
+ }
1144
+ fn.call(Fake.prototype);
1145
+ }
1146
+ } else {
1147
+ try {
1148
+ throw Error();
1149
+ } catch (x) {
1150
+ control = x;
1151
+ }
1152
+ fn();
1153
+ }
1154
+ } catch (sample) {
1155
+ if (sample && control && typeof sample.stack === 'string') {
1156
+ var sampleLines = sample.stack.split('\n');
1157
+ var controlLines = control.stack.split('\n');
1158
+ var s = sampleLines.length - 1;
1159
+ var c = controlLines.length - 1;
1160
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
1161
+ c--;
1162
+ }
1163
+ for (; s >= 1 && c >= 0; s--, c--) {
1164
+ if (sampleLines[s] !== controlLines[c]) {
1165
+ if (s !== 1 || c !== 1) {
1166
+ do {
1167
+ s--;
1168
+ c--;
1169
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
1170
+ var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
1171
+ if (fn.displayName && _frame.includes('<anonymous>')) {
1172
+ _frame = _frame.replace('<anonymous>', fn.displayName);
1173
+ }
1174
+ {
1175
+ if (typeof fn === 'function') {
1176
+ componentFrameCache.set(fn, _frame);
1177
+ }
1178
+ }
1179
+ return _frame;
1180
+ }
1181
+ } while (s >= 1 && c >= 0);
1182
+ }
1183
+ break;
1184
+ }
1185
+ }
1186
+ }
1187
+ } finally {
1188
+ reentry = false;
1189
+ {
1190
+ ReactCurrentDispatcher$1.current = previousDispatcher;
1191
+ reenableLogs();
1192
+ }
1193
+ Error.prepareStackTrace = previousPrepareStackTrace;
1194
+ }
1195
+ var name = fn ? fn.displayName || fn.name : '';
1196
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
1197
+ {
1198
+ if (typeof fn === 'function') {
1199
+ componentFrameCache.set(fn, syntheticFrame);
1200
+ }
1201
+ }
1202
+ return syntheticFrame;
1203
+ }
1204
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
1205
+ {
1206
+ return describeNativeComponentFrame(fn, false);
1207
+ }
1208
+ }
1209
+ function shouldConstruct(Component) {
1210
+ var prototype = Component.prototype;
1211
+ return !!(prototype && prototype.isReactComponent);
1212
+ }
1213
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1214
+ if (type == null) {
1215
+ return '';
1216
+ }
1217
+ if (typeof type === 'function') {
1218
+ {
1219
+ return describeNativeComponentFrame(type, shouldConstruct(type));
1220
+ }
1221
+ }
1222
+ if (typeof type === 'string') {
1223
+ return describeBuiltInComponentFrame(type);
1224
+ }
1225
+ switch (type) {
1226
+ case REACT_SUSPENSE_TYPE:
1227
+ return describeBuiltInComponentFrame('Suspense');
1228
+ case REACT_SUSPENSE_LIST_TYPE:
1229
+ return describeBuiltInComponentFrame('SuspenseList');
1230
+ }
1231
+ if (typeof type === 'object') {
1232
+ switch (type.$$typeof) {
1233
+ case REACT_FORWARD_REF_TYPE:
1234
+ return describeFunctionComponentFrame(type.render);
1235
+ case REACT_MEMO_TYPE:
1236
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
1237
+ case REACT_LAZY_TYPE:
1238
+ {
1239
+ var lazyComponent = type;
1240
+ var payload = lazyComponent._payload;
1241
+ var init = lazyComponent._init;
1242
+ try {
1243
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
1244
+ } catch (x) {}
1245
+ }
1246
+ }
1247
+ }
1248
+ return '';
1249
+ }
1250
+ var loggedTypeFailures = {};
1251
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1252
+ function setCurrentlyValidatingElement(element) {
1253
+ {
1254
+ if (element) {
1255
+ var owner = element._owner;
1256
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1257
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1258
+ } else {
1259
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1260
+ }
1261
+ }
1262
+ }
1263
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
1264
+ {
1265
+ var has = Function.call.bind(hasOwnProperty);
1266
+ for (var typeSpecName in typeSpecs) {
1267
+ if (has(typeSpecs, typeSpecName)) {
1268
+ var error$1 = void 0;
1269
+ try {
1270
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
1271
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
1272
+ err.name = 'Invariant Violation';
1273
+ throw err;
1274
+ }
1275
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
1276
+ } catch (ex) {
1277
+ error$1 = ex;
1278
+ }
1279
+ if (error$1 && !(error$1 instanceof Error)) {
1280
+ setCurrentlyValidatingElement(element);
1281
+ error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
1282
+ setCurrentlyValidatingElement(null);
1283
+ }
1284
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1285
+ loggedTypeFailures[error$1.message] = true;
1286
+ setCurrentlyValidatingElement(element);
1287
+ error('Failed %s type: %s', location, error$1.message);
1288
+ setCurrentlyValidatingElement(null);
1289
+ }
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+ function setCurrentlyValidatingElement$1(element) {
1295
+ {
1296
+ if (element) {
1297
+ var owner = element._owner;
1298
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1299
+ setExtraStackFrame(stack);
1300
+ } else {
1301
+ setExtraStackFrame(null);
1302
+ }
1303
+ }
1304
+ }
1305
+ var propTypesMisspellWarningShown;
1306
+ {
1307
+ propTypesMisspellWarningShown = false;
1308
+ }
1309
+ function getDeclarationErrorAddendum() {
1310
+ if (ReactCurrentOwner.current) {
1311
+ var name = getComponentNameFromType(ReactCurrentOwner.current.type);
1312
+ if (name) {
1313
+ return '\n\nCheck the render method of `' + name + '`.';
1314
+ }
1315
+ }
1316
+ return '';
1317
+ }
1318
+ function getSourceInfoErrorAddendum(source) {
1319
+ if (source !== undefined) {
1320
+ var fileName = source.fileName.replace(/^.*[\\\/]/, '');
1321
+ var lineNumber = source.lineNumber;
1322
+ return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
1323
+ }
1324
+ return '';
1325
+ }
1326
+ function getSourceInfoErrorAddendumForProps(elementProps) {
1327
+ if (elementProps !== null && elementProps !== undefined) {
1328
+ return getSourceInfoErrorAddendum(elementProps.__source);
1329
+ }
1330
+ return '';
1331
+ }
1332
+ var ownerHasKeyUseWarning = {};
1333
+ function getCurrentComponentErrorInfo(parentType) {
1334
+ var info = getDeclarationErrorAddendum();
1335
+ if (!info) {
1336
+ var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
1337
+ if (parentName) {
1338
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1339
+ }
1340
+ }
1341
+ return info;
1342
+ }
1343
+ function validateExplicitKey(element, parentType) {
1344
+ if (!element._store || element._store.validated || element.key != null) {
1345
+ return;
1346
+ }
1347
+ element._store.validated = true;
1348
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1349
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1350
+ return;
1351
+ }
1352
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
1353
+ var childOwner = '';
1354
+ if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
1355
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
1356
+ }
1357
+ {
1358
+ setCurrentlyValidatingElement$1(element);
1359
+ error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
1360
+ setCurrentlyValidatingElement$1(null);
1361
+ }
1362
+ }
1363
+ function validateChildKeys(node, parentType) {
1364
+ if (typeof node !== 'object') {
1365
+ return;
1366
+ }
1367
+ if (isArray(node)) {
1368
+ for (var i = 0; i < node.length; i++) {
1369
+ var child = node[i];
1370
+ if (isValidElement(child)) {
1371
+ validateExplicitKey(child, parentType);
1372
+ }
1373
+ }
1374
+ } else if (isValidElement(node)) {
1375
+ if (node._store) {
1376
+ node._store.validated = true;
1377
+ }
1378
+ } else if (node) {
1379
+ var iteratorFn = getIteratorFn(node);
1380
+ if (typeof iteratorFn === 'function') {
1381
+ if (iteratorFn !== node.entries) {
1382
+ var iterator = iteratorFn.call(node);
1383
+ var step;
1384
+ while (!(step = iterator.next()).done) {
1385
+ if (isValidElement(step.value)) {
1386
+ validateExplicitKey(step.value, parentType);
1387
+ }
1388
+ }
1389
+ }
1390
+ }
1391
+ }
1392
+ }
1393
+ function validatePropTypes(element) {
1394
+ {
1395
+ var type = element.type;
1396
+ if (type === null || type === undefined || typeof type === 'string') {
1397
+ return;
1398
+ }
1399
+ var propTypes;
1400
+ if (typeof type === 'function') {
1401
+ propTypes = type.propTypes;
1402
+ } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MEMO_TYPE)) {
1403
+ propTypes = type.propTypes;
1404
+ } else {
1405
+ return;
1406
+ }
1407
+ if (propTypes) {
1408
+ var name = getComponentNameFromType(type);
1409
+ checkPropTypes(propTypes, element.props, 'prop', name, element);
1410
+ } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
1411
+ propTypesMisspellWarningShown = true;
1412
+ var _name = getComponentNameFromType(type);
1413
+ error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
1414
+ }
1415
+ if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
1416
+ error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
1417
+ }
1418
+ }
1419
+ }
1420
+ function validateFragmentProps(fragment) {
1421
+ {
1422
+ var keys = Object.keys(fragment.props);
1423
+ for (var i = 0; i < keys.length; i++) {
1424
+ var key = keys[i];
1425
+ if (key !== 'children' && key !== 'key') {
1426
+ setCurrentlyValidatingElement$1(fragment);
1427
+ error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
1428
+ setCurrentlyValidatingElement$1(null);
1429
+ break;
1430
+ }
1431
+ }
1432
+ if (fragment.ref !== null) {
1433
+ setCurrentlyValidatingElement$1(fragment);
1434
+ error('Invalid attribute `ref` supplied to `React.Fragment`.');
1435
+ setCurrentlyValidatingElement$1(null);
1436
+ }
1437
+ }
1438
+ }
1439
+ function createElementWithValidation(type, props, children) {
1440
+ var validType = isValidElementType(type);
1441
+ if (!validType) {
1442
+ var info = '';
1443
+ if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
1444
+ info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
1445
+ }
1446
+ var sourceInfo = getSourceInfoErrorAddendumForProps(props);
1447
+ if (sourceInfo) {
1448
+ info += sourceInfo;
1449
+ } else {
1450
+ info += getDeclarationErrorAddendum();
1451
+ }
1452
+ var typeString;
1453
+ if (type === null) {
1454
+ typeString = 'null';
1455
+ } else if (isArray(type)) {
1456
+ typeString = 'array';
1457
+ } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
1458
+ typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
1459
+ info = ' Did you accidentally export a JSX literal instead of a component?';
1460
+ } else {
1461
+ typeString = typeof type;
1462
+ }
1463
+ {
1464
+ error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
1465
+ }
1466
+ }
1467
+ var element = createElement.apply(this, arguments);
1468
+ if (element == null) {
1469
+ return element;
1470
+ }
1471
+ if (validType) {
1472
+ for (var i = 2; i < arguments.length; i++) {
1473
+ validateChildKeys(arguments[i], type);
1474
+ }
1475
+ }
1476
+ if (type === REACT_FRAGMENT_TYPE) {
1477
+ validateFragmentProps(element);
1478
+ } else {
1479
+ validatePropTypes(element);
1480
+ }
1481
+ return element;
1482
+ }
1483
+ var didWarnAboutDeprecatedCreateFactory = false;
1484
+ function createFactoryWithValidation(type) {
1485
+ var validatedFactory = createElementWithValidation.bind(null, type);
1486
+ validatedFactory.type = type;
1487
+ {
1488
+ if (!didWarnAboutDeprecatedCreateFactory) {
1489
+ didWarnAboutDeprecatedCreateFactory = true;
1490
+ warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');
1491
+ }
1492
+ Object.defineProperty(validatedFactory, 'type', {
1493
+ enumerable: false,
1494
+ get: function() {
1495
+ warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
1496
+ Object.defineProperty(this, 'type', {value: type});
1497
+ return type;
1498
+ }
1499
+ });
1500
+ }
1501
+ return validatedFactory;
1502
+ }
1503
+ function cloneElementWithValidation(element, props, children) {
1504
+ var newElement = cloneElement.apply(this, arguments);
1505
+ for (var i = 2; i < arguments.length; i++) {
1506
+ validateChildKeys(arguments[i], newElement.type);
1507
+ }
1508
+ validatePropTypes(newElement);
1509
+ return newElement;
1510
+ }
1511
+ var enableSchedulerDebugging = false;
1512
+ var enableProfiling = false;
1513
+ var frameYieldMs = 5;
1514
+ function push(heap, node) {
1515
+ var index = heap.length;
1516
+ heap.push(node);
1517
+ siftUp(heap, node, index);
1518
+ }
1519
+ function peek(heap) {
1520
+ return heap.length === 0 ? null : heap[0];
1521
+ }
1522
+ function pop(heap) {
1523
+ if (heap.length === 0) {
1524
+ return null;
1525
+ }
1526
+ var first = heap[0];
1527
+ var last = heap.pop();
1528
+ if (last !== first) {
1529
+ heap[0] = last;
1530
+ siftDown(heap, last, 0);
1531
+ }
1532
+ return first;
1533
+ }
1534
+ function siftUp(heap, node, i) {
1535
+ var index = i;
1536
+ while (index > 0) {
1537
+ var parentIndex = index - 1 >>> 1;
1538
+ var parent = heap[parentIndex];
1539
+ if (compare(parent, node) > 0) {
1540
+ heap[parentIndex] = node;
1541
+ heap[index] = parent;
1542
+ index = parentIndex;
1543
+ } else {
1544
+ return;
1545
+ }
1546
+ }
1547
+ }
1548
+ function siftDown(heap, node, i) {
1549
+ var index = i;
1550
+ var length = heap.length;
1551
+ var halfLength = length >>> 1;
1552
+ while (index < halfLength) {
1553
+ var leftIndex = (index + 1) * 2 - 1;
1554
+ var left = heap[leftIndex];
1555
+ var rightIndex = leftIndex + 1;
1556
+ var right = heap[rightIndex];
1557
+ if (compare(left, node) < 0) {
1558
+ if (rightIndex < length && compare(right, left) < 0) {
1559
+ heap[index] = right;
1560
+ heap[rightIndex] = node;
1561
+ index = rightIndex;
1562
+ } else {
1563
+ heap[index] = left;
1564
+ heap[leftIndex] = node;
1565
+ index = leftIndex;
1566
+ }
1567
+ } else if (rightIndex < length && compare(right, node) < 0) {
1568
+ heap[index] = right;
1569
+ heap[rightIndex] = node;
1570
+ index = rightIndex;
1571
+ } else {
1572
+ return;
1573
+ }
1574
+ }
1575
+ }
1576
+ function compare(a, b) {
1577
+ var diff = a.sortIndex - b.sortIndex;
1578
+ return diff !== 0 ? diff : a.id - b.id;
1579
+ }
1580
+ var ImmediatePriority = 1;
1581
+ var UserBlockingPriority = 2;
1582
+ var NormalPriority = 3;
1583
+ var LowPriority = 4;
1584
+ var IdlePriority = 5;
1585
+ function markTaskErrored(task, ms) {}
1586
+ var getCurrentTime;
1587
+ var hasPerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
1588
+ if (hasPerformanceNow) {
1589
+ var localPerformance = performance;
1590
+ getCurrentTime = function() {
1591
+ return localPerformance.now();
1592
+ };
1593
+ } else {
1594
+ var localDate = Date;
1595
+ var initialTime = localDate.now();
1596
+ getCurrentTime = function() {
1597
+ return localDate.now() - initialTime;
1598
+ };
1599
+ }
1600
+ var maxSigned31BitInt = 1073741823;
1601
+ var IMMEDIATE_PRIORITY_TIMEOUT = -1;
1602
+ var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
1603
+ var NORMAL_PRIORITY_TIMEOUT = 5000;
1604
+ var LOW_PRIORITY_TIMEOUT = 10000;
1605
+ var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt;
1606
+ var taskQueue = [];
1607
+ var timerQueue = [];
1608
+ var taskIdCounter = 1;
1609
+ var currentTask = null;
1610
+ var currentPriorityLevel = NormalPriority;
1611
+ var isPerformingWork = false;
1612
+ var isHostCallbackScheduled = false;
1613
+ var isHostTimeoutScheduled = false;
1614
+ var localSetTimeout = typeof setTimeout === 'function' ? setTimeout : null;
1615
+ var localClearTimeout = typeof clearTimeout === 'function' ? clearTimeout : null;
1616
+ var localSetImmediate = typeof setImmediate !== 'undefined' ? setImmediate : null;
1617
+ var isInputPending = typeof navigator !== 'undefined' && navigator.scheduling !== undefined && navigator.scheduling.isInputPending !== undefined ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
1618
+ function advanceTimers(currentTime) {
1619
+ var timer = peek(timerQueue);
1620
+ while (timer !== null) {
1621
+ if (timer.callback === null) {
1622
+ pop(timerQueue);
1623
+ } else if (timer.startTime <= currentTime) {
1624
+ pop(timerQueue);
1625
+ timer.sortIndex = timer.expirationTime;
1626
+ push(taskQueue, timer);
1627
+ } else {
1628
+ return;
1629
+ }
1630
+ timer = peek(timerQueue);
1631
+ }
1632
+ }
1633
+ function handleTimeout(currentTime) {
1634
+ isHostTimeoutScheduled = false;
1635
+ advanceTimers(currentTime);
1636
+ if (!isHostCallbackScheduled) {
1637
+ if (peek(taskQueue) !== null) {
1638
+ isHostCallbackScheduled = true;
1639
+ requestHostCallback(flushWork);
1640
+ } else {
1641
+ var firstTimer = peek(timerQueue);
1642
+ if (firstTimer !== null) {
1643
+ requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
1644
+ }
1645
+ }
1646
+ }
1647
+ }
1648
+ function flushWork(hasTimeRemaining, initialTime) {
1649
+ isHostCallbackScheduled = false;
1650
+ if (isHostTimeoutScheduled) {
1651
+ isHostTimeoutScheduled = false;
1652
+ cancelHostTimeout();
1653
+ }
1654
+ isPerformingWork = true;
1655
+ var previousPriorityLevel = currentPriorityLevel;
1656
+ try {
1657
+ if (enableProfiling) {
1658
+ try {
1659
+ return workLoop(hasTimeRemaining, initialTime);
1660
+ } catch (error) {
1661
+ if (currentTask !== null) {
1662
+ var currentTime = getCurrentTime();
1663
+ markTaskErrored(currentTask, currentTime);
1664
+ currentTask.isQueued = false;
1665
+ }
1666
+ throw error;
1667
+ }
1668
+ } else {
1669
+ return workLoop(hasTimeRemaining, initialTime);
1670
+ }
1671
+ } finally {
1672
+ currentTask = null;
1673
+ currentPriorityLevel = previousPriorityLevel;
1674
+ isPerformingWork = false;
1675
+ }
1676
+ }
1677
+ function workLoop(hasTimeRemaining, initialTime) {
1678
+ var currentTime = initialTime;
1679
+ advanceTimers(currentTime);
1680
+ currentTask = peek(taskQueue);
1681
+ while (currentTask !== null && !(enableSchedulerDebugging)) {
1682
+ if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
1683
+ break;
1684
+ }
1685
+ var callback = currentTask.callback;
1686
+ if (typeof callback === 'function') {
1687
+ currentTask.callback = null;
1688
+ currentPriorityLevel = currentTask.priorityLevel;
1689
+ var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
1690
+ var continuationCallback = callback(didUserCallbackTimeout);
1691
+ currentTime = getCurrentTime();
1692
+ if (typeof continuationCallback === 'function') {
1693
+ currentTask.callback = continuationCallback;
1694
+ } else {
1695
+ if (currentTask === peek(taskQueue)) {
1696
+ pop(taskQueue);
1697
+ }
1698
+ }
1699
+ advanceTimers(currentTime);
1700
+ } else {
1701
+ pop(taskQueue);
1702
+ }
1703
+ currentTask = peek(taskQueue);
1704
+ }
1705
+ if (currentTask !== null) {
1706
+ return true;
1707
+ } else {
1708
+ var firstTimer = peek(timerQueue);
1709
+ if (firstTimer !== null) {
1710
+ requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
1711
+ }
1712
+ return false;
1713
+ }
1714
+ }
1715
+ function unstable_runWithPriority(priorityLevel, eventHandler) {
1716
+ switch (priorityLevel) {
1717
+ case ImmediatePriority:
1718
+ case UserBlockingPriority:
1719
+ case NormalPriority:
1720
+ case LowPriority:
1721
+ case IdlePriority:
1722
+ break;
1723
+ default:
1724
+ priorityLevel = NormalPriority;
1725
+ }
1726
+ var previousPriorityLevel = currentPriorityLevel;
1727
+ currentPriorityLevel = priorityLevel;
1728
+ try {
1729
+ return eventHandler();
1730
+ } finally {
1731
+ currentPriorityLevel = previousPriorityLevel;
1732
+ }
1733
+ }
1734
+ function unstable_next(eventHandler) {
1735
+ var priorityLevel;
1736
+ switch (currentPriorityLevel) {
1737
+ case ImmediatePriority:
1738
+ case UserBlockingPriority:
1739
+ case NormalPriority:
1740
+ priorityLevel = NormalPriority;
1741
+ break;
1742
+ default:
1743
+ priorityLevel = currentPriorityLevel;
1744
+ break;
1745
+ }
1746
+ var previousPriorityLevel = currentPriorityLevel;
1747
+ currentPriorityLevel = priorityLevel;
1748
+ try {
1749
+ return eventHandler();
1750
+ } finally {
1751
+ currentPriorityLevel = previousPriorityLevel;
1752
+ }
1753
+ }
1754
+ function unstable_wrapCallback(callback) {
1755
+ var parentPriorityLevel = currentPriorityLevel;
1756
+ return function() {
1757
+ var previousPriorityLevel = currentPriorityLevel;
1758
+ currentPriorityLevel = parentPriorityLevel;
1759
+ try {
1760
+ return callback.apply(this, arguments);
1761
+ } finally {
1762
+ currentPriorityLevel = previousPriorityLevel;
1763
+ }
1764
+ };
1765
+ }
1766
+ function unstable_scheduleCallback(priorityLevel, callback, options) {
1767
+ var currentTime = getCurrentTime();
1768
+ var startTime;
1769
+ if (typeof options === 'object' && options !== null) {
1770
+ var delay = options.delay;
1771
+ if (typeof delay === 'number' && delay > 0) {
1772
+ startTime = currentTime + delay;
1773
+ } else {
1774
+ startTime = currentTime;
1775
+ }
1776
+ } else {
1777
+ startTime = currentTime;
1778
+ }
1779
+ var timeout;
1780
+ switch (priorityLevel) {
1781
+ case ImmediatePriority:
1782
+ timeout = IMMEDIATE_PRIORITY_TIMEOUT;
1783
+ break;
1784
+ case UserBlockingPriority:
1785
+ timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
1786
+ break;
1787
+ case IdlePriority:
1788
+ timeout = IDLE_PRIORITY_TIMEOUT;
1789
+ break;
1790
+ case LowPriority:
1791
+ timeout = LOW_PRIORITY_TIMEOUT;
1792
+ break;
1793
+ case NormalPriority:
1794
+ default:
1795
+ timeout = NORMAL_PRIORITY_TIMEOUT;
1796
+ break;
1797
+ }
1798
+ var expirationTime = startTime + timeout;
1799
+ var newTask = {
1800
+ id: taskIdCounter++,
1801
+ callback: callback,
1802
+ priorityLevel: priorityLevel,
1803
+ startTime: startTime,
1804
+ expirationTime: expirationTime,
1805
+ sortIndex: -1
1806
+ };
1807
+ if (startTime > currentTime) {
1808
+ newTask.sortIndex = startTime;
1809
+ push(timerQueue, newTask);
1810
+ if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
1811
+ if (isHostTimeoutScheduled) {
1812
+ cancelHostTimeout();
1813
+ } else {
1814
+ isHostTimeoutScheduled = true;
1815
+ }
1816
+ requestHostTimeout(handleTimeout, startTime - currentTime);
1817
+ }
1818
+ } else {
1819
+ newTask.sortIndex = expirationTime;
1820
+ push(taskQueue, newTask);
1821
+ if (!isHostCallbackScheduled && !isPerformingWork) {
1822
+ isHostCallbackScheduled = true;
1823
+ requestHostCallback(flushWork);
1824
+ }
1825
+ }
1826
+ return newTask;
1827
+ }
1828
+ function unstable_pauseExecution() {}
1829
+ function unstable_continueExecution() {
1830
+ if (!isHostCallbackScheduled && !isPerformingWork) {
1831
+ isHostCallbackScheduled = true;
1832
+ requestHostCallback(flushWork);
1833
+ }
1834
+ }
1835
+ function unstable_getFirstCallbackNode() {
1836
+ return peek(taskQueue);
1837
+ }
1838
+ function unstable_cancelCallback(task) {
1839
+ task.callback = null;
1840
+ }
1841
+ function unstable_getCurrentPriorityLevel() {
1842
+ return currentPriorityLevel;
1843
+ }
1844
+ var isMessageLoopRunning = false;
1845
+ var scheduledHostCallback = null;
1846
+ var taskTimeoutID = -1;
1847
+ var frameInterval = frameYieldMs;
1848
+ var startTime = -1;
1849
+ function shouldYieldToHost() {
1850
+ var timeElapsed = getCurrentTime() - startTime;
1851
+ if (timeElapsed < frameInterval) {
1852
+ return false;
1853
+ }
1854
+ return true;
1855
+ }
1856
+ function requestPaint() {}
1857
+ function forceFrameRate(fps) {
1858
+ if (fps < 0 || fps > 125) {
1859
+ console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing frame rates higher than 125 fps is not supported');
1860
+ return;
1861
+ }
1862
+ if (fps > 0) {
1863
+ frameInterval = Math.floor(1000 / fps);
1864
+ } else {
1865
+ frameInterval = frameYieldMs;
1866
+ }
1867
+ }
1868
+ var performWorkUntilDeadline = function() {
1869
+ if (scheduledHostCallback !== null) {
1870
+ var currentTime = getCurrentTime();
1871
+ startTime = currentTime;
1872
+ var hasTimeRemaining = true;
1873
+ var hasMoreWork = true;
1874
+ try {
1875
+ hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
1876
+ } finally {
1877
+ if (hasMoreWork) {
1878
+ schedulePerformWorkUntilDeadline();
1879
+ } else {
1880
+ isMessageLoopRunning = false;
1881
+ scheduledHostCallback = null;
1882
+ }
1883
+ }
1884
+ } else {
1885
+ isMessageLoopRunning = false;
1886
+ }
1887
+ };
1888
+ var schedulePerformWorkUntilDeadline;
1889
+ if (typeof localSetImmediate === 'function') {
1890
+ schedulePerformWorkUntilDeadline = function() {
1891
+ localSetImmediate(performWorkUntilDeadline);
1892
+ };
1893
+ } else if (typeof MessageChannel !== 'undefined') {
1894
+ var channel = new MessageChannel();
1895
+ var port = channel.port2;
1896
+ channel.port1.onmessage = performWorkUntilDeadline;
1897
+ schedulePerformWorkUntilDeadline = function() {
1898
+ port.postMessage(null);
1899
+ };
1900
+ } else {
1901
+ schedulePerformWorkUntilDeadline = function() {
1902
+ localSetTimeout(performWorkUntilDeadline, 0);
1903
+ };
1904
+ }
1905
+ function requestHostCallback(callback) {
1906
+ scheduledHostCallback = callback;
1907
+ if (!isMessageLoopRunning) {
1908
+ isMessageLoopRunning = true;
1909
+ schedulePerformWorkUntilDeadline();
1910
+ }
1911
+ }
1912
+ function requestHostTimeout(callback, ms) {
1913
+ taskTimeoutID = localSetTimeout(function() {
1914
+ callback(getCurrentTime());
1915
+ }, ms);
1916
+ }
1917
+ function cancelHostTimeout() {
1918
+ localClearTimeout(taskTimeoutID);
1919
+ taskTimeoutID = -1;
1920
+ }
1921
+ var unstable_requestPaint = requestPaint;
1922
+ var unstable_Profiling = null;
1923
+ var Scheduler = Object.freeze({
1924
+ __proto__: null,
1925
+ unstable_ImmediatePriority: ImmediatePriority,
1926
+ unstable_UserBlockingPriority: UserBlockingPriority,
1927
+ unstable_NormalPriority: NormalPriority,
1928
+ unstable_IdlePriority: IdlePriority,
1929
+ unstable_LowPriority: LowPriority,
1930
+ unstable_runWithPriority: unstable_runWithPriority,
1931
+ unstable_next: unstable_next,
1932
+ unstable_scheduleCallback: unstable_scheduleCallback,
1933
+ unstable_cancelCallback: unstable_cancelCallback,
1934
+ unstable_wrapCallback: unstable_wrapCallback,
1935
+ unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel,
1936
+ unstable_shouldYield: shouldYieldToHost,
1937
+ unstable_requestPaint: unstable_requestPaint,
1938
+ unstable_continueExecution: unstable_continueExecution,
1939
+ unstable_pauseExecution: unstable_pauseExecution,
1940
+ unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
1941
+ get unstable_now() {
1942
+ return getCurrentTime;
1943
+ },
1944
+ unstable_forceFrameRate: forceFrameRate,
1945
+ unstable_Profiling: unstable_Profiling
1946
+ });
1947
+ var ReactSharedInternals$1 = {
1948
+ ReactCurrentDispatcher: ReactCurrentDispatcher,
1949
+ ReactCurrentOwner: ReactCurrentOwner,
1950
+ ReactCurrentBatchConfig: ReactCurrentBatchConfig,
1951
+ Scheduler: Scheduler
1952
+ };
1953
+ {
1954
+ ReactSharedInternals$1.ReactCurrentActQueue = ReactCurrentActQueue;
1955
+ ReactSharedInternals$1.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
1956
+ }
1957
+ function startTransition(scope, options) {
1958
+ var prevTransition = ReactCurrentBatchConfig.transition;
1959
+ ReactCurrentBatchConfig.transition = {};
1960
+ var currentTransition = ReactCurrentBatchConfig.transition;
1961
+ {
1962
+ ReactCurrentBatchConfig.transition._updatedFibers = new Set();
1963
+ }
1964
+ try {
1965
+ scope();
1966
+ } finally {
1967
+ ReactCurrentBatchConfig.transition = prevTransition;
1968
+ {
1969
+ if (prevTransition === null && currentTransition._updatedFibers) {
1970
+ var updatedFibersCount = currentTransition._updatedFibers.size;
1971
+ if (updatedFibersCount > 10) {
1972
+ warn('Detected a large number of updates inside startTransition. ' + 'If this is due to a subscription please re-write it to use React provided hooks. ' + 'Otherwise concurrent mode guarantees are off the table.');
1973
+ }
1974
+ currentTransition._updatedFibers.clear();
1975
+ }
1976
+ }
1977
+ }
1978
+ }
1979
+ var didWarnAboutMessageChannel = false;
1980
+ var enqueueTaskImpl = null;
1981
+ function enqueueTask(task) {
1982
+ if (enqueueTaskImpl === null) {
1983
+ try {
1984
+ var requireString = ('require' + Math.random()).slice(0, 7);
1985
+ var nodeRequire = module && module[requireString];
1986
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
1987
+ } catch (_err) {
1988
+ enqueueTaskImpl = function(callback) {
1989
+ {
1990
+ if (didWarnAboutMessageChannel === false) {
1991
+ didWarnAboutMessageChannel = true;
1992
+ if (typeof MessageChannel === 'undefined') {
1993
+ error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
1994
+ }
1995
+ }
1996
+ }
1997
+ var channel = new MessageChannel();
1998
+ channel.port1.onmessage = callback;
1999
+ channel.port2.postMessage(undefined);
2000
+ };
2001
+ }
2002
+ }
2003
+ return enqueueTaskImpl(task);
2004
+ }
2005
+ var actScopeDepth = 0;
2006
+ var didWarnNoAwaitAct = false;
2007
+ function act(callback) {
2008
+ {
2009
+ var prevActScopeDepth = actScopeDepth;
2010
+ actScopeDepth++;
2011
+ if (ReactCurrentActQueue.current === null) {
2012
+ ReactCurrentActQueue.current = [];
2013
+ }
2014
+ var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
2015
+ var result;
2016
+ try {
2017
+ ReactCurrentActQueue.isBatchingLegacy = true;
2018
+ result = callback();
2019
+ if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
2020
+ var queue = ReactCurrentActQueue.current;
2021
+ if (queue !== null) {
2022
+ ReactCurrentActQueue.didScheduleLegacyUpdate = false;
2023
+ flushActQueue(queue);
2024
+ }
2025
+ }
2026
+ } catch (error) {
2027
+ popActScope(prevActScopeDepth);
2028
+ throw error;
2029
+ } finally {
2030
+ ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
2031
+ }
2032
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
2033
+ var thenableResult = result;
2034
+ var wasAwaited = false;
2035
+ var thenable = {then: function(resolve, reject) {
2036
+ wasAwaited = true;
2037
+ thenableResult.then(function(returnValue) {
2038
+ popActScope(prevActScopeDepth);
2039
+ if (actScopeDepth === 0) {
2040
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2041
+ } else {
2042
+ resolve(returnValue);
2043
+ }
2044
+ }, function(error) {
2045
+ popActScope(prevActScopeDepth);
2046
+ reject(error);
2047
+ });
2048
+ }};
2049
+ {
2050
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
2051
+ Promise.resolve().then(function() {}).then(function() {
2052
+ if (!wasAwaited) {
2053
+ didWarnNoAwaitAct = true;
2054
+ error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
2055
+ }
2056
+ });
2057
+ }
2058
+ }
2059
+ return thenable;
2060
+ } else {
2061
+ var returnValue = result;
2062
+ popActScope(prevActScopeDepth);
2063
+ if (actScopeDepth === 0) {
2064
+ var _queue = ReactCurrentActQueue.current;
2065
+ if (_queue !== null) {
2066
+ flushActQueue(_queue);
2067
+ ReactCurrentActQueue.current = null;
2068
+ }
2069
+ var _thenable = {then: function(resolve, reject) {
2070
+ if (ReactCurrentActQueue.current === null) {
2071
+ ReactCurrentActQueue.current = [];
2072
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2073
+ } else {
2074
+ resolve(returnValue);
2075
+ }
2076
+ }};
2077
+ return _thenable;
2078
+ } else {
2079
+ var _thenable2 = {then: function(resolve, reject) {
2080
+ resolve(returnValue);
2081
+ }};
2082
+ return _thenable2;
2083
+ }
2084
+ }
2085
+ }
2086
+ }
2087
+ function popActScope(prevActScopeDepth) {
2088
+ {
2089
+ if (prevActScopeDepth !== actScopeDepth - 1) {
2090
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
2091
+ }
2092
+ actScopeDepth = prevActScopeDepth;
2093
+ }
2094
+ }
2095
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
2096
+ {
2097
+ var queue = ReactCurrentActQueue.current;
2098
+ if (queue !== null) {
2099
+ try {
2100
+ flushActQueue(queue);
2101
+ enqueueTask(function() {
2102
+ if (queue.length === 0) {
2103
+ ReactCurrentActQueue.current = null;
2104
+ resolve(returnValue);
2105
+ } else {
2106
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2107
+ }
2108
+ });
2109
+ } catch (error) {
2110
+ reject(error);
2111
+ }
2112
+ } else {
2113
+ resolve(returnValue);
2114
+ }
2115
+ }
2116
+ }
2117
+ var isFlushing = false;
2118
+ function flushActQueue(queue) {
2119
+ {
2120
+ if (!isFlushing) {
2121
+ isFlushing = true;
2122
+ var i = 0;
2123
+ try {
2124
+ for (; i < queue.length; i++) {
2125
+ var callback = queue[i];
2126
+ do {
2127
+ callback = callback(true);
2128
+ } while (callback !== null);
2129
+ }
2130
+ queue.length = 0;
2131
+ } catch (error) {
2132
+ queue = queue.slice(i + 1);
2133
+ throw error;
2134
+ } finally {
2135
+ isFlushing = false;
2136
+ }
2137
+ }
2138
+ }
2139
+ }
2140
+ var createElement$1 = createElementWithValidation;
2141
+ var cloneElement$1 = cloneElementWithValidation;
2142
+ var createFactory = createFactoryWithValidation;
2143
+ var Children = {
2144
+ map: mapChildren,
2145
+ forEach: forEachChildren,
2146
+ count: countChildren,
2147
+ toArray: toArray,
2148
+ only: onlyChild
2149
+ };
2150
+ exports.Children = Children;
2151
+ exports.Component = Component;
2152
+ exports.Fragment = REACT_FRAGMENT_TYPE;
2153
+ exports.Profiler = REACT_PROFILER_TYPE;
2154
+ exports.PureComponent = PureComponent;
2155
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
2156
+ exports.Suspense = REACT_SUSPENSE_TYPE;
2157
+ exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals$1;
2158
+ exports.cloneElement = cloneElement$1;
2159
+ exports.createContext = createContext;
2160
+ exports.createElement = createElement$1;
2161
+ exports.createFactory = createFactory;
2162
+ exports.createRef = createRef;
2163
+ exports.forwardRef = forwardRef;
2164
+ exports.isValidElement = isValidElement;
2165
+ exports.lazy = lazy;
2166
+ exports.memo = memo;
2167
+ exports.startTransition = startTransition;
2168
+ exports.unstable_act = act;
2169
+ exports.useCallback = useCallback;
2170
+ exports.useContext = useContext;
2171
+ exports.useDebugValue = useDebugValue;
2172
+ exports.useDeferredValue = useDeferredValue;
2173
+ exports.useEffect = useEffect;
2174
+ exports.useId = useId;
2175
+ exports.useImperativeHandle = useImperativeHandle;
2176
+ exports.useInsertionEffect = useInsertionEffect;
2177
+ exports.useLayoutEffect = useLayoutEffect;
2178
+ exports.useMemo = useMemo;
2179
+ exports.useReducer = useReducer;
2180
+ exports.useRef = useRef;
2181
+ exports.useState = useState;
2182
+ exports.useSyncExternalStore = useSyncExternalStore;
2183
+ exports.useTransition = useTransition;
2184
+ exports.version = ReactVersion;
2185
+ })));
2186
+ })(require('process'));