sequenceserver 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sequenceserver might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/sequenceserver/api_errors.rb +24 -2
- data/lib/sequenceserver/blast/job.rb +41 -7
- data/lib/sequenceserver/blast/report.rb +36 -30
- data/lib/sequenceserver/config.rb +49 -27
- data/lib/sequenceserver/job.rb +13 -3
- data/lib/sequenceserver/job_remover.rb +25 -29
- data/lib/sequenceserver/refinements.rb +15 -0
- data/lib/sequenceserver/routes.rb +69 -7
- data/lib/sequenceserver/sequence.rb +8 -7
- data/lib/sequenceserver/sys.rb +2 -2
- data/lib/sequenceserver/version.rb +1 -1
- data/lib/sequenceserver/zip_file_generator.rb +56 -0
- data/lib/sequenceserver.rb +1 -0
- data/public/config.js +149 -143
- data/public/css/sequenceserver.css +44 -3
- data/public/css/sequenceserver.min.css +3 -3
- data/public/js/alignment_exporter.js +16 -8
- data/public/js/circos.js +370 -234
- data/public/js/cloud_share_modal.js +216 -0
- data/public/js/databases.js +144 -0
- data/public/js/databases_tree.js +42 -113
- data/public/js/dnd.js +164 -0
- data/public/js/error_modal.js +4 -11
- data/public/js/exporter.js +7 -3
- data/public/js/form.js +260 -0
- data/public/js/grapher.js +113 -106
- data/public/js/hit.js +80 -67
- data/public/js/hits_overview.js +2 -2
- data/public/js/hsp.js +343 -288
- data/public/js/jquery_world.js +4 -4
- data/public/js/mailto.js +36 -0
- data/public/js/options.js +84 -0
- data/public/js/query.js +319 -59
- data/public/js/report.js +315 -269
- data/public/js/report_root.js +75 -0
- data/public/js/search.js +28 -1011
- data/public/js/search_button.js +195 -0
- data/public/js/sequence.js +2409 -2411
- data/public/js/sequence_modal.js +152 -159
- data/public/js/share_url.js +23 -0
- data/public/js/sidebar.js +262 -83
- data/public/js/tests/database.spec.js +60 -0
- data/public/js/tests/mock_data/databases.json +91 -0
- data/public/js/tests/mock_data/long_response.json +269 -0
- data/public/js/tests/mock_data/short_response.json +2240 -0
- data/public/js/tests/report.spec.js +99 -0
- data/public/js/tests/search_button.spec.js +14 -0
- data/public/js/tests/search_query.spec.js +41 -0
- data/public/packages/circosJS@1.7.0.js +1640 -0
- data/public/packages/jquery-ui@1.11.4.js +16624 -0
- data/public/sequenceserver-report.min.js +2425 -19
- data/public/sequenceserver-search.min.js +2337 -15
- data/public/vendor/github/jspm/nodelibs-assert@0.1.0/index.js +2 -0
- data/public/vendor/github/jspm/{nodelibs-buffer@0.1.0 → nodelibs-assert@0.1.0}/package.json +1 -1
- data/public/vendor/github/jspm/nodelibs-assert@0.1.0.js +1 -0
- data/public/vendor/github/jspm/nodelibs-buffer@0.1.1/package.json +6 -0
- data/public/vendor/github/jspm/nodelibs-buffer@0.1.1.js +1 -0
- data/public/vendor/github/jspm/{nodelibs-process@0.1.1 → nodelibs-process@0.1.2}/package.json +2 -2
- data/public/vendor/github/jspm/nodelibs-process@0.1.2.js +1 -0
- data/public/vendor/github/jspm/nodelibs-vm@0.1.0/index.js +2 -0
- data/public/vendor/github/jspm/nodelibs-vm@0.1.0/package.json +6 -0
- data/public/vendor/github/jspm/nodelibs-vm@0.1.0.js +1 -0
- data/public/vendor/npm/assert@1.5.0/CHANGELOG.md +8 -0
- data/public/vendor/npm/assert@1.5.0/README.md +105 -0
- data/public/vendor/npm/assert@1.5.0/assert.js +327 -0
- data/public/vendor/npm/assert@1.5.0/package.json +32 -0
- data/public/vendor/npm/assert@1.5.0/test.js +288 -0
- data/public/vendor/npm/assert@1.5.0.js +1 -0
- data/public/vendor/npm/{base64-js@0.0.8/LICENSE.MIT → base64-js@1.5.1/LICENSE} +1 -1
- data/public/vendor/npm/{base64-js@0.0.8 → base64-js@1.5.1}/README.md +10 -7
- data/public/vendor/npm/base64-js@1.5.1/base64js.min.js +3 -0
- data/public/vendor/npm/base64-js@1.5.1/index.d.ts +3 -0
- data/public/vendor/npm/base64-js@1.5.1/index.js +151 -0
- data/public/vendor/npm/base64-js@1.5.1/package.json +47 -0
- data/public/vendor/npm/base64-js@1.5.1.js +1 -0
- data/public/vendor/npm/buffer@5.7.1/AUTHORS.md +70 -0
- data/public/vendor/npm/{buffer@3.4.3 → buffer@5.7.1}/README.md +111 -41
- data/public/vendor/npm/buffer@5.7.1/index.d.ts +186 -0
- data/public/vendor/npm/buffer@5.7.1/index.js +1817 -0
- data/public/vendor/npm/buffer@5.7.1/package.json +96 -0
- data/public/vendor/npm/buffer@5.7.1.js +1 -0
- data/public/vendor/npm/core-util-is@1.0.3/LICENSE +19 -0
- data/public/vendor/npm/core-util-is@1.0.3/lib/util.js +64 -0
- data/public/vendor/npm/{core-util-is@1.0.1 → core-util-is@1.0.3}/package.json +13 -1
- data/public/vendor/npm/core-util-is@1.0.3.js +1 -0
- data/public/vendor/npm/events@1.0.2/tests/add-listeners.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/check-listener-leaks.js +3 -3
- data/public/vendor/npm/events@1.0.2/tests/common.js +1 -1
- data/public/vendor/npm/events@1.0.2/tests/index.js +13 -13
- data/public/vendor/npm/events@1.0.2/tests/listeners-side-effects.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/listeners.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/max-listeners.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/modify-in-emit.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/num-args.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/once.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/remove-all-listeners.js +3 -3
- data/public/vendor/npm/events@1.0.2/tests/remove-listeners.js +3 -3
- data/public/vendor/npm/events@1.0.2/tests/set-max-listeners-side-effects.js +2 -2
- data/public/vendor/npm/events@1.0.2/tests/subclass.js +3 -3
- data/public/vendor/npm/events@1.0.2.js +1 -1
- data/public/vendor/npm/ieee754@1.2.1/LICENSE +11 -0
- data/public/vendor/npm/{ieee754@1.1.6 → ieee754@1.2.1}/README.md +12 -8
- data/public/vendor/npm/ieee754@1.2.1/index.d.ts +10 -0
- data/public/vendor/npm/{ieee754@1.1.6 → ieee754@1.2.1}/index.js +6 -6
- data/public/vendor/npm/ieee754@1.2.1/package.json +52 -0
- data/public/vendor/npm/ieee754@1.2.1.js +1 -0
- data/public/vendor/npm/{is-array@1.0.1 → indexof@0.0.1}/Makefile +3 -3
- data/public/vendor/npm/indexof@0.0.1/Readme.md +15 -0
- data/public/vendor/npm/indexof@0.0.1/component.json +10 -0
- data/public/vendor/npm/indexof@0.0.1/index.js +11 -0
- data/public/vendor/npm/indexof@0.0.1/package.json +12 -0
- data/public/vendor/npm/indexof@0.0.1.js +1 -0
- data/public/vendor/npm/inherits@2.0.1/inherits.js +1 -1
- data/public/vendor/npm/inherits@2.0.1.js +1 -1
- data/public/vendor/npm/isarray@0.0.1.js +1 -1
- data/public/vendor/npm/js-tokens@4.0.0/index.js +23 -0
- data/public/vendor/npm/js-tokens@4.0.0/package.json +30 -0
- data/public/vendor/npm/js-tokens@4.0.0.js +1 -0
- data/public/vendor/npm/loose-envify@1.4.0/LICENSE +21 -0
- data/public/vendor/npm/loose-envify@1.4.0/README.md +45 -0
- data/public/vendor/npm/loose-envify@1.4.0/cli.js +12 -0
- data/public/vendor/npm/loose-envify@1.4.0/custom.js +3 -0
- data/public/vendor/npm/loose-envify@1.4.0/index.js +5 -0
- data/public/vendor/npm/loose-envify@1.4.0/loose-envify.js +33 -0
- data/public/vendor/npm/loose-envify@1.4.0/package.json +36 -0
- data/public/vendor/npm/loose-envify@1.4.0/replace.js +52 -0
- data/public/vendor/npm/loose-envify@1.4.0.js +1 -0
- data/public/vendor/npm/object-assign@4.1.1/index.js +90 -0
- data/public/vendor/npm/object-assign@4.1.1/package.json +42 -0
- data/public/vendor/npm/object-assign@4.1.1.js +1 -0
- data/public/vendor/npm/path-browserify@0.0.0/index.js +1 -1
- data/public/vendor/npm/path-browserify@0.0.0.js +1 -1
- data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/README.md +4 -1
- data/public/vendor/npm/process@0.11.10/browser.js +184 -0
- data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/package.json +10 -1
- data/public/vendor/npm/process@0.11.10/test.js +185 -0
- data/public/vendor/npm/process@0.11.10.js +1 -0
- data/public/vendor/npm/react-dom@18.0.0/LICENSE +21 -0
- data/public/vendor/npm/react-dom@18.0.0/README.md +50 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.browser.development.js +4771 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.browser.production.min.js +85 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.node.development.js +4813 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server-legacy.node.production.min.js +1705 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.browser.development.js +4746 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.browser.production.min.js +90 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.node.development.js +4714 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-server.node.production.min.js +1746 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-test-utils.development.js +1017 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom-test-utils.production.min.js +617 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom.development.js +20092 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom.production.min.js +322 -0
- data/public/vendor/npm/react-dom@18.0.0/cjs/react-dom.profiling.min.js +364 -0
- data/public/vendor/npm/react-dom@18.0.0/client.js +27 -0
- data/public/vendor/npm/react-dom@18.0.0/index.js +23 -0
- data/public/vendor/npm/react-dom@18.0.0/package.json +62 -0
- data/public/vendor/npm/react-dom@18.0.0/profiling.js +23 -0
- data/public/vendor/npm/react-dom@18.0.0/server.browser.js +19 -0
- data/public/vendor/npm/react-dom@18.0.0/server.js +3 -0
- data/public/vendor/npm/react-dom@18.0.0/server.node.js +19 -0
- data/public/vendor/npm/react-dom@18.0.0/test-utils.js +9 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server-legacy.browser.development.js +4770 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server-legacy.browser.production.min.js +72 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server.browser.development.js +4745 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-server.browser.production.min.js +74 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-test-utils.development.js +1013 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom-test-utils.production.min.js +625 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom.development.js +20106 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom.production.min.js +269 -0
- data/public/vendor/npm/react-dom@18.0.0/umd/react-dom.profiling.min.js +285 -0
- data/public/vendor/npm/react-dom@18.0.0.js +1 -0
- data/public/vendor/npm/react@18.0.0/LICENSE +21 -0
- data/public/vendor/npm/react@18.0.0/README.md +13 -0
- data/public/vendor/npm/react@18.0.0/cjs/react-jsx-dev-runtime.development.js +837 -0
- data/public/vendor/npm/react@18.0.0/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- data/public/vendor/npm/react@18.0.0/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
- data/public/vendor/npm/react@18.0.0/cjs/react-jsx-runtime.development.js +849 -0
- data/public/vendor/npm/react@18.0.0/cjs/react-jsx-runtime.production.min.js +38 -0
- data/public/vendor/npm/react@18.0.0/cjs/react-jsx-runtime.profiling.min.js +38 -0
- data/public/vendor/npm/react@18.0.0/cjs/react.development.js +1746 -0
- data/public/vendor/npm/react@18.0.0/cjs/react.production.min.js +26 -0
- data/public/vendor/npm/react@18.0.0/cjs/react.shared-subset.development.js +10 -0
- data/public/vendor/npm/react@18.0.0/cjs/react.shared-subset.production.min.js +12 -0
- data/public/vendor/npm/react@18.0.0/index.js +9 -0
- data/public/vendor/npm/react@18.0.0/jsx-dev-runtime.js +9 -0
- data/public/vendor/npm/react@18.0.0/jsx-runtime.js +9 -0
- data/public/vendor/npm/react@18.0.0/package.json +47 -0
- data/public/vendor/npm/react@18.0.0/react.shared-subset.js +9 -0
- data/public/vendor/npm/react@18.0.0/umd/react.development.js +2186 -0
- data/public/vendor/npm/react@18.0.0/umd/react.production.min.js +33 -0
- data/public/vendor/npm/react@18.0.0/umd/react.profiling.min.js +33 -0
- data/public/vendor/npm/react@18.0.0.js +1 -0
- data/public/vendor/npm/readable-stream@1.1.14/LICENSE +18 -0
- data/public/vendor/npm/readable-stream@1.1.14/duplex.js +2 -0
- data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_duplex.js +5 -5
- data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_passthrough.js +3 -3
- data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_readable.js +10 -10
- data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_transform.js +4 -4
- data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/lib/_stream_writable.js +6 -6
- data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/package.json +1 -1
- data/public/vendor/npm/readable-stream@1.1.14/passthrough.js +2 -0
- data/public/vendor/npm/readable-stream@1.1.14/readable.js +13 -0
- data/public/vendor/npm/readable-stream@1.1.14/transform.js +2 -0
- data/public/vendor/npm/readable-stream@1.1.14/writable.js +2 -0
- data/public/vendor/npm/readable-stream@1.1.14.js +1 -0
- data/public/vendor/npm/scheduler@0.21.0/LICENSE +21 -0
- data/public/vendor/npm/scheduler@0.21.0/README.md +9 -0
- data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_mock.development.js +530 -0
- data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_mock.production.min.js +20 -0
- data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_post_task.development.js +153 -0
- data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler-unstable_post_task.production.min.js +14 -0
- data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler.development.js +444 -0
- data/public/vendor/npm/scheduler@0.21.0/cjs/scheduler.production.min.js +19 -0
- data/public/vendor/npm/scheduler@0.21.0/index.js +9 -0
- data/public/vendor/npm/scheduler@0.21.0/package.json +36 -0
- data/public/vendor/npm/scheduler@0.21.0/umd/scheduler-unstable_mock.development.js +701 -0
- data/public/vendor/npm/scheduler@0.21.0/umd/scheduler-unstable_mock.production.min.js +21 -0
- data/public/vendor/npm/scheduler@0.21.0/umd/scheduler.development.js +154 -0
- data/public/vendor/npm/scheduler@0.21.0/umd/scheduler.production.min.js +148 -0
- data/public/vendor/npm/scheduler@0.21.0/umd/scheduler.profiling.min.js +148 -0
- data/public/vendor/npm/scheduler@0.21.0/unstable_mock.js +9 -0
- data/public/vendor/npm/scheduler@0.21.0/unstable_post_task.js +9 -0
- data/public/vendor/npm/scheduler@0.21.0.js +1 -0
- data/public/vendor/npm/stream-browserify@1.0.0/index.js +7 -7
- data/public/vendor/npm/stream-browserify@1.0.0/test/buf.js +5 -5
- data/public/vendor/npm/stream-browserify@1.0.0.js +1 -1
- data/public/vendor/npm/string_decoder@0.10.31/index.js +2 -2
- data/public/vendor/npm/string_decoder@0.10.31.js +1 -1
- data/public/vendor/npm/util@0.10.3/support/isBuffer.js +1 -1
- data/public/vendor/npm/util@0.10.3/test/browser/inspect.js +2 -2
- data/public/vendor/npm/util@0.10.3/test/browser/is.js +3 -3
- data/public/vendor/npm/util@0.10.3/test/node/debug.js +4 -4
- data/public/vendor/npm/util@0.10.3/test/node/format.js +2 -2
- data/public/vendor/npm/util@0.10.3/test/node/inspect.js +3 -3
- data/public/vendor/npm/util@0.10.3/test/node/log.js +3 -3
- data/public/vendor/npm/util@0.10.3/test/node/util.js +3 -3
- data/public/vendor/npm/util@0.10.3/util.js +3 -3
- data/public/vendor/npm/util@0.10.3.js +1 -1
- data/public/vendor/npm/vm-browserify@0.0.4/LICENSE +18 -0
- data/public/vendor/npm/vm-browserify@0.0.4/example/run/bundle.js +376 -0
- data/public/vendor/npm/vm-browserify@0.0.4/example/run/entry.js +6 -0
- data/public/vendor/npm/vm-browserify@0.0.4/example/run/index.html +9 -0
- data/public/vendor/npm/vm-browserify@0.0.4/example/run/server.js +6 -0
- data/public/vendor/npm/vm-browserify@0.0.4/index.js +139 -0
- data/public/vendor/npm/vm-browserify@0.0.4/package.json +46 -0
- data/public/vendor/npm/vm-browserify@0.0.4/readme.markdown +67 -0
- data/public/vendor/npm/vm-browserify@0.0.4/test/vm.js +34 -0
- data/public/vendor/npm/vm-browserify@0.0.4.js +1 -0
- data/public/vendor/npm/webshim@1.15.8/Gruntfile.js +4 -4
- data/public/vendor/npm/webshim@1.15.8/build/combobuild.js +2 -2
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/color-picker.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/10.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/11.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/17.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/5.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/6.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/combos/9.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/es6.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/excanvas.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/form-number-date-ui.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/moxie/js/moxie-html4.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/moxie/js/moxie-swf.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/dev/shims/sizzle.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/js-webshim/minified/shims/es6.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/color-picker.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/combos/10.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/combos/11.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/combos/17.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/combos/5.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/combos/6.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/combos/9.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/es6.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/excanvas.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/form-number-date-ui.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/moxie/js/moxie-html4.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/moxie/js/moxie-swf.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/src/shims/sizzle.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/tests/dist/jquery.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/tests/jquery/unit/core.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/tests/jquery/unit/event.js +1388 -711
- data/public/vendor/npm/webshim@1.15.8/tests/qunit/qunit.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/tests/test-ext/jquery-1-custom.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/tests/test-ext/jquery-2-custom.js +1 -1
- data/public/vendor/npm/webshim@1.15.8/tests/test-ext/punycode.js +1 -1
- data/public/vendor/system-polyfills.js +865 -1
- data/views/blastn_options.erb +291 -0
- data/views/blastp_options.erb +288 -0
- data/views/blastx_options.erb +318 -0
- data/views/error.erb +12 -0
- data/views/layout.erb +2 -30
- data/views/report.erb +0 -8
- data/views/search.erb +16 -9
- data/views/tblastn_options.erb +266 -0
- data/views/tblastx_options.erb +291 -0
- metadata +318 -439
- data/public/vendor/github/jspm/nodelibs-buffer@0.1.0.js +0 -1
- data/public/vendor/github/jspm/nodelibs-module@0.1.0/index.js +0 -1
- data/public/vendor/github/jspm/nodelibs-module@0.1.0.js +0 -1
- data/public/vendor/github/jspm/nodelibs-process@0.1.1.js +0 -1
- data/public/vendor/npm/amdefine@1.0.0/LICENSE +0 -58
- data/public/vendor/npm/amdefine@1.0.0/README.md +0 -171
- data/public/vendor/npm/amdefine@1.0.0/amdefine.js +0 -200
- data/public/vendor/npm/amdefine@1.0.0/intercept.js +0 -24
- data/public/vendor/npm/amdefine@1.0.0/package.json +0 -16
- data/public/vendor/npm/amdefine@1.0.0.js +0 -1
- data/public/vendor/npm/base62@0.1.1/LICENSE +0 -20
- data/public/vendor/npm/base62@0.1.1/Readme.md +0 -30
- data/public/vendor/npm/base62@0.1.1/base62.js +0 -28
- data/public/vendor/npm/base62@0.1.1/package.json +0 -21
- data/public/vendor/npm/base62@0.1.1/test/test.js +0 -13
- data/public/vendor/npm/base62@0.1.1.js +0 -1
- data/public/vendor/npm/base64-js@0.0.8/lib/b64.js +0 -125
- data/public/vendor/npm/base64-js@0.0.8/package.json +0 -34
- data/public/vendor/npm/base64-js@0.0.8/test/convert.js +0 -39
- data/public/vendor/npm/base64-js@0.0.8/test/url-safe.js +0 -15
- data/public/vendor/npm/base64-js@0.0.8.js +0 -1
- data/public/vendor/npm/buffer@3.4.3/index.js +0 -1533
- data/public/vendor/npm/buffer@3.4.3/package.json +0 -67
- data/public/vendor/npm/buffer@3.4.3/test/_polyfill.js +0 -152
- data/public/vendor/npm/buffer@3.4.3/test/base64.js +0 -33
- data/public/vendor/npm/buffer@3.4.3/test/basic.js +0 -58
- data/public/vendor/npm/buffer@3.4.3/test/compare.js +0 -53
- data/public/vendor/npm/buffer@3.4.3/test/constructor.js +0 -132
- data/public/vendor/npm/buffer@3.4.3/test/deprecated.js +0 -21
- data/public/vendor/npm/buffer@3.4.3/test/from-string.js +0 -105
- data/public/vendor/npm/buffer@3.4.3/test/methods.js +0 -109
- data/public/vendor/npm/buffer@3.4.3/test/node/README.txt +0 -1
- data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-ascii.js +0 -20
- data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-bytelength.js +0 -38
- data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-concat.js +0 -26
- data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-indexof.js +0 -78
- data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer-inspect.js +0 -31
- data/public/vendor/npm/buffer@3.4.3/test/node/test-buffer.js +0 -804
- data/public/vendor/npm/buffer@3.4.3/test/node-es6/README.txt +0 -1
- data/public/vendor/npm/buffer@3.4.3/test/node-es6/test-buffer-arraybuffer.js +0 -37
- data/public/vendor/npm/buffer@3.4.3/test/node-es6/test-buffer-iterator.js +0 -32
- data/public/vendor/npm/buffer@3.4.3/test/slice.js +0 -33
- data/public/vendor/npm/buffer@3.4.3/test/static.js +0 -32
- data/public/vendor/npm/buffer@3.4.3/test/to-string.js +0 -106
- data/public/vendor/npm/buffer@3.4.3/test/write.js +0 -90
- data/public/vendor/npm/buffer@3.4.3.js +0 -1
- data/public/vendor/npm/core-util-is@1.0.1/float.patch +0 -604
- data/public/vendor/npm/core-util-is@1.0.1/lib/util.js +0 -66
- data/public/vendor/npm/core-util-is@1.0.1/util.js +0 -66
- data/public/vendor/npm/core-util-is@1.0.1.js +0 -1
- data/public/vendor/npm/envify@3.4.0/README.md +0 -145
- data/public/vendor/npm/envify@3.4.0/bin/envify +0 -17
- data/public/vendor/npm/envify@3.4.0/custom.js +0 -33
- data/public/vendor/npm/envify@3.4.0/index.js +0 -4
- data/public/vendor/npm/envify@3.4.0/package.json +0 -35
- data/public/vendor/npm/envify@3.4.0/visitors.js +0 -33
- data/public/vendor/npm/envify@3.4.0.js +0 -1
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/bin/esparse.js +0 -90
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/bin/esvalidate.js +0 -145
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/esprima.js +0 -6191
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/package.json +0 -72
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/compat.js +0 -167
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/reflect.js +0 -421
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/run.js +0 -34
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/runner.js +0 -418
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb/test/test.js +0 -34730
- data/public/vendor/npm/esprima-fb@13001.1001.0-dev-harmony-fb.js +0 -1
- data/public/vendor/npm/ieee754@1.1.6/LICENSE +0 -56
- data/public/vendor/npm/ieee754@1.1.6/package.json +0 -34
- data/public/vendor/npm/ieee754@1.1.6/test/basic.js +0 -20
- data/public/vendor/npm/ieee754@1.1.6.js +0 -1
- data/public/vendor/npm/is-array@1.0.1/History.md +0 -11
- data/public/vendor/npm/is-array@1.0.1/Readme.md +0 -27
- data/public/vendor/npm/is-array@1.0.1/component.json +0 -13
- data/public/vendor/npm/is-array@1.0.1/index.js +0 -33
- data/public/vendor/npm/is-array@1.0.1/package.json +0 -10
- data/public/vendor/npm/is-array@1.0.1/test/test.html +0 -46
- data/public/vendor/npm/is-array@1.0.1.js +0 -1
- data/public/vendor/npm/jstransform@10.1.0/LICENSE +0 -201
- data/public/vendor/npm/jstransform@10.1.0/README.md +0 -98
- data/public/vendor/npm/jstransform@10.1.0/jestEnvironment.js +0 -3
- data/public/vendor/npm/jstransform@10.1.0/jestPreprocessor.js +0 -8
- data/public/vendor/npm/jstransform@10.1.0/package.json +0 -52
- data/public/vendor/npm/jstransform@10.1.0/polyfill/Object.es6.js +0 -54
- data/public/vendor/npm/jstransform@10.1.0/src/__tests__/jstransform-test.js +0 -246
- data/public/vendor/npm/jstransform@10.1.0/src/__tests__/jstransform-utils-test.js +0 -31
- data/public/vendor/npm/jstransform@10.1.0/src/docblock.js +0 -86
- data/public/vendor/npm/jstransform@10.1.0/src/jstransform.js +0 -180
- data/public/vendor/npm/jstransform@10.1.0/src/utils.js +0 -386
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-arrow-function-visitors-test.js +0 -57
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-call-spread-visitors-test.js +0 -46
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-class-visitors-test.js +0 -463
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-destructuring-visitors-test.js +0 -144
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-es7-object-integration-test.js +0 -40
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-object-concise-method-visitors-test.js +0 -47
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-object-short-notation-visitors-test.js +0 -33
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-rest-param-visitors-test.js +0 -119
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es6-template-visitors-test.js +0 -138
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es7-rest-property-helpers-test.js +0 -47
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/es7-spread-property-visitors-test.js +0 -90
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/gen/generate-type-syntax-test.js +0 -40
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/gen/type-syntax-test.rec.js +0 -846
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/reserved-words-test.js +0 -40
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-alias-syntax-test.js +0 -34
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-class-syntax-test.js +0 -105
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-function-syntax-test.js +0 -126
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-interface-syntax-test.js +0 -29
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-object-method-syntax-test.js +0 -65
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-pattern-syntax-test.js +0 -45
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-syntax-test.js +0 -46
- data/public/vendor/npm/jstransform@10.1.0/visitors/__tests__/type-variable-declaration-syntax-test.js +0 -102
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-arrow-function-visitors.js +0 -66
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-call-spread-visitors.js +0 -72
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-class-visitors.js +0 -316
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-destructuring-visitors.js +0 -135
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-object-concise-method-visitors.js +0 -28
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-object-short-notation-visitors.js +0 -12
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-rest-param-visitors.js +0 -45
- data/public/vendor/npm/jstransform@10.1.0/visitors/es6-template-visitors.js +0 -90
- data/public/vendor/npm/jstransform@10.1.0/visitors/es7-rest-property-helpers.js +0 -80
- data/public/vendor/npm/jstransform@10.1.0/visitors/es7-spread-property-visitors.js +0 -56
- data/public/vendor/npm/jstransform@10.1.0/visitors/reserved-words-helper.js +0 -74
- data/public/vendor/npm/jstransform@10.1.0/visitors/reserved-words-visitors.js +0 -30
- data/public/vendor/npm/jstransform@10.1.0/visitors/type-syntax.js +0 -118
- data/public/vendor/npm/jstransform@10.1.0.js +0 -1
- data/public/vendor/npm/process@0.10.1/browser.js +0 -58
- data/public/vendor/npm/process@0.10.1.js +0 -1
- data/public/vendor/npm/qs@2.4.1/test/stringify.js +0 -162
- data/public/vendor/npm/react@0.13.3/README.md +0 -20
- data/public/vendor/npm/react@0.13.3/addons.js +0 -2
- data/public/vendor/npm/react@0.13.3/dist/JSXTransformer.js +0 -11346
- data/public/vendor/npm/react@0.13.3/dist/react-with-addons.js +0 -10483
- data/public/vendor/npm/react@0.13.3/dist/react-with-addons.min.js +0 -7297
- data/public/vendor/npm/react@0.13.3/dist/react.js +0 -9468
- data/public/vendor/npm/react@0.13.3/dist/react.min.js +0 -6764
- data/public/vendor/npm/react@0.13.3/lib/AutoFocusMixin.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/BeforeInputEventPlugin.js +0 -197
- data/public/vendor/npm/react@0.13.3/lib/CSSCore.js +0 -39
- data/public/vendor/npm/react@0.13.3/lib/CSSProperty.js +0 -123
- data/public/vendor/npm/react@0.13.3/lib/CSSPropertyOperations.js +0 -103
- data/public/vendor/npm/react@0.13.3/lib/CallbackQueue.js +0 -43
- data/public/vendor/npm/react@0.13.3/lib/ChangeEventPlugin.js +0 -174
- data/public/vendor/npm/react@0.13.3/lib/ClientReactRootIndex.js +0 -23
- data/public/vendor/npm/react@0.13.3/lib/DOMChildrenOperations.js +0 -57
- data/public/vendor/npm/react@0.13.3/lib/DOMProperty.js +0 -96
- data/public/vendor/npm/react@0.13.3/lib/DOMPropertyOperations.js +0 -99
- data/public/vendor/npm/react@0.13.3/lib/Danger.js +0 -67
- data/public/vendor/npm/react@0.13.3/lib/DefaultEventPluginOrder.js +0 -5
- data/public/vendor/npm/react@0.13.3/lib/EnterLeaveEventPlugin.js +0 -69
- data/public/vendor/npm/react@0.13.3/lib/EventConstants.js +0 -55
- data/public/vendor/npm/react@0.13.3/lib/EventListener.js +0 -34
- data/public/vendor/npm/react@0.13.3/lib/EventPluginHub.js +0 -103
- data/public/vendor/npm/react@0.13.3/lib/EventPluginRegistry.js +0 -115
- data/public/vendor/npm/react@0.13.3/lib/EventPluginUtils.js +0 -121
- data/public/vendor/npm/react@0.13.3/lib/EventPropagators.js +0 -62
- data/public/vendor/npm/react@0.13.3/lib/ExecutionEnvironment.js +0 -42
- data/public/vendor/npm/react@0.13.3/lib/FallbackCompositionState.js +0 -45
- data/public/vendor/npm/react@0.13.3/lib/HTMLDOMPropertyConfig.js +0 -155
- data/public/vendor/npm/react@0.13.3/lib/LinkedStateMixin.js +0 -8
- data/public/vendor/npm/react@0.13.3/lib/LinkedValueUtils.js +0 -74
- data/public/vendor/npm/react@0.13.3/lib/LocalEventTrapMixin.js +0 -26
- data/public/vendor/npm/react@0.13.3/lib/MobileSafariClickEventPlugin.js +0 -17
- data/public/vendor/npm/react@0.13.3/lib/Object.assign.js +0 -47
- data/public/vendor/npm/react@0.13.3/lib/PooledClass.js +0 -75
- data/public/vendor/npm/react@0.13.3/lib/React.js +0 -93
- data/public/vendor/npm/react@0.13.3/lib/ReactBrowserComponentMixin.js +0 -7
- data/public/vendor/npm/react@0.13.3/lib/ReactBrowserEventEmitter.js +0 -136
- data/public/vendor/npm/react@0.13.3/lib/ReactCSSTransitionGroup.js +0 -34
- data/public/vendor/npm/react@0.13.3/lib/ReactCSSTransitionGroupChild.js +0 -92
- data/public/vendor/npm/react@0.13.3/lib/ReactChildReconciler.js +0 -57
- data/public/vendor/npm/react@0.13.3/lib/ReactChildren.js +0 -67
- data/public/vendor/npm/react@0.13.3/lib/ReactClass.js +0 -338
- data/public/vendor/npm/react@0.13.3/lib/ReactComponent.js +0 -50
- data/public/vendor/npm/react@0.13.3/lib/ReactComponentBrowserEnvironment.js +0 -14
- data/public/vendor/npm/react@0.13.3/lib/ReactComponentEnvironment.js +0 -19
- data/public/vendor/npm/react@0.13.3/lib/ReactComponentWithPureRenderMixin.js +0 -7
- data/public/vendor/npm/react@0.13.3/lib/ReactCompositeComponent.js +0 -374
- data/public/vendor/npm/react@0.13.3/lib/ReactContext.js +0 -27
- data/public/vendor/npm/react@0.13.3/lib/ReactCurrentOwner.js +0 -32
- data/public/vendor/npm/react@0.13.3/lib/ReactDOM.js +0 -146
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMButton.js +0 -35
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMComponent.js +0 -267
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMForm.js +0 -21
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMIDOperations.js +0 -63
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMIframe.js +0 -20
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMImg.js +0 -21
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMInput.js +0 -94
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMOption.js +0 -23
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMSelect.js +0 -112
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMSelection.js +0 -103
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMTextComponent.js +0 -38
- data/public/vendor/npm/react@0.13.3/lib/ReactDOMTextarea.js +0 -70
- data/public/vendor/npm/react@0.13.3/lib/ReactDefaultBatchingStrategy.js +0 -37
- data/public/vendor/npm/react@0.13.3/lib/ReactDefaultInjection.js +0 -93
- data/public/vendor/npm/react@0.13.3/lib/ReactDefaultPerf.js +0 -183
- data/public/vendor/npm/react@0.13.3/lib/ReactDefaultPerfAnalysis.js +0 -145
- data/public/vendor/npm/react@0.13.3/lib/ReactElement.js +0 -151
- data/public/vendor/npm/react@0.13.3/lib/ReactElementValidator.js +0 -218
- data/public/vendor/npm/react@0.13.3/lib/ReactEmptyComponent.js +0 -47
- data/public/vendor/npm/react@0.13.3/lib/ReactErrorUtils.js +0 -30
- data/public/vendor/npm/react@0.13.3/lib/ReactEventEmitterMixin.js +0 -12
- data/public/vendor/npm/react@0.13.3/lib/ReactEventListener.js +0 -93
- data/public/vendor/npm/react@0.13.3/lib/ReactFragment.js +0 -110
- data/public/vendor/npm/react@0.13.3/lib/ReactInjection.js +0 -27
- data/public/vendor/npm/react@0.13.3/lib/ReactInputSelection.js +0 -75
- data/public/vendor/npm/react@0.13.3/lib/ReactInstanceHandles.js +0 -113
- data/public/vendor/npm/react@0.13.3/lib/ReactInstanceMap.js +0 -47
- data/public/vendor/npm/react@0.13.3/lib/ReactLifeCycle.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/ReactLink.js +0 -16
- data/public/vendor/npm/react@0.13.3/lib/ReactMarkupChecksum.js +0 -17
- data/public/vendor/npm/react@0.13.3/lib/ReactMount.js +0 -347
- data/public/vendor/npm/react@0.13.3/lib/ReactMultiChild.js +0 -190
- data/public/vendor/npm/react@0.13.3/lib/ReactMultiChildUpdateTypes.js +0 -10
- data/public/vendor/npm/react@0.13.3/lib/ReactNativeComponent.js +0 -53
- data/public/vendor/npm/react@0.13.3/lib/ReactOwner.js +0 -21
- data/public/vendor/npm/react@0.13.3/lib/ReactPerf.js +0 -42
- data/public/vendor/npm/react@0.13.3/lib/ReactPropTransferer.js +0 -40
- data/public/vendor/npm/react@0.13.3/lib/ReactPropTypeLocationNames.js +0 -13
- data/public/vendor/npm/react@0.13.3/lib/ReactPropTypeLocations.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/ReactPropTypes.js +0 -225
- data/public/vendor/npm/react@0.13.3/lib/ReactPutListenerQueue.js +0 -31
- data/public/vendor/npm/react@0.13.3/lib/ReactReconcileTransaction.js +0 -66
- data/public/vendor/npm/react@0.13.3/lib/ReactReconciler.js +0 -44
- data/public/vendor/npm/react@0.13.3/lib/ReactRef.js +0 -36
- data/public/vendor/npm/react@0.13.3/lib/ReactRootIndex.js +0 -29
- data/public/vendor/npm/react@0.13.3/lib/ReactServerRendering.js +0 -44
- data/public/vendor/npm/react@0.13.3/lib/ReactServerRenderingTransaction.js +0 -47
- data/public/vendor/npm/react@0.13.3/lib/ReactStateSetters.js +0 -104
- data/public/vendor/npm/react@0.13.3/lib/ReactTestUtils.js +0 -249
- data/public/vendor/npm/react@0.13.3/lib/ReactTransitionChildMapping.js +0 -53
- data/public/vendor/npm/react@0.13.3/lib/ReactTransitionEvents.js +0 -68
- data/public/vendor/npm/react@0.13.3/lib/ReactTransitionGroup.js +0 -140
- data/public/vendor/npm/react@0.13.3/lib/ReactUpdateQueue.js +0 -107
- data/public/vendor/npm/react@0.13.3/lib/ReactUpdates.js +0 -139
- data/public/vendor/npm/react@0.13.3/lib/ReactWithAddons.js +0 -30
- data/public/vendor/npm/react@0.13.3/lib/SVGDOMPropertyConfig.js +0 -76
- data/public/vendor/npm/react@0.13.3/lib/SelectEventPlugin.js +0 -91
- data/public/vendor/npm/react@0.13.3/lib/ServerReactRootIndex.js +0 -29
- data/public/vendor/npm/react@0.13.3/lib/SimpleEventPlugin.js +0 -287
- data/public/vendor/npm/react@0.13.3/lib/SyntheticClipboardEvent.js +0 -11
- data/public/vendor/npm/react@0.13.3/lib/SyntheticCompositionEvent.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/SyntheticDragEvent.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/SyntheticEvent.js +0 -90
- data/public/vendor/npm/react@0.13.3/lib/SyntheticFocusEvent.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/SyntheticInputEvent.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/SyntheticKeyboardEvent.js +0 -43
- data/public/vendor/npm/react@0.13.3/lib/SyntheticMouseEvent.js +0 -38
- data/public/vendor/npm/react@0.13.3/lib/SyntheticTouchEvent.js +0 -19
- data/public/vendor/npm/react@0.13.3/lib/SyntheticUIEvent.js +0 -29
- data/public/vendor/npm/react@0.13.3/lib/SyntheticWheelEvent.js +0 -18
- data/public/vendor/npm/react@0.13.3/lib/Transaction.js +0 -90
- data/public/vendor/npm/react@0.13.3/lib/ViewportMetrics.js +0 -27
- data/public/vendor/npm/react@0.13.3/lib/accumulateInto.js +0 -26
- data/public/vendor/npm/react@0.13.3/lib/adler32.js +0 -32
- data/public/vendor/npm/react@0.13.3/lib/camelize.js +0 -30
- data/public/vendor/npm/react@0.13.3/lib/camelizeStyleName.js +0 -8
- data/public/vendor/npm/react@0.13.3/lib/cloneWithProps.js +0 -20
- data/public/vendor/npm/react@0.13.3/lib/containsNode.js +0 -20
- data/public/vendor/npm/react@0.13.3/lib/createArrayFromMixed.js +0 -15
- data/public/vendor/npm/react@0.13.3/lib/createFullPageComponent.js +0 -22
- data/public/vendor/npm/react@0.13.3/lib/createNodesFromMarkup.js +0 -39
- data/public/vendor/npm/react@0.13.3/lib/cx.js +0 -20
- data/public/vendor/npm/react@0.13.3/lib/dangerousStyleValue.js +0 -19
- data/public/vendor/npm/react@0.13.3/lib/emptyFunction.js +0 -32
- data/public/vendor/npm/react@0.13.3/lib/emptyObject.js +0 -9
- data/public/vendor/npm/react@0.13.3/lib/escapeTextContentForBrowser.js +0 -38
- data/public/vendor/npm/react@0.13.3/lib/findDOMNode.js +0 -31
- data/public/vendor/npm/react@0.13.3/lib/flattenChildren.js +0 -25
- data/public/vendor/npm/react@0.13.3/lib/focusNode.js +0 -27
- data/public/vendor/npm/react@0.13.3/lib/forEachAccumulated.js +0 -29
- data/public/vendor/npm/react@0.13.3/lib/getActiveElement.js +0 -27
- data/public/vendor/npm/react@0.13.3/lib/getEventCharCode.js +0 -50
- data/public/vendor/npm/react@0.13.3/lib/getEventKey.js +0 -72
- data/public/vendor/npm/react@0.13.3/lib/getEventModifierState.js +0 -45
- data/public/vendor/npm/react@0.13.3/lib/getEventTarget.js +0 -29
- data/public/vendor/npm/react@0.13.3/lib/getIteratorFn.js +0 -42
- data/public/vendor/npm/react@0.13.3/lib/getMarkupWrap.js +0 -73
- data/public/vendor/npm/react@0.13.3/lib/getNodeForCharacterOffset.js +0 -73
- data/public/vendor/npm/react@0.13.3/lib/getReactRootElementInContainer.js +0 -33
- data/public/vendor/npm/react@0.13.3/lib/getTextContentAccessor.js +0 -11
- data/public/vendor/npm/react@0.13.3/lib/getUnboundedScrollPosition.js +0 -38
- data/public/vendor/npm/react@0.13.3/lib/hyphenate.js +0 -31
- data/public/vendor/npm/react@0.13.3/lib/hyphenateStyleName.js +0 -8
- data/public/vendor/npm/react@0.13.3/lib/instantiateReactComponent.js +0 -55
- data/public/vendor/npm/react@0.13.3/lib/invariant.js +0 -26
- data/public/vendor/npm/react@0.13.3/lib/isEventSupported.js +0 -24
- data/public/vendor/npm/react@0.13.3/lib/isNode.js +0 -25
- data/public/vendor/npm/react@0.13.3/lib/isTextInputElement.js +0 -41
- data/public/vendor/npm/react@0.13.3/lib/isTextNode.js +0 -6
- data/public/vendor/npm/react@0.13.3/lib/joinClasses.js +0 -39
- data/public/vendor/npm/react@0.13.3/lib/keyMirror.js +0 -18
- data/public/vendor/npm/react@0.13.3/lib/keyOf.js +0 -34
- data/public/vendor/npm/react@0.13.3/lib/mapObject.js +0 -51
- data/public/vendor/npm/react@0.13.3/lib/memoizeStringOnly.js +0 -31
- data/public/vendor/npm/react@0.13.3/lib/onlyChild.js +0 -11
- data/public/vendor/npm/react@0.13.3/lib/performance.js +0 -8
- data/public/vendor/npm/react@0.13.3/lib/performanceNow.js +0 -7
- data/public/vendor/npm/react@0.13.3/lib/quoteAttributeValueForBrowser.js +0 -7
- data/public/vendor/npm/react@0.13.3/lib/setInnerHTML.js +0 -40
- data/public/vendor/npm/react@0.13.3/lib/setTextContent.js +0 -16
- data/public/vendor/npm/react@0.13.3/lib/shallowEqual.js +0 -42
- data/public/vendor/npm/react@0.13.3/lib/shouldUpdateReactComponent.js +0 -51
- data/public/vendor/npm/react@0.13.3/lib/toArray.js +0 -21
- data/public/vendor/npm/react@0.13.3/lib/traverseAllChildren.js +0 -104
- data/public/vendor/npm/react@0.13.3/lib/update.js +0 -78
- data/public/vendor/npm/react@0.13.3/lib/warning.js +0 -34
- data/public/vendor/npm/react@0.13.3/package.json +0 -34
- data/public/vendor/npm/react@0.13.3/react.js +0 -2
- data/public/vendor/npm/react@0.13.3.js +0 -1
- data/public/vendor/npm/readable-stream@1.1.13/duplex.js +0 -2
- data/public/vendor/npm/readable-stream@1.1.13/passthrough.js +0 -2
- data/public/vendor/npm/readable-stream@1.1.13/readable.js +0 -8
- data/public/vendor/npm/readable-stream@1.1.13/transform.js +0 -2
- data/public/vendor/npm/readable-stream@1.1.13/writable.js +0 -2
- data/public/vendor/npm/readable-stream@1.1.13.js +0 -1
- data/public/vendor/npm/source-map@0.1.31/CHANGELOG.md +0 -112
- data/public/vendor/npm/source-map@0.1.31/LICENSE +0 -28
- data/public/vendor/npm/source-map@0.1.31/Makefile.dryice.js +0 -89
- data/public/vendor/npm/source-map@0.1.31/README.md +0 -434
- data/public/vendor/npm/source-map@0.1.31/build/assert-shim.js +0 -58
- data/public/vendor/npm/source-map@0.1.31/build/mini-require.js +0 -154
- data/public/vendor/npm/source-map@0.1.31/build/prefix-source-map.jsm +0 -20
- data/public/vendor/npm/source-map@0.1.31/build/prefix-utils.jsm +0 -18
- data/public/vendor/npm/source-map@0.1.31/build/suffix-browser.js +0 -8
- data/public/vendor/npm/source-map@0.1.31/build/suffix-source-map.jsm +0 -6
- data/public/vendor/npm/source-map@0.1.31/build/suffix-utils.jsm +0 -21
- data/public/vendor/npm/source-map@0.1.31/build/test-prefix.js +0 -10
- data/public/vendor/npm/source-map@0.1.31/build/test-suffix.js +0 -5
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/array-set.js +0 -49
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/base64-vlq.js +0 -56
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/base64.js +0 -44
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/binary-search.js +0 -83
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/source-map-consumer.js +0 -238
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/source-map-generator.js +0 -231
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/source-node.js +0 -234
- data/public/vendor/npm/source-map@0.1.31/lib/source-map/util.js +0 -207
- data/public/vendor/npm/source-map@0.1.31/lib/source-map.js +0 -4
- data/public/vendor/npm/source-map@0.1.31/package.json +0 -52
- data/public/vendor/npm/source-map@0.1.31/test/run-tests.js +0 -50
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-api.js +0 -19
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-array-set.js +0 -84
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-base64-vlq.js +0 -17
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-base64.js +0 -26
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-binary-search.js +0 -37
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-dog-fooding.js +0 -76
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-source-map-consumer.js +0 -426
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-source-map-generator.js +0 -480
- data/public/vendor/npm/source-map@0.1.31/test/source-map/test-source-node.js +0 -307
- data/public/vendor/npm/source-map@0.1.31/test/source-map/util.js +0 -84
- data/public/vendor/npm/source-map@0.1.31.js +0 -1
- data/public/vendor/npm/through@2.3.8/LICENSE.APACHE2 +0 -15
- data/public/vendor/npm/through@2.3.8/LICENSE.MIT +0 -24
- data/public/vendor/npm/through@2.3.8/index.js +0 -93
- data/public/vendor/npm/through@2.3.8/package.json +0 -36
- data/public/vendor/npm/through@2.3.8/readme.markdown +0 -64
- data/public/vendor/npm/through@2.3.8/test/async.js +0 -26
- data/public/vendor/npm/through@2.3.8/test/auto-destroy.js +0 -26
- data/public/vendor/npm/through@2.3.8/test/buffering.js +0 -57
- data/public/vendor/npm/through@2.3.8/test/end.js +0 -37
- data/public/vendor/npm/through@2.3.8/test/index.js +0 -98
- data/public/vendor/npm/through@2.3.8/test.js +0 -2
- data/public/vendor/npm/through@2.3.8.js +0 -1
- data/views/_options.erb +0 -156
- /data/public/vendor/github/jspm/{nodelibs-buffer@0.1.0 → nodelibs-buffer@0.1.1}/index.js +0 -0
- /data/public/vendor/github/jspm/{nodelibs-process@0.1.1 → nodelibs-process@0.1.2}/index.js +0 -0
- /data/public/vendor/npm/{readable-stream@1.1.13 → assert@1.5.0}/LICENSE +0 -0
- /data/public/vendor/npm/{buffer@3.4.3 → buffer@5.7.1}/LICENSE +0 -0
- /data/public/vendor/npm/{core-util-is@1.0.1 → core-util-is@1.0.3}/README.md +0 -0
- /data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/LICENSE +0 -0
- /data/public/vendor/npm/{process@0.10.1 → process@0.11.10}/index.js +0 -0
- /data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/README.md +0 -0
- /data/public/vendor/npm/{readable-stream@1.1.13 → readable-stream@1.1.14}/float.patch +0 -0
@@ -0,0 +1,1746 @@
|
|
1
|
+
/* */
|
2
|
+
(function(process) {
|
3
|
+
'use strict';
|
4
|
+
if (process.env.NODE_ENV !== "production") {
|
5
|
+
(function() {
|
6
|
+
'use strict';
|
7
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === 'function') {
|
8
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
9
|
+
}
|
10
|
+
var ReactVersion = '18.0.0-fc46dba67-20220329';
|
11
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
12
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
13
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
14
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
15
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
16
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
17
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
18
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
19
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
20
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
21
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
22
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
23
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
24
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
25
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
26
|
+
function getIteratorFn(maybeIterable) {
|
27
|
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
28
|
+
return null;
|
29
|
+
}
|
30
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
31
|
+
if (typeof maybeIterator === 'function') {
|
32
|
+
return maybeIterator;
|
33
|
+
}
|
34
|
+
return null;
|
35
|
+
}
|
36
|
+
var ReactCurrentDispatcher = {current: null};
|
37
|
+
var ReactCurrentBatchConfig = {transition: null};
|
38
|
+
var ReactCurrentActQueue = {
|
39
|
+
current: null,
|
40
|
+
isBatchingLegacy: false,
|
41
|
+
didScheduleLegacyUpdate: false
|
42
|
+
};
|
43
|
+
var ReactCurrentOwner = {current: null};
|
44
|
+
var ReactDebugCurrentFrame = {};
|
45
|
+
var currentExtraStackFrame = null;
|
46
|
+
function setExtraStackFrame(stack) {
|
47
|
+
{
|
48
|
+
currentExtraStackFrame = stack;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
{
|
52
|
+
ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
|
53
|
+
{
|
54
|
+
currentExtraStackFrame = stack;
|
55
|
+
}
|
56
|
+
};
|
57
|
+
ReactDebugCurrentFrame.getCurrentStack = null;
|
58
|
+
ReactDebugCurrentFrame.getStackAddendum = function() {
|
59
|
+
var stack = '';
|
60
|
+
if (currentExtraStackFrame) {
|
61
|
+
stack += currentExtraStackFrame;
|
62
|
+
}
|
63
|
+
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
64
|
+
if (impl) {
|
65
|
+
stack += impl() || '';
|
66
|
+
}
|
67
|
+
return stack;
|
68
|
+
};
|
69
|
+
}
|
70
|
+
var enableScopeAPI = false;
|
71
|
+
var enableCacheElement = false;
|
72
|
+
var enableTransitionTracing = false;
|
73
|
+
var enableLegacyHidden = false;
|
74
|
+
var enableDebugTracing = false;
|
75
|
+
var ReactSharedInternals = {
|
76
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
77
|
+
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
78
|
+
ReactCurrentOwner: ReactCurrentOwner
|
79
|
+
};
|
80
|
+
{
|
81
|
+
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
|
82
|
+
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
|
83
|
+
}
|
84
|
+
function warn(format) {
|
85
|
+
{
|
86
|
+
{
|
87
|
+
for (var _len = arguments.length,
|
88
|
+
args = new Array(_len > 1 ? _len - 1 : 0),
|
89
|
+
_key = 1; _key < _len; _key++) {
|
90
|
+
args[_key - 1] = arguments[_key];
|
91
|
+
}
|
92
|
+
printWarning('warn', format, args);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
function error(format) {
|
97
|
+
{
|
98
|
+
{
|
99
|
+
for (var _len2 = arguments.length,
|
100
|
+
args = new Array(_len2 > 1 ? _len2 - 1 : 0),
|
101
|
+
_key2 = 1; _key2 < _len2; _key2++) {
|
102
|
+
args[_key2 - 1] = arguments[_key2];
|
103
|
+
}
|
104
|
+
printWarning('error', format, args);
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
function printWarning(level, format, args) {
|
109
|
+
{
|
110
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
111
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
112
|
+
if (stack !== '') {
|
113
|
+
format += '%s';
|
114
|
+
args = args.concat([stack]);
|
115
|
+
}
|
116
|
+
var argsWithFormat = args.map(function(item) {
|
117
|
+
return String(item);
|
118
|
+
});
|
119
|
+
argsWithFormat.unshift('Warning: ' + format);
|
120
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
var didWarnStateUpdateForUnmountedComponent = {};
|
124
|
+
function warnNoop(publicInstance, callerName) {
|
125
|
+
{
|
126
|
+
var _constructor = publicInstance.constructor;
|
127
|
+
var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
|
128
|
+
var warningKey = componentName + "." + callerName;
|
129
|
+
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
|
130
|
+
return;
|
131
|
+
}
|
132
|
+
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);
|
133
|
+
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
var ReactNoopUpdateQueue = {
|
137
|
+
isMounted: function(publicInstance) {
|
138
|
+
return false;
|
139
|
+
},
|
140
|
+
enqueueForceUpdate: function(publicInstance, callback, callerName) {
|
141
|
+
warnNoop(publicInstance, 'forceUpdate');
|
142
|
+
},
|
143
|
+
enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
|
144
|
+
warnNoop(publicInstance, 'replaceState');
|
145
|
+
},
|
146
|
+
enqueueSetState: function(publicInstance, partialState, callback, callerName) {
|
147
|
+
warnNoop(publicInstance, 'setState');
|
148
|
+
}
|
149
|
+
};
|
150
|
+
var assign = Object.assign;
|
151
|
+
var emptyObject = {};
|
152
|
+
{
|
153
|
+
Object.freeze(emptyObject);
|
154
|
+
}
|
155
|
+
function Component(props, context, updater) {
|
156
|
+
this.props = props;
|
157
|
+
this.context = context;
|
158
|
+
this.refs = emptyObject;
|
159
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
160
|
+
}
|
161
|
+
Component.prototype.isReactComponent = {};
|
162
|
+
Component.prototype.setState = function(partialState, callback) {
|
163
|
+
if (typeof partialState !== 'object' && typeof partialState !== 'function' && partialState != null) {
|
164
|
+
throw new Error('setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.');
|
165
|
+
}
|
166
|
+
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
167
|
+
};
|
168
|
+
Component.prototype.forceUpdate = function(callback) {
|
169
|
+
this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
|
170
|
+
};
|
171
|
+
{
|
172
|
+
var deprecatedAPIs = {
|
173
|
+
isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
|
174
|
+
replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
|
175
|
+
};
|
176
|
+
var defineDeprecationWarning = function(methodName, info) {
|
177
|
+
Object.defineProperty(Component.prototype, methodName, {get: function() {
|
178
|
+
warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
|
179
|
+
return undefined;
|
180
|
+
}});
|
181
|
+
};
|
182
|
+
for (var fnName in deprecatedAPIs) {
|
183
|
+
if (deprecatedAPIs.hasOwnProperty(fnName)) {
|
184
|
+
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
function ComponentDummy() {}
|
189
|
+
ComponentDummy.prototype = Component.prototype;
|
190
|
+
function PureComponent(props, context, updater) {
|
191
|
+
this.props = props;
|
192
|
+
this.context = context;
|
193
|
+
this.refs = emptyObject;
|
194
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
195
|
+
}
|
196
|
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
197
|
+
pureComponentPrototype.constructor = PureComponent;
|
198
|
+
assign(pureComponentPrototype, Component.prototype);
|
199
|
+
pureComponentPrototype.isPureReactComponent = true;
|
200
|
+
function createRef() {
|
201
|
+
var refObject = {current: null};
|
202
|
+
{
|
203
|
+
Object.seal(refObject);
|
204
|
+
}
|
205
|
+
return refObject;
|
206
|
+
}
|
207
|
+
var isArrayImpl = Array.isArray;
|
208
|
+
function isArray(a) {
|
209
|
+
return isArrayImpl(a);
|
210
|
+
}
|
211
|
+
function typeName(value) {
|
212
|
+
{
|
213
|
+
var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
|
214
|
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
|
215
|
+
return type;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
function willCoercionThrow(value) {
|
219
|
+
{
|
220
|
+
try {
|
221
|
+
testStringCoercion(value);
|
222
|
+
return false;
|
223
|
+
} catch (e) {
|
224
|
+
return true;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
function testStringCoercion(value) {
|
229
|
+
return '' + value;
|
230
|
+
}
|
231
|
+
function checkKeyStringCoercion(value) {
|
232
|
+
{
|
233
|
+
if (willCoercionThrow(value)) {
|
234
|
+
error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
|
235
|
+
return testStringCoercion(value);
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
240
|
+
var displayName = outerType.displayName;
|
241
|
+
if (displayName) {
|
242
|
+
return displayName;
|
243
|
+
}
|
244
|
+
var functionName = innerType.displayName || innerType.name || '';
|
245
|
+
return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
|
246
|
+
}
|
247
|
+
function getContextName(type) {
|
248
|
+
return type.displayName || 'Context';
|
249
|
+
}
|
250
|
+
function getComponentNameFromType(type) {
|
251
|
+
if (type == null) {
|
252
|
+
return null;
|
253
|
+
}
|
254
|
+
{
|
255
|
+
if (typeof type.tag === 'number') {
|
256
|
+
error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
|
257
|
+
}
|
258
|
+
}
|
259
|
+
if (typeof type === 'function') {
|
260
|
+
return type.displayName || type.name || null;
|
261
|
+
}
|
262
|
+
if (typeof type === 'string') {
|
263
|
+
return type;
|
264
|
+
}
|
265
|
+
switch (type) {
|
266
|
+
case REACT_FRAGMENT_TYPE:
|
267
|
+
return 'Fragment';
|
268
|
+
case REACT_PORTAL_TYPE:
|
269
|
+
return 'Portal';
|
270
|
+
case REACT_PROFILER_TYPE:
|
271
|
+
return 'Profiler';
|
272
|
+
case REACT_STRICT_MODE_TYPE:
|
273
|
+
return 'StrictMode';
|
274
|
+
case REACT_SUSPENSE_TYPE:
|
275
|
+
return 'Suspense';
|
276
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
277
|
+
return 'SuspenseList';
|
278
|
+
}
|
279
|
+
if (typeof type === 'object') {
|
280
|
+
switch (type.$$typeof) {
|
281
|
+
case REACT_CONTEXT_TYPE:
|
282
|
+
var context = type;
|
283
|
+
return getContextName(context) + '.Consumer';
|
284
|
+
case REACT_PROVIDER_TYPE:
|
285
|
+
var provider = type;
|
286
|
+
return getContextName(provider._context) + '.Provider';
|
287
|
+
case REACT_FORWARD_REF_TYPE:
|
288
|
+
return getWrappedName(type, type.render, 'ForwardRef');
|
289
|
+
case REACT_MEMO_TYPE:
|
290
|
+
var outerName = type.displayName || null;
|
291
|
+
if (outerName !== null) {
|
292
|
+
return outerName;
|
293
|
+
}
|
294
|
+
return getComponentNameFromType(type.type) || 'Memo';
|
295
|
+
case REACT_LAZY_TYPE:
|
296
|
+
{
|
297
|
+
var lazyComponent = type;
|
298
|
+
var payload = lazyComponent._payload;
|
299
|
+
var init = lazyComponent._init;
|
300
|
+
try {
|
301
|
+
return getComponentNameFromType(init(payload));
|
302
|
+
} catch (x) {
|
303
|
+
return null;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
return null;
|
309
|
+
}
|
310
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
311
|
+
var RESERVED_PROPS = {
|
312
|
+
key: true,
|
313
|
+
ref: true,
|
314
|
+
__self: true,
|
315
|
+
__source: true
|
316
|
+
};
|
317
|
+
var specialPropKeyWarningShown,
|
318
|
+
specialPropRefWarningShown,
|
319
|
+
didWarnAboutStringRefs;
|
320
|
+
{
|
321
|
+
didWarnAboutStringRefs = {};
|
322
|
+
}
|
323
|
+
function hasValidRef(config) {
|
324
|
+
{
|
325
|
+
if (hasOwnProperty.call(config, 'ref')) {
|
326
|
+
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
|
327
|
+
if (getter && getter.isReactWarning) {
|
328
|
+
return false;
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
return config.ref !== undefined;
|
333
|
+
}
|
334
|
+
function hasValidKey(config) {
|
335
|
+
{
|
336
|
+
if (hasOwnProperty.call(config, 'key')) {
|
337
|
+
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
|
338
|
+
if (getter && getter.isReactWarning) {
|
339
|
+
return false;
|
340
|
+
}
|
341
|
+
}
|
342
|
+
}
|
343
|
+
return config.key !== undefined;
|
344
|
+
}
|
345
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
346
|
+
var warnAboutAccessingKey = function() {
|
347
|
+
{
|
348
|
+
if (!specialPropKeyWarningShown) {
|
349
|
+
specialPropKeyWarningShown = true;
|
350
|
+
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);
|
351
|
+
}
|
352
|
+
}
|
353
|
+
};
|
354
|
+
warnAboutAccessingKey.isReactWarning = true;
|
355
|
+
Object.defineProperty(props, 'key', {
|
356
|
+
get: warnAboutAccessingKey,
|
357
|
+
configurable: true
|
358
|
+
});
|
359
|
+
}
|
360
|
+
function defineRefPropWarningGetter(props, displayName) {
|
361
|
+
var warnAboutAccessingRef = function() {
|
362
|
+
{
|
363
|
+
if (!specialPropRefWarningShown) {
|
364
|
+
specialPropRefWarningShown = true;
|
365
|
+
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);
|
366
|
+
}
|
367
|
+
}
|
368
|
+
};
|
369
|
+
warnAboutAccessingRef.isReactWarning = true;
|
370
|
+
Object.defineProperty(props, 'ref', {
|
371
|
+
get: warnAboutAccessingRef,
|
372
|
+
configurable: true
|
373
|
+
});
|
374
|
+
}
|
375
|
+
function warnIfStringRefCannotBeAutoConverted(config) {
|
376
|
+
{
|
377
|
+
if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
|
378
|
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
379
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
380
|
+
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);
|
381
|
+
didWarnAboutStringRefs[componentName] = true;
|
382
|
+
}
|
383
|
+
}
|
384
|
+
}
|
385
|
+
}
|
386
|
+
var ReactElement = function(type, key, ref, self, source, owner, props) {
|
387
|
+
var element = {
|
388
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
389
|
+
type: type,
|
390
|
+
key: key,
|
391
|
+
ref: ref,
|
392
|
+
props: props,
|
393
|
+
_owner: owner
|
394
|
+
};
|
395
|
+
{
|
396
|
+
element._store = {};
|
397
|
+
Object.defineProperty(element._store, 'validated', {
|
398
|
+
configurable: false,
|
399
|
+
enumerable: false,
|
400
|
+
writable: true,
|
401
|
+
value: false
|
402
|
+
});
|
403
|
+
Object.defineProperty(element, '_self', {
|
404
|
+
configurable: false,
|
405
|
+
enumerable: false,
|
406
|
+
writable: false,
|
407
|
+
value: self
|
408
|
+
});
|
409
|
+
Object.defineProperty(element, '_source', {
|
410
|
+
configurable: false,
|
411
|
+
enumerable: false,
|
412
|
+
writable: false,
|
413
|
+
value: source
|
414
|
+
});
|
415
|
+
if (Object.freeze) {
|
416
|
+
Object.freeze(element.props);
|
417
|
+
Object.freeze(element);
|
418
|
+
}
|
419
|
+
}
|
420
|
+
return element;
|
421
|
+
};
|
422
|
+
function createElement(type, config, children) {
|
423
|
+
var propName;
|
424
|
+
var props = {};
|
425
|
+
var key = null;
|
426
|
+
var ref = null;
|
427
|
+
var self = null;
|
428
|
+
var source = null;
|
429
|
+
if (config != null) {
|
430
|
+
if (hasValidRef(config)) {
|
431
|
+
ref = config.ref;
|
432
|
+
{
|
433
|
+
warnIfStringRefCannotBeAutoConverted(config);
|
434
|
+
}
|
435
|
+
}
|
436
|
+
if (hasValidKey(config)) {
|
437
|
+
{
|
438
|
+
checkKeyStringCoercion(config.key);
|
439
|
+
}
|
440
|
+
key = '' + config.key;
|
441
|
+
}
|
442
|
+
self = config.__self === undefined ? null : config.__self;
|
443
|
+
source = config.__source === undefined ? null : config.__source;
|
444
|
+
for (propName in config) {
|
445
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
446
|
+
props[propName] = config[propName];
|
447
|
+
}
|
448
|
+
}
|
449
|
+
}
|
450
|
+
var childrenLength = arguments.length - 2;
|
451
|
+
if (childrenLength === 1) {
|
452
|
+
props.children = children;
|
453
|
+
} else if (childrenLength > 1) {
|
454
|
+
var childArray = Array(childrenLength);
|
455
|
+
for (var i = 0; i < childrenLength; i++) {
|
456
|
+
childArray[i] = arguments[i + 2];
|
457
|
+
}
|
458
|
+
{
|
459
|
+
if (Object.freeze) {
|
460
|
+
Object.freeze(childArray);
|
461
|
+
}
|
462
|
+
}
|
463
|
+
props.children = childArray;
|
464
|
+
}
|
465
|
+
if (type && type.defaultProps) {
|
466
|
+
var defaultProps = type.defaultProps;
|
467
|
+
for (propName in defaultProps) {
|
468
|
+
if (props[propName] === undefined) {
|
469
|
+
props[propName] = defaultProps[propName];
|
470
|
+
}
|
471
|
+
}
|
472
|
+
}
|
473
|
+
{
|
474
|
+
if (key || ref) {
|
475
|
+
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
476
|
+
if (key) {
|
477
|
+
defineKeyPropWarningGetter(props, displayName);
|
478
|
+
}
|
479
|
+
if (ref) {
|
480
|
+
defineRefPropWarningGetter(props, displayName);
|
481
|
+
}
|
482
|
+
}
|
483
|
+
}
|
484
|
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
485
|
+
}
|
486
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
487
|
+
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
488
|
+
return newElement;
|
489
|
+
}
|
490
|
+
function cloneElement(element, config, children) {
|
491
|
+
if (element === null || element === undefined) {
|
492
|
+
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
493
|
+
}
|
494
|
+
var propName;
|
495
|
+
var props = assign({}, element.props);
|
496
|
+
var key = element.key;
|
497
|
+
var ref = element.ref;
|
498
|
+
var self = element._self;
|
499
|
+
var source = element._source;
|
500
|
+
var owner = element._owner;
|
501
|
+
if (config != null) {
|
502
|
+
if (hasValidRef(config)) {
|
503
|
+
ref = config.ref;
|
504
|
+
owner = ReactCurrentOwner.current;
|
505
|
+
}
|
506
|
+
if (hasValidKey(config)) {
|
507
|
+
{
|
508
|
+
checkKeyStringCoercion(config.key);
|
509
|
+
}
|
510
|
+
key = '' + config.key;
|
511
|
+
}
|
512
|
+
var defaultProps;
|
513
|
+
if (element.type && element.type.defaultProps) {
|
514
|
+
defaultProps = element.type.defaultProps;
|
515
|
+
}
|
516
|
+
for (propName in config) {
|
517
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
518
|
+
if (config[propName] === undefined && defaultProps !== undefined) {
|
519
|
+
props[propName] = defaultProps[propName];
|
520
|
+
} else {
|
521
|
+
props[propName] = config[propName];
|
522
|
+
}
|
523
|
+
}
|
524
|
+
}
|
525
|
+
}
|
526
|
+
var childrenLength = arguments.length - 2;
|
527
|
+
if (childrenLength === 1) {
|
528
|
+
props.children = children;
|
529
|
+
} else if (childrenLength > 1) {
|
530
|
+
var childArray = Array(childrenLength);
|
531
|
+
for (var i = 0; i < childrenLength; i++) {
|
532
|
+
childArray[i] = arguments[i + 2];
|
533
|
+
}
|
534
|
+
props.children = childArray;
|
535
|
+
}
|
536
|
+
return ReactElement(element.type, key, ref, self, source, owner, props);
|
537
|
+
}
|
538
|
+
function isValidElement(object) {
|
539
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
540
|
+
}
|
541
|
+
var SEPARATOR = '.';
|
542
|
+
var SUBSEPARATOR = ':';
|
543
|
+
function escape(key) {
|
544
|
+
var escapeRegex = /[=:]/g;
|
545
|
+
var escaperLookup = {
|
546
|
+
'=': '=0',
|
547
|
+
':': '=2'
|
548
|
+
};
|
549
|
+
var escapedString = key.replace(escapeRegex, function(match) {
|
550
|
+
return escaperLookup[match];
|
551
|
+
});
|
552
|
+
return '$' + escapedString;
|
553
|
+
}
|
554
|
+
var didWarnAboutMaps = false;
|
555
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
556
|
+
function escapeUserProvidedKey(text) {
|
557
|
+
return text.replace(userProvidedKeyEscapeRegex, '$&/');
|
558
|
+
}
|
559
|
+
function getElementKey(element, index) {
|
560
|
+
if (typeof element === 'object' && element !== null && element.key != null) {
|
561
|
+
{
|
562
|
+
checkKeyStringCoercion(element.key);
|
563
|
+
}
|
564
|
+
return escape('' + element.key);
|
565
|
+
}
|
566
|
+
return index.toString(36);
|
567
|
+
}
|
568
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
569
|
+
var type = typeof children;
|
570
|
+
if (type === 'undefined' || type === 'boolean') {
|
571
|
+
children = null;
|
572
|
+
}
|
573
|
+
var invokeCallback = false;
|
574
|
+
if (children === null) {
|
575
|
+
invokeCallback = true;
|
576
|
+
} else {
|
577
|
+
switch (type) {
|
578
|
+
case 'string':
|
579
|
+
case 'number':
|
580
|
+
invokeCallback = true;
|
581
|
+
break;
|
582
|
+
case 'object':
|
583
|
+
switch (children.$$typeof) {
|
584
|
+
case REACT_ELEMENT_TYPE:
|
585
|
+
case REACT_PORTAL_TYPE:
|
586
|
+
invokeCallback = true;
|
587
|
+
}
|
588
|
+
}
|
589
|
+
}
|
590
|
+
if (invokeCallback) {
|
591
|
+
var _child = children;
|
592
|
+
var mappedChild = callback(_child);
|
593
|
+
var childKey = nameSoFar === '' ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
|
594
|
+
if (isArray(mappedChild)) {
|
595
|
+
var escapedChildKey = '';
|
596
|
+
if (childKey != null) {
|
597
|
+
escapedChildKey = escapeUserProvidedKey(childKey) + '/';
|
598
|
+
}
|
599
|
+
mapIntoArray(mappedChild, array, escapedChildKey, '', function(c) {
|
600
|
+
return c;
|
601
|
+
});
|
602
|
+
} else if (mappedChild != null) {
|
603
|
+
if (isValidElement(mappedChild)) {
|
604
|
+
{
|
605
|
+
if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
|
606
|
+
checkKeyStringCoercion(mappedChild.key);
|
607
|
+
}
|
608
|
+
}
|
609
|
+
mappedChild = cloneAndReplaceKey(mappedChild, escapedPrefix + (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? escapeUserProvidedKey('' + mappedChild.key) + '/' : '') + childKey);
|
610
|
+
}
|
611
|
+
array.push(mappedChild);
|
612
|
+
}
|
613
|
+
return 1;
|
614
|
+
}
|
615
|
+
var child;
|
616
|
+
var nextName;
|
617
|
+
var subtreeCount = 0;
|
618
|
+
var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
|
619
|
+
if (isArray(children)) {
|
620
|
+
for (var i = 0; i < children.length; i++) {
|
621
|
+
child = children[i];
|
622
|
+
nextName = nextNamePrefix + getElementKey(child, i);
|
623
|
+
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
|
624
|
+
}
|
625
|
+
} else {
|
626
|
+
var iteratorFn = getIteratorFn(children);
|
627
|
+
if (typeof iteratorFn === 'function') {
|
628
|
+
var iterableChildren = children;
|
629
|
+
{
|
630
|
+
if (iteratorFn === iterableChildren.entries) {
|
631
|
+
if (!didWarnAboutMaps) {
|
632
|
+
warn('Using Maps as children is not supported. ' + 'Use an array of keyed ReactElements instead.');
|
633
|
+
}
|
634
|
+
didWarnAboutMaps = true;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
var iterator = iteratorFn.call(iterableChildren);
|
638
|
+
var step;
|
639
|
+
var ii = 0;
|
640
|
+
while (!(step = iterator.next()).done) {
|
641
|
+
child = step.value;
|
642
|
+
nextName = nextNamePrefix + getElementKey(child, ii++);
|
643
|
+
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
|
644
|
+
}
|
645
|
+
} else if (type === 'object') {
|
646
|
+
var childrenString = String(children);
|
647
|
+
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.');
|
648
|
+
}
|
649
|
+
}
|
650
|
+
return subtreeCount;
|
651
|
+
}
|
652
|
+
function mapChildren(children, func, context) {
|
653
|
+
if (children == null) {
|
654
|
+
return children;
|
655
|
+
}
|
656
|
+
var result = [];
|
657
|
+
var count = 0;
|
658
|
+
mapIntoArray(children, result, '', '', function(child) {
|
659
|
+
return func.call(context, child, count++);
|
660
|
+
});
|
661
|
+
return result;
|
662
|
+
}
|
663
|
+
function countChildren(children) {
|
664
|
+
var n = 0;
|
665
|
+
mapChildren(children, function() {
|
666
|
+
n++;
|
667
|
+
});
|
668
|
+
return n;
|
669
|
+
}
|
670
|
+
function forEachChildren(children, forEachFunc, forEachContext) {
|
671
|
+
mapChildren(children, function() {
|
672
|
+
forEachFunc.apply(this, arguments);
|
673
|
+
}, forEachContext);
|
674
|
+
}
|
675
|
+
function toArray(children) {
|
676
|
+
return mapChildren(children, function(child) {
|
677
|
+
return child;
|
678
|
+
}) || [];
|
679
|
+
}
|
680
|
+
function onlyChild(children) {
|
681
|
+
if (!isValidElement(children)) {
|
682
|
+
throw new Error('React.Children.only expected to receive a single React element child.');
|
683
|
+
}
|
684
|
+
return children;
|
685
|
+
}
|
686
|
+
function createContext(defaultValue) {
|
687
|
+
var context = {
|
688
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
689
|
+
_currentValue: defaultValue,
|
690
|
+
_currentValue2: defaultValue,
|
691
|
+
_threadCount: 0,
|
692
|
+
Provider: null,
|
693
|
+
Consumer: null,
|
694
|
+
_defaultValue: null,
|
695
|
+
_globalName: null
|
696
|
+
};
|
697
|
+
context.Provider = {
|
698
|
+
$$typeof: REACT_PROVIDER_TYPE,
|
699
|
+
_context: context
|
700
|
+
};
|
701
|
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
702
|
+
var hasWarnedAboutUsingConsumerProvider = false;
|
703
|
+
var hasWarnedAboutDisplayNameOnConsumer = false;
|
704
|
+
{
|
705
|
+
var Consumer = {
|
706
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
707
|
+
_context: context
|
708
|
+
};
|
709
|
+
Object.defineProperties(Consumer, {
|
710
|
+
Provider: {
|
711
|
+
get: function() {
|
712
|
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
713
|
+
hasWarnedAboutUsingConsumerProvider = true;
|
714
|
+
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?');
|
715
|
+
}
|
716
|
+
return context.Provider;
|
717
|
+
},
|
718
|
+
set: function(_Provider) {
|
719
|
+
context.Provider = _Provider;
|
720
|
+
}
|
721
|
+
},
|
722
|
+
_currentValue: {
|
723
|
+
get: function() {
|
724
|
+
return context._currentValue;
|
725
|
+
},
|
726
|
+
set: function(_currentValue) {
|
727
|
+
context._currentValue = _currentValue;
|
728
|
+
}
|
729
|
+
},
|
730
|
+
_currentValue2: {
|
731
|
+
get: function() {
|
732
|
+
return context._currentValue2;
|
733
|
+
},
|
734
|
+
set: function(_currentValue2) {
|
735
|
+
context._currentValue2 = _currentValue2;
|
736
|
+
}
|
737
|
+
},
|
738
|
+
_threadCount: {
|
739
|
+
get: function() {
|
740
|
+
return context._threadCount;
|
741
|
+
},
|
742
|
+
set: function(_threadCount) {
|
743
|
+
context._threadCount = _threadCount;
|
744
|
+
}
|
745
|
+
},
|
746
|
+
Consumer: {get: function() {
|
747
|
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
748
|
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
749
|
+
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?');
|
750
|
+
}
|
751
|
+
return context.Consumer;
|
752
|
+
}},
|
753
|
+
displayName: {
|
754
|
+
get: function() {
|
755
|
+
return context.displayName;
|
756
|
+
},
|
757
|
+
set: function(displayName) {
|
758
|
+
if (!hasWarnedAboutDisplayNameOnConsumer) {
|
759
|
+
warn('Setting `displayName` on Context.Consumer has no effect. ' + "You should set it directly on the context with Context.displayName = '%s'.", displayName);
|
760
|
+
hasWarnedAboutDisplayNameOnConsumer = true;
|
761
|
+
}
|
762
|
+
}
|
763
|
+
}
|
764
|
+
});
|
765
|
+
context.Consumer = Consumer;
|
766
|
+
}
|
767
|
+
{
|
768
|
+
context._currentRenderer = null;
|
769
|
+
context._currentRenderer2 = null;
|
770
|
+
}
|
771
|
+
return context;
|
772
|
+
}
|
773
|
+
var Uninitialized = -1;
|
774
|
+
var Pending = 0;
|
775
|
+
var Resolved = 1;
|
776
|
+
var Rejected = 2;
|
777
|
+
function lazyInitializer(payload) {
|
778
|
+
if (payload._status === Uninitialized) {
|
779
|
+
var ctor = payload._result;
|
780
|
+
var thenable = ctor();
|
781
|
+
thenable.then(function(moduleObject) {
|
782
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
783
|
+
var resolved = payload;
|
784
|
+
resolved._status = Resolved;
|
785
|
+
resolved._result = moduleObject;
|
786
|
+
}
|
787
|
+
}, function(error) {
|
788
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
789
|
+
var rejected = payload;
|
790
|
+
rejected._status = Rejected;
|
791
|
+
rejected._result = error;
|
792
|
+
}
|
793
|
+
});
|
794
|
+
if (payload._status === Uninitialized) {
|
795
|
+
var pending = payload;
|
796
|
+
pending._status = Pending;
|
797
|
+
pending._result = thenable;
|
798
|
+
}
|
799
|
+
}
|
800
|
+
if (payload._status === Resolved) {
|
801
|
+
var moduleObject = payload._result;
|
802
|
+
{
|
803
|
+
if (moduleObject === undefined) {
|
804
|
+
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);
|
805
|
+
}
|
806
|
+
}
|
807
|
+
{
|
808
|
+
if (!('default' in moduleObject)) {
|
809
|
+
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);
|
810
|
+
}
|
811
|
+
}
|
812
|
+
return moduleObject.default;
|
813
|
+
} else {
|
814
|
+
throw payload._result;
|
815
|
+
}
|
816
|
+
}
|
817
|
+
function lazy(ctor) {
|
818
|
+
var payload = {
|
819
|
+
_status: Uninitialized,
|
820
|
+
_result: ctor
|
821
|
+
};
|
822
|
+
var lazyType = {
|
823
|
+
$$typeof: REACT_LAZY_TYPE,
|
824
|
+
_payload: payload,
|
825
|
+
_init: lazyInitializer
|
826
|
+
};
|
827
|
+
{
|
828
|
+
var defaultProps;
|
829
|
+
var propTypes;
|
830
|
+
Object.defineProperties(lazyType, {
|
831
|
+
defaultProps: {
|
832
|
+
configurable: true,
|
833
|
+
get: function() {
|
834
|
+
return defaultProps;
|
835
|
+
},
|
836
|
+
set: function(newDefaultProps) {
|
837
|
+
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.');
|
838
|
+
defaultProps = newDefaultProps;
|
839
|
+
Object.defineProperty(lazyType, 'defaultProps', {enumerable: true});
|
840
|
+
}
|
841
|
+
},
|
842
|
+
propTypes: {
|
843
|
+
configurable: true,
|
844
|
+
get: function() {
|
845
|
+
return propTypes;
|
846
|
+
},
|
847
|
+
set: function(newPropTypes) {
|
848
|
+
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.');
|
849
|
+
propTypes = newPropTypes;
|
850
|
+
Object.defineProperty(lazyType, 'propTypes', {enumerable: true});
|
851
|
+
}
|
852
|
+
}
|
853
|
+
});
|
854
|
+
}
|
855
|
+
return lazyType;
|
856
|
+
}
|
857
|
+
function forwardRef(render) {
|
858
|
+
{
|
859
|
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
860
|
+
error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
861
|
+
} else if (typeof render !== 'function') {
|
862
|
+
error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
863
|
+
} else {
|
864
|
+
if (render.length !== 0 && render.length !== 2) {
|
865
|
+
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.');
|
866
|
+
}
|
867
|
+
}
|
868
|
+
if (render != null) {
|
869
|
+
if (render.defaultProps != null || render.propTypes != null) {
|
870
|
+
error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
|
871
|
+
}
|
872
|
+
}
|
873
|
+
}
|
874
|
+
var elementType = {
|
875
|
+
$$typeof: REACT_FORWARD_REF_TYPE,
|
876
|
+
render: render
|
877
|
+
};
|
878
|
+
{
|
879
|
+
var ownName;
|
880
|
+
Object.defineProperty(elementType, 'displayName', {
|
881
|
+
enumerable: false,
|
882
|
+
configurable: true,
|
883
|
+
get: function() {
|
884
|
+
return ownName;
|
885
|
+
},
|
886
|
+
set: function(name) {
|
887
|
+
ownName = name;
|
888
|
+
if (!render.name && !render.displayName) {
|
889
|
+
render.displayName = name;
|
890
|
+
}
|
891
|
+
}
|
892
|
+
});
|
893
|
+
}
|
894
|
+
return elementType;
|
895
|
+
}
|
896
|
+
var REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
897
|
+
function isValidElementType(type) {
|
898
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
899
|
+
return true;
|
900
|
+
}
|
901
|
+
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) {
|
902
|
+
return true;
|
903
|
+
}
|
904
|
+
if (typeof type === 'object' && type !== null) {
|
905
|
+
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) {
|
906
|
+
return true;
|
907
|
+
}
|
908
|
+
}
|
909
|
+
return false;
|
910
|
+
}
|
911
|
+
function memo(type, compare) {
|
912
|
+
{
|
913
|
+
if (!isValidElementType(type)) {
|
914
|
+
error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
|
915
|
+
}
|
916
|
+
}
|
917
|
+
var elementType = {
|
918
|
+
$$typeof: REACT_MEMO_TYPE,
|
919
|
+
type: type,
|
920
|
+
compare: compare === undefined ? null : compare
|
921
|
+
};
|
922
|
+
{
|
923
|
+
var ownName;
|
924
|
+
Object.defineProperty(elementType, 'displayName', {
|
925
|
+
enumerable: false,
|
926
|
+
configurable: true,
|
927
|
+
get: function() {
|
928
|
+
return ownName;
|
929
|
+
},
|
930
|
+
set: function(name) {
|
931
|
+
ownName = name;
|
932
|
+
if (!type.name && !type.displayName) {
|
933
|
+
type.displayName = name;
|
934
|
+
}
|
935
|
+
}
|
936
|
+
});
|
937
|
+
}
|
938
|
+
return elementType;
|
939
|
+
}
|
940
|
+
function resolveDispatcher() {
|
941
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
942
|
+
{
|
943
|
+
if (dispatcher === null) {
|
944
|
+
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.');
|
945
|
+
}
|
946
|
+
}
|
947
|
+
return dispatcher;
|
948
|
+
}
|
949
|
+
function useContext(Context) {
|
950
|
+
var dispatcher = resolveDispatcher();
|
951
|
+
{
|
952
|
+
if (Context._context !== undefined) {
|
953
|
+
var realContext = Context._context;
|
954
|
+
if (realContext.Consumer === Context) {
|
955
|
+
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?');
|
956
|
+
} else if (realContext.Provider === Context) {
|
957
|
+
error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
|
958
|
+
}
|
959
|
+
}
|
960
|
+
}
|
961
|
+
return dispatcher.useContext(Context);
|
962
|
+
}
|
963
|
+
function useState(initialState) {
|
964
|
+
var dispatcher = resolveDispatcher();
|
965
|
+
return dispatcher.useState(initialState);
|
966
|
+
}
|
967
|
+
function useReducer(reducer, initialArg, init) {
|
968
|
+
var dispatcher = resolveDispatcher();
|
969
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
970
|
+
}
|
971
|
+
function useRef(initialValue) {
|
972
|
+
var dispatcher = resolveDispatcher();
|
973
|
+
return dispatcher.useRef(initialValue);
|
974
|
+
}
|
975
|
+
function useEffect(create, deps) {
|
976
|
+
var dispatcher = resolveDispatcher();
|
977
|
+
return dispatcher.useEffect(create, deps);
|
978
|
+
}
|
979
|
+
function useInsertionEffect(create, deps) {
|
980
|
+
var dispatcher = resolveDispatcher();
|
981
|
+
return dispatcher.useInsertionEffect(create, deps);
|
982
|
+
}
|
983
|
+
function useLayoutEffect(create, deps) {
|
984
|
+
var dispatcher = resolveDispatcher();
|
985
|
+
return dispatcher.useLayoutEffect(create, deps);
|
986
|
+
}
|
987
|
+
function useCallback(callback, deps) {
|
988
|
+
var dispatcher = resolveDispatcher();
|
989
|
+
return dispatcher.useCallback(callback, deps);
|
990
|
+
}
|
991
|
+
function useMemo(create, deps) {
|
992
|
+
var dispatcher = resolveDispatcher();
|
993
|
+
return dispatcher.useMemo(create, deps);
|
994
|
+
}
|
995
|
+
function useImperativeHandle(ref, create, deps) {
|
996
|
+
var dispatcher = resolveDispatcher();
|
997
|
+
return dispatcher.useImperativeHandle(ref, create, deps);
|
998
|
+
}
|
999
|
+
function useDebugValue(value, formatterFn) {
|
1000
|
+
{
|
1001
|
+
var dispatcher = resolveDispatcher();
|
1002
|
+
return dispatcher.useDebugValue(value, formatterFn);
|
1003
|
+
}
|
1004
|
+
}
|
1005
|
+
function useTransition() {
|
1006
|
+
var dispatcher = resolveDispatcher();
|
1007
|
+
return dispatcher.useTransition();
|
1008
|
+
}
|
1009
|
+
function useDeferredValue(value) {
|
1010
|
+
var dispatcher = resolveDispatcher();
|
1011
|
+
return dispatcher.useDeferredValue(value);
|
1012
|
+
}
|
1013
|
+
function useId() {
|
1014
|
+
var dispatcher = resolveDispatcher();
|
1015
|
+
return dispatcher.useId();
|
1016
|
+
}
|
1017
|
+
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
1018
|
+
var dispatcher = resolveDispatcher();
|
1019
|
+
return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
1020
|
+
}
|
1021
|
+
var disabledDepth = 0;
|
1022
|
+
var prevLog;
|
1023
|
+
var prevInfo;
|
1024
|
+
var prevWarn;
|
1025
|
+
var prevError;
|
1026
|
+
var prevGroup;
|
1027
|
+
var prevGroupCollapsed;
|
1028
|
+
var prevGroupEnd;
|
1029
|
+
function disabledLog() {}
|
1030
|
+
disabledLog.__reactDisabledLog = true;
|
1031
|
+
function disableLogs() {
|
1032
|
+
{
|
1033
|
+
if (disabledDepth === 0) {
|
1034
|
+
prevLog = console.log;
|
1035
|
+
prevInfo = console.info;
|
1036
|
+
prevWarn = console.warn;
|
1037
|
+
prevError = console.error;
|
1038
|
+
prevGroup = console.group;
|
1039
|
+
prevGroupCollapsed = console.groupCollapsed;
|
1040
|
+
prevGroupEnd = console.groupEnd;
|
1041
|
+
var props = {
|
1042
|
+
configurable: true,
|
1043
|
+
enumerable: true,
|
1044
|
+
value: disabledLog,
|
1045
|
+
writable: true
|
1046
|
+
};
|
1047
|
+
Object.defineProperties(console, {
|
1048
|
+
info: props,
|
1049
|
+
log: props,
|
1050
|
+
warn: props,
|
1051
|
+
error: props,
|
1052
|
+
group: props,
|
1053
|
+
groupCollapsed: props,
|
1054
|
+
groupEnd: props
|
1055
|
+
});
|
1056
|
+
}
|
1057
|
+
disabledDepth++;
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
function reenableLogs() {
|
1061
|
+
{
|
1062
|
+
disabledDepth--;
|
1063
|
+
if (disabledDepth === 0) {
|
1064
|
+
var props = {
|
1065
|
+
configurable: true,
|
1066
|
+
enumerable: true,
|
1067
|
+
writable: true
|
1068
|
+
};
|
1069
|
+
Object.defineProperties(console, {
|
1070
|
+
log: assign({}, props, {value: prevLog}),
|
1071
|
+
info: assign({}, props, {value: prevInfo}),
|
1072
|
+
warn: assign({}, props, {value: prevWarn}),
|
1073
|
+
error: assign({}, props, {value: prevError}),
|
1074
|
+
group: assign({}, props, {value: prevGroup}),
|
1075
|
+
groupCollapsed: assign({}, props, {value: prevGroupCollapsed}),
|
1076
|
+
groupEnd: assign({}, props, {value: prevGroupEnd})
|
1077
|
+
});
|
1078
|
+
}
|
1079
|
+
if (disabledDepth < 0) {
|
1080
|
+
error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
|
1081
|
+
}
|
1082
|
+
}
|
1083
|
+
}
|
1084
|
+
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
|
1085
|
+
var prefix;
|
1086
|
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
1087
|
+
{
|
1088
|
+
if (prefix === undefined) {
|
1089
|
+
try {
|
1090
|
+
throw Error();
|
1091
|
+
} catch (x) {
|
1092
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
1093
|
+
prefix = match && match[1] || '';
|
1094
|
+
}
|
1095
|
+
}
|
1096
|
+
return '\n' + prefix + name;
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
var reentry = false;
|
1100
|
+
var componentFrameCache;
|
1101
|
+
{
|
1102
|
+
var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
|
1103
|
+
componentFrameCache = new PossiblyWeakMap();
|
1104
|
+
}
|
1105
|
+
function describeNativeComponentFrame(fn, construct) {
|
1106
|
+
if (!fn || reentry) {
|
1107
|
+
return '';
|
1108
|
+
}
|
1109
|
+
{
|
1110
|
+
var frame = componentFrameCache.get(fn);
|
1111
|
+
if (frame !== undefined) {
|
1112
|
+
return frame;
|
1113
|
+
}
|
1114
|
+
}
|
1115
|
+
var control;
|
1116
|
+
reentry = true;
|
1117
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
1118
|
+
Error.prepareStackTrace = undefined;
|
1119
|
+
var previousDispatcher;
|
1120
|
+
{
|
1121
|
+
previousDispatcher = ReactCurrentDispatcher$1.current;
|
1122
|
+
ReactCurrentDispatcher$1.current = null;
|
1123
|
+
disableLogs();
|
1124
|
+
}
|
1125
|
+
try {
|
1126
|
+
if (construct) {
|
1127
|
+
var Fake = function() {
|
1128
|
+
throw Error();
|
1129
|
+
};
|
1130
|
+
Object.defineProperty(Fake.prototype, 'props', {set: function() {
|
1131
|
+
throw Error();
|
1132
|
+
}});
|
1133
|
+
if (typeof Reflect === 'object' && Reflect.construct) {
|
1134
|
+
try {
|
1135
|
+
Reflect.construct(Fake, []);
|
1136
|
+
} catch (x) {
|
1137
|
+
control = x;
|
1138
|
+
}
|
1139
|
+
Reflect.construct(fn, [], Fake);
|
1140
|
+
} else {
|
1141
|
+
try {
|
1142
|
+
Fake.call();
|
1143
|
+
} catch (x) {
|
1144
|
+
control = x;
|
1145
|
+
}
|
1146
|
+
fn.call(Fake.prototype);
|
1147
|
+
}
|
1148
|
+
} else {
|
1149
|
+
try {
|
1150
|
+
throw Error();
|
1151
|
+
} catch (x) {
|
1152
|
+
control = x;
|
1153
|
+
}
|
1154
|
+
fn();
|
1155
|
+
}
|
1156
|
+
} catch (sample) {
|
1157
|
+
if (sample && control && typeof sample.stack === 'string') {
|
1158
|
+
var sampleLines = sample.stack.split('\n');
|
1159
|
+
var controlLines = control.stack.split('\n');
|
1160
|
+
var s = sampleLines.length - 1;
|
1161
|
+
var c = controlLines.length - 1;
|
1162
|
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
1163
|
+
c--;
|
1164
|
+
}
|
1165
|
+
for (; s >= 1 && c >= 0; s--, c--) {
|
1166
|
+
if (sampleLines[s] !== controlLines[c]) {
|
1167
|
+
if (s !== 1 || c !== 1) {
|
1168
|
+
do {
|
1169
|
+
s--;
|
1170
|
+
c--;
|
1171
|
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
1172
|
+
var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
|
1173
|
+
if (fn.displayName && _frame.includes('<anonymous>')) {
|
1174
|
+
_frame = _frame.replace('<anonymous>', fn.displayName);
|
1175
|
+
}
|
1176
|
+
{
|
1177
|
+
if (typeof fn === 'function') {
|
1178
|
+
componentFrameCache.set(fn, _frame);
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
return _frame;
|
1182
|
+
}
|
1183
|
+
} while (s >= 1 && c >= 0);
|
1184
|
+
}
|
1185
|
+
break;
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
}
|
1189
|
+
} finally {
|
1190
|
+
reentry = false;
|
1191
|
+
{
|
1192
|
+
ReactCurrentDispatcher$1.current = previousDispatcher;
|
1193
|
+
reenableLogs();
|
1194
|
+
}
|
1195
|
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
1196
|
+
}
|
1197
|
+
var name = fn ? fn.displayName || fn.name : '';
|
1198
|
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
|
1199
|
+
{
|
1200
|
+
if (typeof fn === 'function') {
|
1201
|
+
componentFrameCache.set(fn, syntheticFrame);
|
1202
|
+
}
|
1203
|
+
}
|
1204
|
+
return syntheticFrame;
|
1205
|
+
}
|
1206
|
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
1207
|
+
{
|
1208
|
+
return describeNativeComponentFrame(fn, false);
|
1209
|
+
}
|
1210
|
+
}
|
1211
|
+
function shouldConstruct(Component) {
|
1212
|
+
var prototype = Component.prototype;
|
1213
|
+
return !!(prototype && prototype.isReactComponent);
|
1214
|
+
}
|
1215
|
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
1216
|
+
if (type == null) {
|
1217
|
+
return '';
|
1218
|
+
}
|
1219
|
+
if (typeof type === 'function') {
|
1220
|
+
{
|
1221
|
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
1222
|
+
}
|
1223
|
+
}
|
1224
|
+
if (typeof type === 'string') {
|
1225
|
+
return describeBuiltInComponentFrame(type);
|
1226
|
+
}
|
1227
|
+
switch (type) {
|
1228
|
+
case REACT_SUSPENSE_TYPE:
|
1229
|
+
return describeBuiltInComponentFrame('Suspense');
|
1230
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
1231
|
+
return describeBuiltInComponentFrame('SuspenseList');
|
1232
|
+
}
|
1233
|
+
if (typeof type === 'object') {
|
1234
|
+
switch (type.$$typeof) {
|
1235
|
+
case REACT_FORWARD_REF_TYPE:
|
1236
|
+
return describeFunctionComponentFrame(type.render);
|
1237
|
+
case REACT_MEMO_TYPE:
|
1238
|
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
1239
|
+
case REACT_LAZY_TYPE:
|
1240
|
+
{
|
1241
|
+
var lazyComponent = type;
|
1242
|
+
var payload = lazyComponent._payload;
|
1243
|
+
var init = lazyComponent._init;
|
1244
|
+
try {
|
1245
|
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
1246
|
+
} catch (x) {}
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
return '';
|
1251
|
+
}
|
1252
|
+
var loggedTypeFailures = {};
|
1253
|
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
1254
|
+
function setCurrentlyValidatingElement(element) {
|
1255
|
+
{
|
1256
|
+
if (element) {
|
1257
|
+
var owner = element._owner;
|
1258
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
1259
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
1260
|
+
} else {
|
1261
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
1262
|
+
}
|
1263
|
+
}
|
1264
|
+
}
|
1265
|
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
1266
|
+
{
|
1267
|
+
var has = Function.call.bind(hasOwnProperty);
|
1268
|
+
for (var typeSpecName in typeSpecs) {
|
1269
|
+
if (has(typeSpecs, typeSpecName)) {
|
1270
|
+
var error$1 = void 0;
|
1271
|
+
try {
|
1272
|
+
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
1273
|
+
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`.');
|
1274
|
+
err.name = 'Invariant Violation';
|
1275
|
+
throw err;
|
1276
|
+
}
|
1277
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
|
1278
|
+
} catch (ex) {
|
1279
|
+
error$1 = ex;
|
1280
|
+
}
|
1281
|
+
if (error$1 && !(error$1 instanceof Error)) {
|
1282
|
+
setCurrentlyValidatingElement(element);
|
1283
|
+
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);
|
1284
|
+
setCurrentlyValidatingElement(null);
|
1285
|
+
}
|
1286
|
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
1287
|
+
loggedTypeFailures[error$1.message] = true;
|
1288
|
+
setCurrentlyValidatingElement(element);
|
1289
|
+
error('Failed %s type: %s', location, error$1.message);
|
1290
|
+
setCurrentlyValidatingElement(null);
|
1291
|
+
}
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
function setCurrentlyValidatingElement$1(element) {
|
1297
|
+
{
|
1298
|
+
if (element) {
|
1299
|
+
var owner = element._owner;
|
1300
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
1301
|
+
setExtraStackFrame(stack);
|
1302
|
+
} else {
|
1303
|
+
setExtraStackFrame(null);
|
1304
|
+
}
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
var propTypesMisspellWarningShown;
|
1308
|
+
{
|
1309
|
+
propTypesMisspellWarningShown = false;
|
1310
|
+
}
|
1311
|
+
function getDeclarationErrorAddendum() {
|
1312
|
+
if (ReactCurrentOwner.current) {
|
1313
|
+
var name = getComponentNameFromType(ReactCurrentOwner.current.type);
|
1314
|
+
if (name) {
|
1315
|
+
return '\n\nCheck the render method of `' + name + '`.';
|
1316
|
+
}
|
1317
|
+
}
|
1318
|
+
return '';
|
1319
|
+
}
|
1320
|
+
function getSourceInfoErrorAddendum(source) {
|
1321
|
+
if (source !== undefined) {
|
1322
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
1323
|
+
var lineNumber = source.lineNumber;
|
1324
|
+
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
1325
|
+
}
|
1326
|
+
return '';
|
1327
|
+
}
|
1328
|
+
function getSourceInfoErrorAddendumForProps(elementProps) {
|
1329
|
+
if (elementProps !== null && elementProps !== undefined) {
|
1330
|
+
return getSourceInfoErrorAddendum(elementProps.__source);
|
1331
|
+
}
|
1332
|
+
return '';
|
1333
|
+
}
|
1334
|
+
var ownerHasKeyUseWarning = {};
|
1335
|
+
function getCurrentComponentErrorInfo(parentType) {
|
1336
|
+
var info = getDeclarationErrorAddendum();
|
1337
|
+
if (!info) {
|
1338
|
+
var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
|
1339
|
+
if (parentName) {
|
1340
|
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
1341
|
+
}
|
1342
|
+
}
|
1343
|
+
return info;
|
1344
|
+
}
|
1345
|
+
function validateExplicitKey(element, parentType) {
|
1346
|
+
if (!element._store || element._store.validated || element.key != null) {
|
1347
|
+
return;
|
1348
|
+
}
|
1349
|
+
element._store.validated = true;
|
1350
|
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
1351
|
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
1352
|
+
return;
|
1353
|
+
}
|
1354
|
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
1355
|
+
var childOwner = '';
|
1356
|
+
if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
|
1357
|
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
1358
|
+
}
|
1359
|
+
{
|
1360
|
+
setCurrentlyValidatingElement$1(element);
|
1361
|
+
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);
|
1362
|
+
setCurrentlyValidatingElement$1(null);
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
function validateChildKeys(node, parentType) {
|
1366
|
+
if (typeof node !== 'object') {
|
1367
|
+
return;
|
1368
|
+
}
|
1369
|
+
if (isArray(node)) {
|
1370
|
+
for (var i = 0; i < node.length; i++) {
|
1371
|
+
var child = node[i];
|
1372
|
+
if (isValidElement(child)) {
|
1373
|
+
validateExplicitKey(child, parentType);
|
1374
|
+
}
|
1375
|
+
}
|
1376
|
+
} else if (isValidElement(node)) {
|
1377
|
+
if (node._store) {
|
1378
|
+
node._store.validated = true;
|
1379
|
+
}
|
1380
|
+
} else if (node) {
|
1381
|
+
var iteratorFn = getIteratorFn(node);
|
1382
|
+
if (typeof iteratorFn === 'function') {
|
1383
|
+
if (iteratorFn !== node.entries) {
|
1384
|
+
var iterator = iteratorFn.call(node);
|
1385
|
+
var step;
|
1386
|
+
while (!(step = iterator.next()).done) {
|
1387
|
+
if (isValidElement(step.value)) {
|
1388
|
+
validateExplicitKey(step.value, parentType);
|
1389
|
+
}
|
1390
|
+
}
|
1391
|
+
}
|
1392
|
+
}
|
1393
|
+
}
|
1394
|
+
}
|
1395
|
+
function validatePropTypes(element) {
|
1396
|
+
{
|
1397
|
+
var type = element.type;
|
1398
|
+
if (type === null || type === undefined || typeof type === 'string') {
|
1399
|
+
return;
|
1400
|
+
}
|
1401
|
+
var propTypes;
|
1402
|
+
if (typeof type === 'function') {
|
1403
|
+
propTypes = type.propTypes;
|
1404
|
+
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MEMO_TYPE)) {
|
1405
|
+
propTypes = type.propTypes;
|
1406
|
+
} else {
|
1407
|
+
return;
|
1408
|
+
}
|
1409
|
+
if (propTypes) {
|
1410
|
+
var name = getComponentNameFromType(type);
|
1411
|
+
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
1412
|
+
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
1413
|
+
propTypesMisspellWarningShown = true;
|
1414
|
+
var _name = getComponentNameFromType(type);
|
1415
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
1416
|
+
}
|
1417
|
+
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
1418
|
+
error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
1419
|
+
}
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
function validateFragmentProps(fragment) {
|
1423
|
+
{
|
1424
|
+
var keys = Object.keys(fragment.props);
|
1425
|
+
for (var i = 0; i < keys.length; i++) {
|
1426
|
+
var key = keys[i];
|
1427
|
+
if (key !== 'children' && key !== 'key') {
|
1428
|
+
setCurrentlyValidatingElement$1(fragment);
|
1429
|
+
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
|
1430
|
+
setCurrentlyValidatingElement$1(null);
|
1431
|
+
break;
|
1432
|
+
}
|
1433
|
+
}
|
1434
|
+
if (fragment.ref !== null) {
|
1435
|
+
setCurrentlyValidatingElement$1(fragment);
|
1436
|
+
error('Invalid attribute `ref` supplied to `React.Fragment`.');
|
1437
|
+
setCurrentlyValidatingElement$1(null);
|
1438
|
+
}
|
1439
|
+
}
|
1440
|
+
}
|
1441
|
+
function createElementWithValidation(type, props, children) {
|
1442
|
+
var validType = isValidElementType(type);
|
1443
|
+
if (!validType) {
|
1444
|
+
var info = '';
|
1445
|
+
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
1446
|
+
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.";
|
1447
|
+
}
|
1448
|
+
var sourceInfo = getSourceInfoErrorAddendumForProps(props);
|
1449
|
+
if (sourceInfo) {
|
1450
|
+
info += sourceInfo;
|
1451
|
+
} else {
|
1452
|
+
info += getDeclarationErrorAddendum();
|
1453
|
+
}
|
1454
|
+
var typeString;
|
1455
|
+
if (type === null) {
|
1456
|
+
typeString = 'null';
|
1457
|
+
} else if (isArray(type)) {
|
1458
|
+
typeString = 'array';
|
1459
|
+
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
1460
|
+
typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
|
1461
|
+
info = ' Did you accidentally export a JSX literal instead of a component?';
|
1462
|
+
} else {
|
1463
|
+
typeString = typeof type;
|
1464
|
+
}
|
1465
|
+
{
|
1466
|
+
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);
|
1467
|
+
}
|
1468
|
+
}
|
1469
|
+
var element = createElement.apply(this, arguments);
|
1470
|
+
if (element == null) {
|
1471
|
+
return element;
|
1472
|
+
}
|
1473
|
+
if (validType) {
|
1474
|
+
for (var i = 2; i < arguments.length; i++) {
|
1475
|
+
validateChildKeys(arguments[i], type);
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
if (type === REACT_FRAGMENT_TYPE) {
|
1479
|
+
validateFragmentProps(element);
|
1480
|
+
} else {
|
1481
|
+
validatePropTypes(element);
|
1482
|
+
}
|
1483
|
+
return element;
|
1484
|
+
}
|
1485
|
+
var didWarnAboutDeprecatedCreateFactory = false;
|
1486
|
+
function createFactoryWithValidation(type) {
|
1487
|
+
var validatedFactory = createElementWithValidation.bind(null, type);
|
1488
|
+
validatedFactory.type = type;
|
1489
|
+
{
|
1490
|
+
if (!didWarnAboutDeprecatedCreateFactory) {
|
1491
|
+
didWarnAboutDeprecatedCreateFactory = true;
|
1492
|
+
warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');
|
1493
|
+
}
|
1494
|
+
Object.defineProperty(validatedFactory, 'type', {
|
1495
|
+
enumerable: false,
|
1496
|
+
get: function() {
|
1497
|
+
warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
|
1498
|
+
Object.defineProperty(this, 'type', {value: type});
|
1499
|
+
return type;
|
1500
|
+
}
|
1501
|
+
});
|
1502
|
+
}
|
1503
|
+
return validatedFactory;
|
1504
|
+
}
|
1505
|
+
function cloneElementWithValidation(element, props, children) {
|
1506
|
+
var newElement = cloneElement.apply(this, arguments);
|
1507
|
+
for (var i = 2; i < arguments.length; i++) {
|
1508
|
+
validateChildKeys(arguments[i], newElement.type);
|
1509
|
+
}
|
1510
|
+
validatePropTypes(newElement);
|
1511
|
+
return newElement;
|
1512
|
+
}
|
1513
|
+
function startTransition(scope, options) {
|
1514
|
+
var prevTransition = ReactCurrentBatchConfig.transition;
|
1515
|
+
ReactCurrentBatchConfig.transition = {};
|
1516
|
+
var currentTransition = ReactCurrentBatchConfig.transition;
|
1517
|
+
{
|
1518
|
+
ReactCurrentBatchConfig.transition._updatedFibers = new Set();
|
1519
|
+
}
|
1520
|
+
try {
|
1521
|
+
scope();
|
1522
|
+
} finally {
|
1523
|
+
ReactCurrentBatchConfig.transition = prevTransition;
|
1524
|
+
{
|
1525
|
+
if (prevTransition === null && currentTransition._updatedFibers) {
|
1526
|
+
var updatedFibersCount = currentTransition._updatedFibers.size;
|
1527
|
+
if (updatedFibersCount > 10) {
|
1528
|
+
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.');
|
1529
|
+
}
|
1530
|
+
currentTransition._updatedFibers.clear();
|
1531
|
+
}
|
1532
|
+
}
|
1533
|
+
}
|
1534
|
+
}
|
1535
|
+
var didWarnAboutMessageChannel = false;
|
1536
|
+
var enqueueTaskImpl = null;
|
1537
|
+
function enqueueTask(task) {
|
1538
|
+
if (enqueueTaskImpl === null) {
|
1539
|
+
try {
|
1540
|
+
var requireString = ('require' + Math.random()).slice(0, 7);
|
1541
|
+
var nodeRequire = module && module[requireString];
|
1542
|
+
enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
|
1543
|
+
} catch (_err) {
|
1544
|
+
enqueueTaskImpl = function(callback) {
|
1545
|
+
{
|
1546
|
+
if (didWarnAboutMessageChannel === false) {
|
1547
|
+
didWarnAboutMessageChannel = true;
|
1548
|
+
if (typeof MessageChannel === 'undefined') {
|
1549
|
+
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.');
|
1550
|
+
}
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
var channel = new MessageChannel();
|
1554
|
+
channel.port1.onmessage = callback;
|
1555
|
+
channel.port2.postMessage(undefined);
|
1556
|
+
};
|
1557
|
+
}
|
1558
|
+
}
|
1559
|
+
return enqueueTaskImpl(task);
|
1560
|
+
}
|
1561
|
+
var actScopeDepth = 0;
|
1562
|
+
var didWarnNoAwaitAct = false;
|
1563
|
+
function act(callback) {
|
1564
|
+
{
|
1565
|
+
var prevActScopeDepth = actScopeDepth;
|
1566
|
+
actScopeDepth++;
|
1567
|
+
if (ReactCurrentActQueue.current === null) {
|
1568
|
+
ReactCurrentActQueue.current = [];
|
1569
|
+
}
|
1570
|
+
var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
|
1571
|
+
var result;
|
1572
|
+
try {
|
1573
|
+
ReactCurrentActQueue.isBatchingLegacy = true;
|
1574
|
+
result = callback();
|
1575
|
+
if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
|
1576
|
+
var queue = ReactCurrentActQueue.current;
|
1577
|
+
if (queue !== null) {
|
1578
|
+
ReactCurrentActQueue.didScheduleLegacyUpdate = false;
|
1579
|
+
flushActQueue(queue);
|
1580
|
+
}
|
1581
|
+
}
|
1582
|
+
} catch (error) {
|
1583
|
+
popActScope(prevActScopeDepth);
|
1584
|
+
throw error;
|
1585
|
+
} finally {
|
1586
|
+
ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
|
1587
|
+
}
|
1588
|
+
if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
|
1589
|
+
var thenableResult = result;
|
1590
|
+
var wasAwaited = false;
|
1591
|
+
var thenable = {then: function(resolve, reject) {
|
1592
|
+
wasAwaited = true;
|
1593
|
+
thenableResult.then(function(returnValue) {
|
1594
|
+
popActScope(prevActScopeDepth);
|
1595
|
+
if (actScopeDepth === 0) {
|
1596
|
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
1597
|
+
} else {
|
1598
|
+
resolve(returnValue);
|
1599
|
+
}
|
1600
|
+
}, function(error) {
|
1601
|
+
popActScope(prevActScopeDepth);
|
1602
|
+
reject(error);
|
1603
|
+
});
|
1604
|
+
}};
|
1605
|
+
{
|
1606
|
+
if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
|
1607
|
+
Promise.resolve().then(function() {}).then(function() {
|
1608
|
+
if (!wasAwaited) {
|
1609
|
+
didWarnNoAwaitAct = true;
|
1610
|
+
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 () => ...);');
|
1611
|
+
}
|
1612
|
+
});
|
1613
|
+
}
|
1614
|
+
}
|
1615
|
+
return thenable;
|
1616
|
+
} else {
|
1617
|
+
var returnValue = result;
|
1618
|
+
popActScope(prevActScopeDepth);
|
1619
|
+
if (actScopeDepth === 0) {
|
1620
|
+
var _queue = ReactCurrentActQueue.current;
|
1621
|
+
if (_queue !== null) {
|
1622
|
+
flushActQueue(_queue);
|
1623
|
+
ReactCurrentActQueue.current = null;
|
1624
|
+
}
|
1625
|
+
var _thenable = {then: function(resolve, reject) {
|
1626
|
+
if (ReactCurrentActQueue.current === null) {
|
1627
|
+
ReactCurrentActQueue.current = [];
|
1628
|
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
1629
|
+
} else {
|
1630
|
+
resolve(returnValue);
|
1631
|
+
}
|
1632
|
+
}};
|
1633
|
+
return _thenable;
|
1634
|
+
} else {
|
1635
|
+
var _thenable2 = {then: function(resolve, reject) {
|
1636
|
+
resolve(returnValue);
|
1637
|
+
}};
|
1638
|
+
return _thenable2;
|
1639
|
+
}
|
1640
|
+
}
|
1641
|
+
}
|
1642
|
+
}
|
1643
|
+
function popActScope(prevActScopeDepth) {
|
1644
|
+
{
|
1645
|
+
if (prevActScopeDepth !== actScopeDepth - 1) {
|
1646
|
+
error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
|
1647
|
+
}
|
1648
|
+
actScopeDepth = prevActScopeDepth;
|
1649
|
+
}
|
1650
|
+
}
|
1651
|
+
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
1652
|
+
{
|
1653
|
+
var queue = ReactCurrentActQueue.current;
|
1654
|
+
if (queue !== null) {
|
1655
|
+
try {
|
1656
|
+
flushActQueue(queue);
|
1657
|
+
enqueueTask(function() {
|
1658
|
+
if (queue.length === 0) {
|
1659
|
+
ReactCurrentActQueue.current = null;
|
1660
|
+
resolve(returnValue);
|
1661
|
+
} else {
|
1662
|
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
1663
|
+
}
|
1664
|
+
});
|
1665
|
+
} catch (error) {
|
1666
|
+
reject(error);
|
1667
|
+
}
|
1668
|
+
} else {
|
1669
|
+
resolve(returnValue);
|
1670
|
+
}
|
1671
|
+
}
|
1672
|
+
}
|
1673
|
+
var isFlushing = false;
|
1674
|
+
function flushActQueue(queue) {
|
1675
|
+
{
|
1676
|
+
if (!isFlushing) {
|
1677
|
+
isFlushing = true;
|
1678
|
+
var i = 0;
|
1679
|
+
try {
|
1680
|
+
for (; i < queue.length; i++) {
|
1681
|
+
var callback = queue[i];
|
1682
|
+
do {
|
1683
|
+
callback = callback(true);
|
1684
|
+
} while (callback !== null);
|
1685
|
+
}
|
1686
|
+
queue.length = 0;
|
1687
|
+
} catch (error) {
|
1688
|
+
queue = queue.slice(i + 1);
|
1689
|
+
throw error;
|
1690
|
+
} finally {
|
1691
|
+
isFlushing = false;
|
1692
|
+
}
|
1693
|
+
}
|
1694
|
+
}
|
1695
|
+
}
|
1696
|
+
var createElement$1 = createElementWithValidation;
|
1697
|
+
var cloneElement$1 = cloneElementWithValidation;
|
1698
|
+
var createFactory = createFactoryWithValidation;
|
1699
|
+
var Children = {
|
1700
|
+
map: mapChildren,
|
1701
|
+
forEach: forEachChildren,
|
1702
|
+
count: countChildren,
|
1703
|
+
toArray: toArray,
|
1704
|
+
only: onlyChild
|
1705
|
+
};
|
1706
|
+
exports.Children = Children;
|
1707
|
+
exports.Component = Component;
|
1708
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
1709
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
1710
|
+
exports.PureComponent = PureComponent;
|
1711
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
1712
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
1713
|
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
1714
|
+
exports.cloneElement = cloneElement$1;
|
1715
|
+
exports.createContext = createContext;
|
1716
|
+
exports.createElement = createElement$1;
|
1717
|
+
exports.createFactory = createFactory;
|
1718
|
+
exports.createRef = createRef;
|
1719
|
+
exports.forwardRef = forwardRef;
|
1720
|
+
exports.isValidElement = isValidElement;
|
1721
|
+
exports.lazy = lazy;
|
1722
|
+
exports.memo = memo;
|
1723
|
+
exports.startTransition = startTransition;
|
1724
|
+
exports.unstable_act = act;
|
1725
|
+
exports.useCallback = useCallback;
|
1726
|
+
exports.useContext = useContext;
|
1727
|
+
exports.useDebugValue = useDebugValue;
|
1728
|
+
exports.useDeferredValue = useDeferredValue;
|
1729
|
+
exports.useEffect = useEffect;
|
1730
|
+
exports.useId = useId;
|
1731
|
+
exports.useImperativeHandle = useImperativeHandle;
|
1732
|
+
exports.useInsertionEffect = useInsertionEffect;
|
1733
|
+
exports.useLayoutEffect = useLayoutEffect;
|
1734
|
+
exports.useMemo = useMemo;
|
1735
|
+
exports.useReducer = useReducer;
|
1736
|
+
exports.useRef = useRef;
|
1737
|
+
exports.useState = useState;
|
1738
|
+
exports.useSyncExternalStore = useSyncExternalStore;
|
1739
|
+
exports.useTransition = useTransition;
|
1740
|
+
exports.version = ReactVersion;
|
1741
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === 'function') {
|
1742
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
1743
|
+
}
|
1744
|
+
})();
|
1745
|
+
}
|
1746
|
+
})(require('process'));
|