@jsenv/cli 0.3.38 → 0.3.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-node-package/eslint.config.mjs +1 -1
- package/template-node-package/package.json +2 -2
- package/template-node-package/scripts/test.mjs +2 -4
- package/template-node-package/tests/message.test.mjs +0 -1
- package/template-web/package.json +2 -2
- package/template-web/scripts/build_serve.mjs +1 -1
- package/template-web/scripts/dev.mjs +1 -1
- package/template-web/scripts/test.mjs +3 -3
- package/template-web/src/main.js +1 -1
- package/template-web-components/package.json +2 -2
- package/template-web-components/scripts/build_serve.mjs +1 -1
- package/template-web-components/scripts/dev.mjs +2 -2
- package/template-web-components/scripts/test.mjs +3 -4
- package/template-web-preact/eslint.config.mjs +2 -2
- package/template-web-preact/package.json +3 -3
- package/template-web-preact/scripts/build_serve.mjs +1 -1
- package/template-web-preact/scripts/dev.mjs +2 -2
- package/template-web-preact/scripts/test.mjs +3 -3
- package/template-web-preact/src/app/app.jsx +1 -1
- package/template-web-react/eslint.config.mjs +2 -2
- package/template-web-react/package.json +3 -3
- package/template-web-react/scripts/build_serve.mjs +1 -1
- package/template-web-react/scripts/dev.mjs +2 -2
- package/template-web-react/scripts/test.mjs +3 -3
- package/template-web-react/src/app/app.jsx +1 -1
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -19
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/new_stylesheet/new_stylesheet.js +0 -320
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -553
- package/template-web/.jsenv/craft/app/counter.js +0 -10
- package/template-web/.jsenv/craft/index.html +0 -27
- package/template-web/.jsenv/craft/jsenv_logo.svg +0 -140
- package/template-web/.jsenv/craft/main.css +0 -4
- package/template-web/.jsenv/craft/main.css7as_css_module=.js +0 -8
- package/template-web/.jsenv/craft/main.js +0 -14
- package/template-web/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -17
- package/template-web/.jsenv/entry_index/craft/app/counter.js +0 -11
- package/template-web/.jsenv/entry_index/craft/index.html +0 -27
- package/template-web/.jsenv/entry_index/craft/jsenv_logo.svg +0 -140
- package/template-web/.jsenv/entry_index/craft/main.css +0 -4
- package/template-web/.jsenv/entry_index/craft/main.css7as_css_module=.js +0 -7
- package/template-web/.jsenv/entry_index/craft/main.js +0 -31
- package/template-web/.jsenv/entry_index/shape/index.html +0 -24
- package/template-web/.jsenv/entry_index/shape/jsenv_logo.svg +0 -91
- package/template-web/.jsenv/entry_index/shape/main.js +0 -1
- package/template-web/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -1
- package/template-web/.jsenv/shape/index.html +0 -27
- package/template-web/.jsenv/shape/jsenv_logo.svg +0 -91
- package/template-web/.jsenv/shape/main.js +0 -1
- package/template-web/.jsenv/shape/main.nomodule7js_module_fallback=.js +0 -1
- package/template-web/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/src/kitchen/client/inline_content.js +0 -17
- package/template-web/.jsenv_b/entry_index/craft/app/counter.js +0 -11
- package/template-web/.jsenv_b/entry_index/craft/index.html +0 -27
- package/template-web/.jsenv_b/entry_index/craft/jsenv_logo.svg +0 -140
- package/template-web/.jsenv_b/entry_index/craft/main.css +0 -4
- package/template-web/.jsenv_b/entry_index/craft/main.css7as_css_module=.js +0 -7
- package/template-web/.jsenv_b/entry_index/craft/main.js +0 -31
- package/template-web/.jsenv_b/entry_index/shape/index.html +0 -24
- package/template-web/.jsenv_b/entry_index/shape/jsenv_logo.svg +0 -91
- package/template-web/.jsenv_b/entry_index/shape/main.js +0 -1
- package/template-web/dist/index.html +0 -24
- package/template-web/dist/js/main.js +0 -1
- package/template-web/dist/other/jsenv_logo.svg +0 -91
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -19
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/new_stylesheet/new_stylesheet.js +0 -320
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/independent/frontend/custom-elements-redefine/src/@jsenv_custom-elements-redefine_main.js +0 -154
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -553
- package/template-web-components/.jsenv/craft/app/app_custom_element.css +0 -4
- package/template-web-components/.jsenv/craft/app/app_custom_element.css7as_css_module=.js +0 -8
- package/template-web-components/.jsenv/craft/app/app_custom_element.js +0 -15
- package/template-web-components/.jsenv/craft/app/counter.js +0 -10
- package/template-web-components/.jsenv/craft/app/custom_elements_redefine.js +0 -4
- package/template-web-components/.jsenv/craft/index.html +0 -27
- package/template-web-components/.jsenv/craft/jsenv_logo.svg +0 -140
- package/template-web-components/.jsenv/craft/main.js +0 -9
- package/template-web-components/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -17
- package/template-web-components/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/packages/independent/frontend/custom-elements-redefine/src/@jsenv_custom-elements-redefine_main.js +0 -209
- package/template-web-components/.jsenv/entry_index/craft/app/app_custom_element.css +0 -4
- package/template-web-components/.jsenv/entry_index/craft/app/app_custom_element.css7as_css_module=.js +0 -7
- package/template-web-components/.jsenv/entry_index/craft/app/app_custom_element.js +0 -31
- package/template-web-components/.jsenv/entry_index/craft/app/counter.js +0 -11
- package/template-web-components/.jsenv/entry_index/craft/app/custom_elements_redefine.js +0 -5
- package/template-web-components/.jsenv/entry_index/craft/index.html +0 -27
- package/template-web-components/.jsenv/entry_index/craft/jsenv_logo.svg +0 -140
- package/template-web-components/.jsenv/entry_index/craft/main.js +0 -11
- package/template-web-components/.jsenv/entry_index/shape/index.html +0 -24
- package/template-web-components/.jsenv/entry_index/shape/jsenv_logo.svg +0 -91
- package/template-web-components/.jsenv/entry_index/shape/main.js +0 -1
- package/template-web-components/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -1
- package/template-web-components/.jsenv/shape/index.html +0 -27
- package/template-web-components/.jsenv/shape/jsenv_logo.svg +0 -91
- package/template-web-components/.jsenv/shape/main.js +0 -1
- package/template-web-components/.jsenv/shape/main.nomodule7js_module_fallback=.js +0 -1
- package/template-web-components/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/packages/independent/frontend/custom-elements-redefine/src/@jsenv_custom-elements-redefine_main.js +0 -209
- package/template-web-components/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/src/kitchen/client/inline_content.js +0 -17
- package/template-web-components/.jsenv_b/entry_index/craft/app/app_custom_element.css +0 -4
- package/template-web-components/.jsenv_b/entry_index/craft/app/app_custom_element.css7as_css_module=.js +0 -7
- package/template-web-components/.jsenv_b/entry_index/craft/app/app_custom_element.js +0 -31
- package/template-web-components/.jsenv_b/entry_index/craft/app/counter.js +0 -11
- package/template-web-components/.jsenv_b/entry_index/craft/app/custom_elements_redefine.js +0 -5
- package/template-web-components/.jsenv_b/entry_index/craft/index.html +0 -27
- package/template-web-components/.jsenv_b/entry_index/craft/jsenv_logo.svg +0 -140
- package/template-web-components/.jsenv_b/entry_index/craft/main.js +0 -11
- package/template-web-components/.jsenv_b/entry_index/shape/index.html +0 -24
- package/template-web-components/.jsenv_b/entry_index/shape/jsenv_logo.svg +0 -91
- package/template-web-components/.jsenv_b/entry_index/shape/main.js +0 -1
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -19
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/new_stylesheet/new_stylesheet.js +0 -320
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js +0 -357
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js +0 -198
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +0 -93
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -553
- package/template-web-preact/.jsenv/craft/app/app.css +0 -43
- package/template-web-preact/.jsenv/craft/app/app.css7as_css_module=.js +0 -8
- package/template-web-preact/.jsenv/craft/app/app.jsx +0 -46
- package/template-web-preact/.jsenv/craft/app/counter.jsx +0 -17
- package/template-web-preact/.jsenv/craft/index.html +0 -25
- package/template-web-preact/.jsenv/craft/main.jsx +0 -4
- package/template-web-preact/.jsenv/craft/preact_logo.svg +0 -6
- package/template-web-preact/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -17
- package/template-web-preact/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js +0 -2
- package/template-web-preact/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js +0 -2
- package/template-web-preact/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +0 -2
- package/template-web-preact/.jsenv/entry_index/craft/app/app.css +0 -43
- package/template-web-preact/.jsenv/entry_index/craft/app/app.css7as_css_module=.js +0 -7
- package/template-web-preact/.jsenv/entry_index/craft/app/app.jsx +0 -44
- package/template-web-preact/.jsenv/entry_index/craft/app/counter.jsx +0 -17
- package/template-web-preact/.jsenv/entry_index/craft/index.html +0 -25
- package/template-web-preact/.jsenv/entry_index/craft/main.jsx +0 -4
- package/template-web-preact/.jsenv/entry_index/craft/preact_logo.svg +0 -6
- package/template-web-preact/.jsenv/entry_index/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/dist/jsenv_template_web_preact_node_modules.js +0 -1
- package/template-web-preact/.jsenv/entry_index/shape/index.html +0 -31
- package/template-web-preact/.jsenv/entry_index/shape/main.jsx +0 -1
- package/template-web-preact/.jsenv/entry_index/shape/preact_logo.svg +0 -6
- package/template-web-preact/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -1
- package/template-web-preact/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/dist/vendors.js +0 -1
- package/template-web-preact/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/dist/vendors.nomodule7js_module_fallback=.js +0 -1
- package/template-web-preact/.jsenv/shape/index.html +0 -28
- package/template-web-preact/.jsenv/shape/main.jsx +0 -1
- package/template-web-preact/.jsenv/shape/main.nomodule7js_module_fallback=.jsx +0 -1
- package/template-web-preact/.jsenv/shape/preact_logo.svg +0 -6
- package/template-web-preact/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js +0 -2
- package/template-web-preact/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js +0 -2
- package/template-web-preact/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +0 -2
- package/template-web-preact/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/src/kitchen/client/inline_content.js +0 -17
- package/template-web-preact/.jsenv_b/entry_index/craft/app/app.css +0 -43
- package/template-web-preact/.jsenv_b/entry_index/craft/app/app.css7as_css_module=.js +0 -7
- package/template-web-preact/.jsenv_b/entry_index/craft/app/app.jsx +0 -44
- package/template-web-preact/.jsenv_b/entry_index/craft/app/counter.jsx +0 -17
- package/template-web-preact/.jsenv_b/entry_index/craft/index.html +0 -25
- package/template-web-preact/.jsenv_b/entry_index/craft/main.jsx +0 -4
- package/template-web-preact/.jsenv_b/entry_index/craft/preact_logo.svg +0 -6
- package/template-web-preact/.jsenv_b/entry_index/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/dist/jsenv_template_web_preact_node_modules.js +0 -1
- package/template-web-preact/.jsenv_b/entry_index/shape/index.html +0 -31
- package/template-web-preact/.jsenv_b/entry_index/shape/main.jsx +0 -1
- package/template-web-preact/.jsenv_b/entry_index/shape/preact_logo.svg +0 -6
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -19
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/client/new_stylesheet/new_stylesheet.js +0 -320
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.js +0 -7
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.js +0 -7
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react/jsx-runtime7cjs_as_js_module=.jsx +0 -61
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react7cjs_as_js_module=.jsx +0 -438
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.js +0 -34
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/react-dom/client7cjs_as_js_module=.jsx +0 -9650
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -553
- package/template-web-react/.jsenv/craft/app/app.css +0 -43
- package/template-web-react/.jsenv/craft/app/app.css7as_css_module=.js +0 -8
- package/template-web-react/.jsenv/craft/app/app.jsx +0 -46
- package/template-web-react/.jsenv/craft/app/counter.jsx +0 -16
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js +0 -617
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +0 -26
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.map +0 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js +0 -69
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +0 -18
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.map +0 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js +0 -15859
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +0 -42
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.map +0 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/__compile_context__.json +0 -3
- package/template-web-react/.jsenv/craft/index.html +0 -25
- package/template-web-react/.jsenv/craft/main.jsx +0 -10
- package/template-web-react/.jsenv/craft/react_logo.svg +0 -7
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js +0 -17
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.js +0 -7
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.js +0 -7
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react/jsx-runtime7cjs_as_js_module=.jsx +0 -69
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react7cjs_as_js_module=.jsx +0 -627
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.js +0 -38
- package/template-web-react/.jsenv/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/react-dom/client7cjs_as_js_module=.jsx +0 -16070
- package/template-web-react/.jsenv/entry_index/craft/app/app.css +0 -43
- package/template-web-react/.jsenv/entry_index/craft/app/app.css7as_css_module=.js +0 -7
- package/template-web-react/.jsenv/entry_index/craft/app/app.jsx +0 -45
- package/template-web-react/.jsenv/entry_index/craft/app/counter.jsx +0 -16
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js +0 -627
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +0 -26
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.map +0 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js +0 -69
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +0 -18
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.map +0 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js +0 -16070
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +0 -42
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.map +0 -1
- package/template-web-react/.jsenv/entry_index/craft/cjs_to_esm/__compile_context__.json +0 -3
- package/template-web-react/.jsenv/entry_index/craft/index.html +0 -25
- package/template-web-react/.jsenv/entry_index/craft/main.jsx +0 -10
- package/template-web-react/.jsenv/entry_index/craft/react_logo.svg +0 -7
- package/template-web-react/.jsenv/entry_index/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-react/dist/jsenv_template_web_react_node_modules.js +0 -1
- package/template-web-react/.jsenv/entry_index/shape/index.html +0 -31
- package/template-web-react/.jsenv/entry_index/shape/main.jsx +0 -1
- package/template-web-react/.jsenv/entry_index/shape/react_logo.svg +0 -7
- package/template-web-react/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/client/s.js +0 -1
- package/template-web-react/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-react/dist/vendors.js +0 -1
- package/template-web-react/.jsenv/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-react/dist/vendors.nomodule7js_module_fallback=.js +0 -1
- package/template-web-react/.jsenv/shape/index.html +0 -28
- package/template-web-react/.jsenv/shape/main.jsx +0 -1
- package/template-web-react/.jsenv/shape/main.nomodule7js_module_fallback=.jsx +0 -1
- package/template-web-react/.jsenv/shape/react_logo.svg +0 -7
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.js +0 -7
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.js +0 -7
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react/jsx-runtime7cjs_as_js_module=.jsx +0 -69
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react7cjs_as_js_module=.jsx +0 -617
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.js +0 -38
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/react-dom/client7cjs_as_js_module=.jsx +0 -15859
- package/template-web-react/.jsenv_b/entry_index/craft/@fs/Users/dmail/Documents/dev/core/src/kitchen/client/inline_content.js +0 -17
- package/template-web-react/.jsenv_b/entry_index/craft/app/app.css +0 -43
- package/template-web-react/.jsenv_b/entry_index/craft/app/app.css7as_css_module=.js +0 -7
- package/template-web-react/.jsenv_b/entry_index/craft/app/app.jsx +0 -45
- package/template-web-react/.jsenv_b/entry_index/craft/app/counter.jsx +0 -16
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js +0 -617
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +0 -26
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.map +0 -1
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js +0 -69
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +0 -18
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.map +0 -1
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js +0 -15859
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +0 -42
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.map +0 -1
- package/template-web-react/.jsenv_b/entry_index/craft/cjs_to_esm/__compile_context__.json +0 -3
- package/template-web-react/.jsenv_b/entry_index/craft/index.html +0 -25
- package/template-web-react/.jsenv_b/entry_index/craft/main.jsx +0 -10
- package/template-web-react/.jsenv_b/entry_index/craft/react_logo.svg +0 -7
- package/template-web-react/.jsenv_b/entry_index/shape/@fs/Users/dmail/Documents/dev/core/packages/related/cli/template-web-react/dist/jsenv_template_web_react_node_modules.js +0 -1
- package/template-web-react/.jsenv_b/entry_index/shape/index.html +0 -31
- package/template-web-react/.jsenv_b/entry_index/shape/main.jsx +0 -1
- package/template-web-react/.jsenv_b/entry_index/shape/react_logo.svg +0 -7
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { render } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";
|
|
2
|
-
import { App } from "file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/app/app.jsx";
|
|
3
|
-
import { jsx as _jsx } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
|
|
4
|
-
render(_jsx(App, {}), document.querySelector("#root"));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill="#673ab8" d="M16 2l12.12 7v14L16 30 3.88 23V9z"/>
|
|
3
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="10.72" ry="4.1" transform="rotate(-37.5 16.007 15.996)"/>
|
|
4
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="4.1" ry="10.72" transform="rotate(-52.5 15.998 15.994)"/>
|
|
5
|
-
<circle fill="#fff" cx="16" cy="16" r="1.86"/>
|
|
6
|
-
</svg>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-env browser,node */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* This file does not use export const InlineContent = function() {} on purpose:
|
|
5
|
-
* - An export would be renamed by rollup,
|
|
6
|
-
* making it harder to statically detect new InlineContent() calls
|
|
7
|
-
* - An export would be renamed by terser
|
|
8
|
-
* here again it becomes hard to detect new InlineContent() calls
|
|
9
|
-
* Instead it sets "__InlineContent__" on the global object and terser is configured by jsenv
|
|
10
|
-
* to preserve the __InlineContent__ global variable name
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
const globalObject = typeof self === "object" ? self : process;
|
|
14
|
-
globalObject.__InlineContent__ = function (content, { type = "text/plain" }) {
|
|
15
|
-
this.text = content;
|
|
16
|
-
this.type = type;
|
|
17
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var n,l,u,t,i,r,o,e,f,c,s,a,h,p={},y=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function g(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function _(l,u,t){var i,r,o,e={};for(o in u)"key"==o?i=u[o]:"ref"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)null==e[o]&&(e[o]=l.defaultProps[o]);return m(l,e,i,r,null)}function m(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(e),e}function b(){return{current:null}}function k(n){return n.children}function x(n,l){this.props=n,this.context=l}function S(n,l){if(null==l)return n.__?S(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?S(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!$.__r++||r!=l.debounceRendering)&&((r=l.debounceRendering)||o)($)}function $(){for(var n,u,t,r,o,f,c,s=1;i.length;)i.length>s&&i.sort(e),n=i.shift(),s=i.length,n.__d&&(t=void 0,o=(r=(u=n).__v).__e,f=[],c=[],u.__P&&((t=d({},r)).__v=r.__v+1,l.vnode&&l.vnode(t),O(u.__P,t,r,u.__n,u.__P.namespaceURI,32&r.__u?[o]:null,f,null==o?S(r):o,!!(32&r.__u),c),t.__v=r.__v,t.__.__k[t.__i]=t,z(f,t,c),t.__e!=o&&C(t)));$.__r=0}function I(n,l,u,t,i,r,o,e,f,c,s){var a,h,v,w,d,g,_=t&&t.__k||y,m=l.length;for(f=P(u,l,_,f,m),a=0;a<m;a++)null!=(v=u.__k[a])&&(h=-1==v.__i?p:_[v.__i]||p,v.__i=a,g=O(n,v,h,i,r,o,e,f,c,s),w=v.__e,v.ref&&h.ref!=v.ref&&(h.ref&&q(h.ref,null,v),s.push(v.ref,v.__c||w,v)),null==d&&null!=w&&(d=w),4&v.__u||h.__k===v.__k?f=A(v,f,n):"function"==typeof v.type&&void 0!==g?f=g:w&&(f=w.nextSibling),v.__u&=-7);return u.__e=d,f}function P(n,l,u,t,i){var r,o,e,f,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?(f=r+h,(o=n.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m(null,o,null,null,null):w(o)?m(k,{children:o},null,null,null):null==o.constructor&&o.__b>0?m(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,e=null,-1!=(c=o.__i=L(o,u,f,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=S(e)),B(e,e));return t}function A(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=A(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=S(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(w(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i,r,o=n.key,e=n.type,f=l[u];if(null===f&&null==n.key||f&&o==f.key&&e==f.type&&0==(2&f.__u))return u;if(t>(null!=f&&0==(2&f.__u)?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;){if(i>=0){if((f=l[i])&&0==(2&f.__u)&&o==f.key&&e==f.type)return i;i--}if(r<l.length){if((f=l[r])&&0==(2&f.__u)&&o==f.key&&e==f.type)return r;r++}}return-1}function T(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v.test(l)?u:u+"px"}function j(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||T(n.style,l,u[l])}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f,"$1")),l=l.toLowerCase()in n||"onFocusOut"==l||"onFocusIn"==l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u.u=t.u:(u.u=c,n.addEventListener(l,r?a:s,r)):n.removeEventListener(l,r?a:s,r);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=c++;else if(u.t<t.u)return;return t(l.event?l.event(u):u)}}}function O(n,u,t,i,r,o,e,f,c,s){var a,h,p,y,v,_,m,b,S,C,M,$,P,A,H,L,T,j=u.type;if(null!=u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(a=l.__b)&&a(u);n:if("function"==typeof j)try{if(b=u.props,S="prototype"in j&&j.prototype.render,C=(a=j.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(S?u.__c=h=new j(b,M):(u.__c=h=new x(b,M),h.constructor=j,h.render=D),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),S&&null==h.__s&&(h.__s=h.state),S&&null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,j.getDerivedStateFromProps(b,h.__s))),y=h.props,v=h.state,h.__v=u,p)S&&null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),S&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(S&&null==j.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||u.__v==t.__v){for(u.__v!=t.__v&&(h.props=b,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),$=0;$<h._sb.length;$++)h.__h.push(h._sb[$]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),S&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,v,_)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,P=l.__r,A=0,S){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),S&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(y,v)),L=a,null!=a&&a.type===k&&null==a.key&&(L=N(a.props.children)),f=I(n,w(L)?L:[L],u,t,i,r,o,e,f,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f}else for(T=o.length;T--;)g(o[T]);else u.__e=t.__e,u.__k=t.__k;l.__e(n,u,t)}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=V(t.__e,u,t,i,r,o,e,c,s);return(a=l.diffed)&&a(u),128&u.__u?void 0:f}function z(n,u,t){for(var i=0;i<t.length;i++)q(t[i],t[++i],t[++i]);l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function N(n){return"object"!=typeof n||null==n||n.__b&&n.__b>0?n:w(n)?n.map(N):d({},n)}function V(u,t,i,r,o,e,f,c,s){var a,h,y,v,d,_,m,b=i.props,k=t.props,x=t.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((d=e[a])&&"setAttribute"in d==!!x&&(x?d.localName==x:3==d.nodeType)){u=d,e[a]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l.__m&&l.__m(t,e),c=!1),e=null}if(null==x)b===k||c&&u.data==k||(u.data=k);else{if(e=e&&n.call(u.childNodes),b=i.props||p,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(d=u.attributes[a]).name]=d.value;for(a in b)if(d=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)y=d;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;j(u,a,null,d,o)}for(a in k)d=k[a],"children"==a?v=d:"dangerouslySetInnerHTML"==a?h=d:"value"==a?_=d:"checked"==a?m=d:c&&"function"!=typeof d||b[a]===d||j(u,a,d,b[a],o);if(h)c||y&&(h.__html==y.__html||h.__html==u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(y&&(u.innerHTML=""),I("template"==t.type?u.content:u,w(v)?v:[v],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&S(i,0),c,s),null!=e)for(a=e.length;a--;)g(e[a]);c||(a="value","progress"==x&&null==_?u.removeAttribute("value"):null!=_&&(_!==u[a]||"progress"==x&&!_||"option"==x&&_!=b[a])&&j(u,a,_,b[a],o),a="checked",null!=m&&m!=u[a]&&j(u,a,m,b[a],o))}return u}function q(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){l.__e(n,t)}}function B(n,u,t){var i,r;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||q(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&B(i[r],u,t||"function"!=typeof n.type);t||g(n.__e),n.__c=n.__=n.__e=void 0}function D(n,l,u){return this.constructor(n,u)}function E(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l.__&&l.__(u,t),o=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],f=[],O(t,u=(!r&&i||t).__k=_(k,null,[u]),o||p,p,t.namespaceURI,!r&&i?[i]:o?null:t.firstChild?n.call(t.childNodes):null,e,!r&&i?i:o?o.__e:t.firstChild,r,f),z(e,u,f)}function G(n,l){E(n,l,G)}function J(l,u,t){var i,r,o,e,f=d({},l.props);for(o in l.type&&l.type.defaultProps&&(e=l.type.defaultProps),u)"key"==o?i=u[o]:"ref"==o?r=u[o]:f[o]=null==u[o]&&null!=e?e[o]:u[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),m(l.type,f,i||l.key,r||l.ref,null)}function K(n){function l(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&u.forEach(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n)}}),n.children}return l.__c="__cC"+h++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l}n=y.slice,l={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},x.prototype.render=k,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},$.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=F(!1),a=F(!0),h=0;export{x as Component,k as Fragment,J as cloneElement,K as createContext,_ as createElement,b as createRef,_ as h,G as hydrate,t as isValidElement,l as options,E as render,H as toChildArray};
|
|
2
|
-
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{options as n}from"file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";var t,r,u,i,o=0,f=[],c=n,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function p(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,h(D,n)}function h(n,u,i){var o=p(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return!!n.__c});if(u.every(function(n){return!n.__N}))return!c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),c&&c.call(this,n,t,r)||i};r.__f=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function y(n,u){var i=p(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i))}function _(n,u){var i=p(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(function(){if("function"==typeof n){var r=n(t());return function(){n(null),r&&"function"==typeof r&&r()}}if(n)return n.current=t(),function(){return n.current=null}},null==r?r:r.concat(n))}function T(n,r){var u=p(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=p(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=p(t++,10),i=d();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=p(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[]}catch(t){n.__H.__h=[],c.__e(t,n.__v)}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);k&&(t=requestAnimationFrame(r))}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function B(n){var t=r;n.__c=n.__(),r=t}function C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return"function"==typeof t?t(n):t}export{q as useCallback,x as useContext,P as useDebugValue,y as useEffect,b as useErrorBoundary,g as useId,F as useImperativeHandle,_ as useLayoutEffect,T as useMemo,h as useReducer,A as useRef,d as useState};
|
|
2
|
-
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{options as r,Fragment as e}from"file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";export{Fragment}from"file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";var t=/["&<]/;function n(r){if(0===r.length||!1===t.test(r))return r;for(var e=0,n=0,o="",f="";n<r.length;n++){switch(r.charCodeAt(n)){case 34:f=""";break;case 38:f="&";break;case 60:f="<";break;default:continue}n!==e&&(o+=r.slice(e,n)),o+=f,e=n+1}return n!==e&&(o+=r.slice(e,n)),o}var o=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=0,i=Array.isArray;function u(e,t,n,o,i,u){t||(t={});var a,c,p=t;if("ref"in p)for(c in p={},t)"ref"==c?a=t[c]:p[c]=t[c];var l={type:e,props:p,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--f,__i:-1,__u:0,__source:i,__self:u};if("function"==typeof e&&(a=e.defaultProps))for(c in a)void 0===p[c]&&(p[c]=a[c]);return r.vnode&&r.vnode(l),l}function a(r){var t=u(e,{tpl:r,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function l(e,t){if(r.attr){var f=r.attr(e,t);if("string"==typeof f)return f}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var i="";for(var u in t){var a=t[u];if(null!=a&&""!==a){var l="-"==u[0]?u:c[u]||(c[u]=u.replace(p,"-$&").toLowerCase()),s=";";"number"!=typeof a||l.startsWith("--")||o.test(l)||(s="px;"),i=i+l+":"+a+s}}return e+'="'+i+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+n(t)+'"'}function s(r){if(null==r||"boolean"==typeof r||"function"==typeof r)return null;if("object"==typeof r){if(void 0===r.constructor)return r;if(i(r)){for(var e=0;e<r.length;e++)r[e]=s(r[e]);return r}}return n(""+r)}export{u as jsx,l as jsxAttr,u as jsxDEV,s as jsxEscape,a as jsxTemplate,u as jsxs};
|
|
2
|
-
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.app {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.app_logo {
|
|
6
|
-
pointer-events: none;
|
|
7
|
-
height: 40vmin;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
11
|
-
.app_logo {
|
|
12
|
-
animation: 20s linear infinite app_logo_spin;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.app_header {
|
|
17
|
-
color: #fff;
|
|
18
|
-
background-color: #282c34;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: center;
|
|
22
|
-
min-height: 100vh;
|
|
23
|
-
font-size: calc(10px + 2vmin);
|
|
24
|
-
display: flex;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.app_link {
|
|
28
|
-
color: #61dafb;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@keyframes app_logo_spin {
|
|
32
|
-
from {
|
|
33
|
-
transform: rotate(0);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
to {
|
|
37
|
-
transform: rotate(360deg);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
button {
|
|
42
|
-
font-size: calc(10px + 2vmin);
|
|
43
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "file:///Users/dmail/Documents/dev/core/dist/client/inline_content/inline_content.js";
|
|
2
|
-
|
|
3
|
-
const inlineContent = new __InlineContent__(".app {\n text-align: center;\n}\n\n.app_logo {\n pointer-events: none;\n height: 40vmin;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .app_logo {\n animation: 20s linear infinite app_logo_spin;\n }\n}\n\n.app_header {\n color: #fff;\n background-color: #282c34;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n font-size: calc(10px + 2vmin);\n display: flex;\n}\n\n.app_link {\n color: #61dafb;\n}\n\n@keyframes app_logo_spin {\n from {\n transform: rotate(0);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n\nbutton {\n font-size: calc(10px + 2vmin);\n}\n", { type: "text/css" });
|
|
4
|
-
const stylesheet = new CSSStyleSheet();
|
|
5
|
-
stylesheet.replaceSync(inlineContent.text);
|
|
6
|
-
|
|
7
|
-
export default stylesheet;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { useLayoutEffect } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js";
|
|
2
|
-
import appStyleSheet from "file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/app/app.css?as_css_module" ;
|
|
3
|
-
import { Counter } from "file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/app/counter.jsx";
|
|
4
|
-
import { jsx as _jsx, jsxs as _jsxs } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
|
|
5
|
-
const preactLogoUrl = new URL("file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/preact_logo.svg", import.meta.url);
|
|
6
|
-
export const App = () => {
|
|
7
|
-
useLayoutEffect(() => {
|
|
8
|
-
document.adoptedStyleSheets = [...document.adoptedStyleSheets, appStyleSheet];
|
|
9
|
-
return () => {
|
|
10
|
-
document.adoptedStyleSheets = document.adoptedStyleSheets.filter(s => s !== appStyleSheet);
|
|
11
|
-
};
|
|
12
|
-
}, []);
|
|
13
|
-
return _jsx("div", {
|
|
14
|
-
className: "app",
|
|
15
|
-
children: _jsxs("header", {
|
|
16
|
-
className: "app_header",
|
|
17
|
-
children: [_jsx("img", {
|
|
18
|
-
src: preactLogoUrl,
|
|
19
|
-
className: "app_logo",
|
|
20
|
-
alt: "logo"
|
|
21
|
-
}), _jsx("p", {
|
|
22
|
-
children: "Hello jsenv + preact!"
|
|
23
|
-
}), _jsx("p", {
|
|
24
|
-
children: _jsx(Counter, {})
|
|
25
|
-
}), _jsxs("p", {
|
|
26
|
-
children: ["Edit", " ", _jsx("a", {
|
|
27
|
-
className: "app_link"
|
|
28
|
-
// eslint-disable-next-line no-script-url
|
|
29
|
-
,
|
|
30
|
-
href: "javascript:window.fetch('/internal/open_file/app/app.jsx')",
|
|
31
|
-
children: "app.jsx"
|
|
32
|
-
}), " ", "and save to test HMR updates."]
|
|
33
|
-
}), _jsx("p", {
|
|
34
|
-
children: _jsx("a", {
|
|
35
|
-
className: "app_link",
|
|
36
|
-
href: "https://github.com/jsenv/core",
|
|
37
|
-
target: "_blank",
|
|
38
|
-
rel: "noopener noreferrer",
|
|
39
|
-
children: "Jsenv documentation"
|
|
40
|
-
})
|
|
41
|
-
})]
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Fragment } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";
|
|
2
|
-
import { useState } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/hooks/dist/hooks.module.js";
|
|
3
|
-
import { jsx as _jsx, jsxs as _jsxs } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
|
|
4
|
-
export const Counter = () => {
|
|
5
|
-
const [count, setCount] = useState(0);
|
|
6
|
-
return _jsxs(Fragment, {
|
|
7
|
-
children: [_jsx("button", {
|
|
8
|
-
id: "counter_button",
|
|
9
|
-
type: "button",
|
|
10
|
-
onClick: () => setCount(count => count + 1),
|
|
11
|
-
children: "Click me"
|
|
12
|
-
}), _jsx("br", {}), "number of click: ", _jsx("span", {
|
|
13
|
-
id: "counter_output",
|
|
14
|
-
children: count
|
|
15
|
-
})]
|
|
16
|
-
});
|
|
17
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" original-position-stored="">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/preact_logo.svg" original-href-position="5:43;5:67">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<style original-position="7:5;22:13" content-indented="" jsenv-cooked-by="jsenv:html_inline_content_analysis">
|
|
8
|
-
body {
|
|
9
|
-
-webkit-font-smoothing: antialiased;
|
|
10
|
-
-moz-osx-font-smoothing: grayscale;
|
|
11
|
-
margin: 0;
|
|
12
|
-
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
code {
|
|
16
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
|
19
|
-
<title>Jsenv App</title>
|
|
20
|
-
</head>
|
|
21
|
-
<body>
|
|
22
|
-
<div id="root"></div>
|
|
23
|
-
<script type="module" src="file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/main.jsx" original-src-position="27:27;27:43"></script>
|
|
24
|
-
</body>
|
|
25
|
-
</html>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { render } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";
|
|
2
|
-
import { App } from "file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/app/app.jsx";
|
|
3
|
-
import { jsx as _jsx } from "file:///Users/dmail/Documents/dev/core/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
|
|
4
|
-
render(_jsx(App, {}), document.querySelector("#root"));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill="#673ab8" d="M16 2l12.12 7v14L16 30 3.88 23V9z"/>
|
|
3
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="10.72" ry="4.1" transform="rotate(-37.5 16.007 15.996)"/>
|
|
4
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="4.1" ry="10.72" transform="rotate(-52.5 15.998 15.994)"/>
|
|
5
|
-
<circle fill="#fff" cx="16" cy="16" r="1.86"/>
|
|
6
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _,e,n,t,o,r,l,u,i,f,c,s={},a=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function d(_,e){for(var n in e)_[n]=e[n];return _}function v(_){_&&_.parentNode&&_.parentNode.removeChild(_)}function m(_,t,o,r,l){var u={type:_,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==l?++n:l,__i:-1,__u:0};return null==l&&null!=e.vnode&&e.vnode(u),u}function y(_){return _.children}function g(_,e){this.props=_,this.context=e}function k(_,e){if(null==e)return _.__?k(_.__,_.__i+1):null;for(var n;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof _.type?k(_):null}function b(_){var e,n;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,e=0;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e){_.__e=_.__c.base=n.__e;break}return b(_)}}function w(_){(!_.__d&&(_.__d=!0)&&t.push(_)&&!H.__r++||o!=e.debounceRendering)&&((o=e.debounceRendering)||r)(H)}function H(){for(var _,n,o,r,u,i,f,c=1;t.length;)t.length>c&&t.sort(l),_=t.shift(),c=t.length,_.__d&&(o=void 0,u=(r=(n=_).__v).__e,i=[],f=[],n.__P&&((o=d({},r)).__v=r.__v+1,e.vnode&&e.vnode(o),U(n.__P,o,r,n.__n,n.__P.namespaceURI,32&r.__u?[u]:null,i,null==u?k(r):u,!!(32&r.__u),f),o.__v=r.__v,o.__.__k[o.__i]=o,T(i,o,f),o.__e!=u&&b(o)));H.__r=0}function x(_,e,n,t,o,r,l,u,i,f,c){var p,d,v,g,b,w,H=t&&t.__k||a,x=e.length;for(i=function(_,e,n,t,o){var r,l,u,i,f,c=n.length,s=c,a=0;for(_.__k=new Array(o),r=0;r<o;r++)null!=(l=e[r])&&"boolean"!=typeof l&&"function"!=typeof l?(i=r+a,(l=_.__k[r]="string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?m(null,l,null,null,null):h(l)?m(y,{children:l},null,null,null):null==l.constructor&&l.__b>0?m(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=_,l.__b=_.__b+1,u=null,-1!=(f=l.__i=S(l,n,i,s))&&(s--,(u=n[f])&&(u.__u|=2)),null==u||null==u.__v?(-1==f&&(o>c?a--:o<c&&a++),"function"!=typeof l.type&&(l.__u|=4)):f!=i&&(f==i-1?a--:f==i+1?a++:(f>i?a--:a++,l.__u|=4))):_.__k[r]=null;if(s)for(r=0;r<c;r++)null!=(u=n[r])&&!(2&u.__u)&&(u.__e==t&&(t=k(u)),M(u,u));return t}(n,e,H,i,x),p=0;p<x;p++)null!=(v=n.__k[p])&&(d=-1==v.__i?s:H[v.__i]||s,v.__i=p,w=U(_,v,d,o,r,l,u,i,f,c),g=v.__e,v.ref&&d.ref!=v.ref&&(d.ref&&D(d.ref,null,v),c.push(v.ref,v.__c||g,v)),null==b&&null!=g&&(b=g),4&v.__u||d.__k===v.__k?i=P(v,i,_):"function"==typeof v.type&&void 0!==w?i=w:g&&(i=g.nextSibling),v.__u&=-7);return n.__e=b,i}function P(_,e,n){var t,o;if("function"==typeof _.type){for(t=_.__k,o=0;t&&o<t.length;o++)t[o]&&(t[o].__=_,e=P(t[o],e,n));return e}_.__e!=e&&(e&&_.type&&!n.contains(e)&&(e=k(_)),n.insertBefore(_.__e,e||null),e=_.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function S(_,e,n,t){var o,r,l=_.key,u=_.type,i=e[n];if(null===i&&null==_.key||i&&l==i.key&&u==i.type&&!(2&i.__u))return n;if(t>(null==i||2&i.__u?0:1))for(o=n-1,r=n+1;o>=0||r<e.length;){if(o>=0){if((i=e[o])&&!(2&i.__u)&&l==i.key&&u==i.type)return o;o--}if(r<e.length){if((i=e[r])&&!(2&i.__u)&&l==i.key&&u==i.type)return r;r++}}return-1}function N(_,e,n){"-"==e[0]?_.setProperty(e,null==n?"":n):_[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function C(_,e,n,t,o){var r;_:if("style"==e)if("string"==typeof n)_.style.cssText=n;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(e in t)n&&e in n||N(_.style,e,"");if(n)for(e in n)t&&n[e]==t[e]||N(_.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])r=e!=(e=e.replace(u,"$1")),e=e.toLowerCase()in _||"onFocusOut"==e||"onFocusIn"==e?e.toLowerCase().slice(2):e.slice(2),_.l||(_.l={}),_.l[e+r]=n,n?t?n.u=t.u:(n.u=i,_.addEventListener(e,r?c:f,r)):_.removeEventListener(e,r?c:f,r);else{if("http://www.w3.org/2000/svg"==o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in _)try{_[e]=null==n?"":n;break _}catch(_){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?_.removeAttribute(e):_.setAttribute(e,"popover"==e&&1==n?"":n))}}function E(_){return function(n){if(this.l){var t=this.l[n.type+_];if(null==n.t)n.t=i++;else if(n.t<t.u)return;return t(e.event?e.event(n):n)}}}function U(_,n,t,o,r,l,u,i,f,c){var s,a,p,m,k,b,w,H,P,S,N,C,E,U,T,D,M,W=n.type;if(null!=n.constructor)return null;128&t.__u&&(f=!!(32&t.__u),l=[i=n.__e=t.__e]),(s=e.__b)&&s(n);_:if("function"==typeof W)try{if(H=n.props,P="prototype"in W&&W.prototype.render,S=(s=W.contextType)&&o[s.__c],N=s?S?S.props.value:s.__:o,t.__c?w=(a=n.__c=t.__c).__=a.__E:(P?n.__c=a=new W(H,N):(n.__c=a=new g(H,N),a.constructor=W,a.render=L),S&&S.sub(a),a.props=H,a.state||(a.state={}),a.context=N,a.__n=o,p=a.__d=!0,a.__h=[],a._sb=[]),P&&null==a.__s&&(a.__s=a.state),P&&null!=W.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=d({},a.__s)),d(a.__s,W.getDerivedStateFromProps(H,a.__s))),m=a.props,k=a.state,a.__v=n,p)P&&null==W.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),P&&null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(P&&null==W.getDerivedStateFromProps&&H!==m&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(H,N),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(H,a.__s,N)||n.__v==t.__v){for(n.__v!=t.__v&&(a.props=H,a.state=a.__s,a.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.some((function(_){_&&(_.__=n)})),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[],a.__h.length&&u.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(H,a.__s,N),P&&null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(m,k,b)}))}if(a.context=N,a.props=H,a.__P=_,a.__e=!1,E=e.__r,U=0,P){for(a.state=a.__s,a.__d=!1,E&&E(n),s=a.render(a.props,a.state,a.context),T=0;T<a._sb.length;T++)a.__h.push(a._sb[T]);a._sb=[]}else do{a.__d=!1,E&&E(n),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++U<25);a.state=a.__s,null!=a.getChildContext&&(o=d(d({},o),a.getChildContext())),P&&!p&&null!=a.getSnapshotBeforeUpdate&&(b=a.getSnapshotBeforeUpdate(m,k)),D=s,null!=s&&s.type===y&&null==s.key&&(D=F(s.props.children)),i=x(_,h(D)?D:[D],n,t,o,r,l,u,i,f,c),a.base=n.__e,n.__u&=-161,a.__h.length&&u.push(a),w&&(a.__E=a.__=null)}catch(_){if(n.__v=null,f||null!=l)if(_.then){for(n.__u|=f?160:128;i&&8==i.nodeType&&i.nextSibling;)i=i.nextSibling;l[l.indexOf(i)]=null,n.__e=i}else for(M=l.length;M--;)v(l[M]);else n.__e=t.__e,n.__k=t.__k;e.__e(_,n,t)}else null==l&&n.__v==t.__v?(n.__k=t.__k,n.__e=t.__e):i=n.__e=A(t.__e,n,t,o,r,l,u,f,c);return(s=e.diffed)&&s(n),128&n.__u?void 0:i}function T(_,n,t){for(var o=0;o<t.length;o++)D(t[o],t[++o],t[++o]);e.__c&&e.__c(n,_),_.some((function(n){try{_=n.__h,n.__h=[],_.some((function(_){_.call(n)}))}catch(_){e.__e(_,n.__v)}}))}function F(_){return"object"!=typeof _||null==_||_.__b&&_.__b>0?_:h(_)?_.map(F):d({},_)}function A(n,t,o,r,l,u,i,f,c){var a,p,d,m,y,g,b,w=o.props,H=t.props,P=t.type;if("svg"==P?l="http://www.w3.org/2000/svg":"math"==P?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),null!=u)for(a=0;a<u.length;a++)if((y=u[a])&&"setAttribute"in y==!!P&&(P?y.localName==P:3==y.nodeType)){n=y,u[a]=null;break}if(null==n){if(null==P)return document.createTextNode(H);n=document.createElementNS(l,P,H.is&&H),f&&(e.__m&&e.__m(t,u),f=!1),u=null}if(null==P)w===H||f&&n.data==H||(n.data=H);else{if(u=u&&_.call(n.childNodes),w=o.props||s,!f&&null!=u)for(w={},a=0;a<n.attributes.length;a++)w[(y=n.attributes[a]).name]=y.value;for(a in w)if(y=w[a],"children"==a);else if("dangerouslySetInnerHTML"==a)d=y;else if(!(a in H)){if("value"==a&&"defaultValue"in H||"checked"==a&&"defaultChecked"in H)continue;C(n,a,null,y,l)}for(a in H)y=H[a],"children"==a?m=y:"dangerouslySetInnerHTML"==a?p=y:"value"==a?g=y:"checked"==a?b=y:f&&"function"!=typeof y||w[a]===y||C(n,a,y,w[a],l);if(p)f||d&&(p.__html==d.__html||p.__html==n.innerHTML)||(n.innerHTML=p.__html),t.__k=[];else if(d&&(n.innerHTML=""),x("template"==t.type?n.content:n,h(m)?m:[m],t,o,r,"foreignObject"==P?"http://www.w3.org/1999/xhtml":l,u,i,u?u[0]:o.__k&&k(o,0),f,c),null!=u)for(a=u.length;a--;)v(u[a]);f||(a="value","progress"==P&&null==g?n.removeAttribute("value"):null!=g&&(g!==n[a]||"progress"==P&&!g||"option"==P&&g!=w[a])&&C(n,a,g,w[a],l),a="checked",null!=b&&b!=n[a]&&C(n,a,b,w[a],l))}return n}function D(_,n,t){try{if("function"==typeof _){var o="function"==typeof _.__u;o&&_.__u(),o&&null==n||(_.__u=_(n))}else _.current=n}catch(_){e.__e(_,t)}}function M(_,n,t){var o,r;if(e.unmount&&e.unmount(_),(o=_.ref)&&(o.current&&o.current!=_.__e||D(o,null,n)),null!=(o=_.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(_){e.__e(_,n)}o.base=o.__P=null}if(o=_.__k)for(r=0;r<o.length;r++)o[r]&&M(o[r],n,t||"function"!=typeof _.type);t||v(_.__e),_.__c=_.__=_.__e=void 0}function L(_,e,n){return this.constructor(_,n)}function W(n,t,o){var r,l,u;t==document&&(t=document.documentElement),e.__&&e.__(n,t),r=!1?null:t.__k,l=[],u=[],U(t,n=t.__k=function(e,n,t){var o,r,l,u={};for(l in n)"key"==l?o=n[l]:"ref"==l?r=n[l]:u[l]=n[l];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)null==u[l]&&(u[l]=e.defaultProps[l]);return m(e,u,o,r,null)}(y,null,[n]),r||s,s,t.namespaceURI,r?null:t.firstChild?_.call(t.childNodes):null,l,r?r.__e:t.firstChild,false,u),T(l,n,u)}_=a.slice,e={__e:function(_,e,n,t){for(var o,r,l;e=e.__;)if((o=e.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),l=o.__d),l)return o.__E=o}catch(e){_=e}throw _}},n=0,g.prototype.setState=function(_,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=d({},this.state),"function"==typeof _&&(_=_(d({},n),this.props)),_&&d(n,_),null!=_&&this.__v&&(e&&this._sb.push(e),w(this))},g.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),w(this))},g.prototype.render=y,t=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(_,e){return _.__v.__b-e.__v.__b},H.__r=0,u=/(PointerCapture)$|Capture$/i,i=0,f=E(!1),c=E(!0);var I,R,$,q,B=0,O=[],j=e,z=j.__b,V=j.__r,G=j.diffed,J=j.__c,K=j.unmount,Q=j.__;function X(_,e){j.__h&&j.__h(R,_,B||e),B=0;var n=R.__H||(R.__H={__:[],__h:[]});return _>=n.__.length&&n.__.push({}),n.__[_]}function Y(_){return B=1,function(_,e){var n=X(I++,2);if(n.t=_,!n.__c&&(n.__=[r_(void 0,e),function(_){var e=n.__N?n.__N[0]:n.__[0],t=n.t(e,_);e!==t&&(n.__N=[t,n.__[1]],n.__c.setState({}))}],n.__c=R,!R.__f)){var t=function(_,e,t){if(!n.__c.__H)return!0;var r=n.__c.__H.__.filter((function(_){return!!_.__c}));if(r.every((function(_){return!_.__N})))return!o||o.call(this,_,e,t);var l=n.__c.props!==_;return r.forEach((function(_){if(_.__N){var e=_.__[0];_.__=_.__N,_.__N=void 0,e!==_.__[0]&&(l=!0)}})),o&&o.call(this,_,e,t)||l};R.__f=!0;var o=R.shouldComponentUpdate,r=R.componentWillUpdate;R.componentWillUpdate=function(_,e,n){if(this.__e){var l=o;o=void 0,t(_,e,n),o=l}r&&r.call(this,_,e,n)},R.shouldComponentUpdate=t}return n.__N||n.__}(r_,_)}function Z(_,e){var n=X(I++,4);!j.__s&&function(_,e){return!_||_.length!==e.length||e.some((function(e,n){return e!==_[n]}))}(n.__H,e)&&(n.__=_,n.u=e,R.__h.push(n))}function __(){for(var _;_=O.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(t_),_.__H.__h.forEach(o_),_.__H.__h=[]}catch(e){_.__H.__h=[],j.__e(e,_.__v)}}j.__b=function(_){R=null,z&&z(_)},j.__=function(_,e){_&&e.__k&&e.__k.__m&&(_.__m=e.__k.__m),Q&&Q(_,e)},j.__r=function(_){V&&V(_),I=0;var e=(R=_.__c).__H;e&&($===R?(e.__h=[],R.__h=[],e.__.forEach((function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0}))):(e.__h.forEach(t_),e.__h.forEach(o_),e.__h=[],I=0)),$=R},j.diffed=function(_){G&&G(_);var e=_.__c;e&&e.__H&&(e.__H.__h.length&&(1!==O.push(e)&&q===j.requestAnimationFrame||((q=j.requestAnimationFrame)||n_)(__)),e.__H.__.forEach((function(_){_.u&&(_.__H=_.u),_.u=void 0}))),$=R=null},j.__c=function(_,e){e.some((function(_){try{_.__h.forEach(t_),_.__h=_.__h.filter((function(_){return!_.__||o_(_)}))}catch(n){e.some((function(_){_.__h&&(_.__h=[])})),e=[],j.__e(n,_.__v)}})),J&&J(_,e)},j.unmount=function(_){K&&K(_);var e,n=_.__c;n&&n.__H&&(n.__H.__.forEach((function(_){try{t_(_)}catch(_){e=_}})),n.__H=void 0,e&&j.__e(e,n.__v))};var e_="function"==typeof requestAnimationFrame;function n_(_){var e,n=function(){clearTimeout(t),e_&&cancelAnimationFrame(e),setTimeout(_)},t=setTimeout(n,100);e_&&(e=requestAnimationFrame(n))}function t_(_){var e=R,n=_.__c;"function"==typeof n&&(_.__c=void 0,n()),R=e}function o_(_){var e=R;_.__c=_.__(),R=e}function r_(_,e){return"function"==typeof e?e(_):e}var l_=0;function u_(_,n,t,o,r,l){n||(n={});var u,i,f=n;if("ref"in f)for(i in f={},n)"ref"==i?u=n[i]:f[i]=n[i];var c={type:_,props:f,key:t,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--l_,__i:-1,__u:0,__source:r,__self:l};if("function"==typeof _&&(u=_.defaultProps))for(i in u)void 0===f[i]&&(f[i]=u[i]);return e.vnode&&e.vnode(c),c}export{W as E,Z as _,Y as d,y as k,u_ as u};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" original-position-stored="">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="/other/preact_logo.svg?v=7aea73c3" original-href-position="5:43;5:67">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<script type="importmap" jsenv-injected-by="jsenv:versioning" content-indented="">
|
|
8
|
-
{
|
|
9
|
-
"imports": {
|
|
10
|
-
"/jsenv_template_web_preact_node_modules.js": "/jsenv_template_web_preact_node_modules.js?v=54b78af0"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
</script>
|
|
14
|
-
<script jsenv-injected-by="jsenv:core" content-indented="">
|
|
15
|
-
;(function() {
|
|
16
|
-
var __versionMappings__ = {
|
|
17
|
-
"/other/preact_logo.svg": "/other/preact_logo.svg?v=7aea73c3"
|
|
18
|
-
};
|
|
19
|
-
window.__v__ = function (specifier) {
|
|
20
|
-
return __versionMappings__[specifier] || specifier
|
|
21
|
-
};
|
|
22
|
-
})();
|
|
23
|
-
</script>
|
|
24
|
-
<style original-position="7:5;22:13" content-indented="" jsenv-cooked-by="jsenv:html_inline_content_analysis">body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}</style>
|
|
25
|
-
<title>Jsenv App</title>
|
|
26
|
-
</head>
|
|
27
|
-
<body>
|
|
28
|
-
<div id="root"></div>
|
|
29
|
-
<script type="module" src="/js/main.js?v=a73569df" original-src-position="27:27;27:43"></script>
|
|
30
|
-
</body>
|
|
31
|
-
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e,u as t,k as n,_ as o,E as r}from"/jsenv_template_web_preact_node_modules.js";("object"==typeof self?self:process).__InlineContent__=function(e,{type:t="text/plain"}){this.text=e,this.type=t};const a=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),p=new CSSStyleSheet;p.replaceSync(a.text);const i=()=>{const[o,r]=e(0);return t(n,{children:[t("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),t("br",{}),"number of click: ",t("span",{id:"counter_output",children:o})]})},c=new URL(__v__("/other/preact_logo.svg"),import.meta.url);r(t((()=>(o((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,p],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==p))})),[]),t("div",{className:"app",children:t("header",{className:"app_header",children:[t("img",{src:c,className:"app_logo",alt:"logo"}),t("p",{children:"Hello jsenv + preact!"}),t("p",{children:t(i,{})}),t("p",{children:["Edit"," ",t("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),t("p",{children:t("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill="#673ab8" d="M16 2l12.12 7v14L16 30 3.88 23V9z"/>
|
|
3
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="10.72" ry="4.1" transform="rotate(-37.5 16.007 15.996)"/>
|
|
4
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="4.1" ry="10.72" transform="rotate(-52.5 15.998 15.994)"/>
|
|
5
|
-
<circle fill="#fff" cx="16" cy="16" r="1.86"/>
|
|
6
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,n){if("function"==typeof define&&define.amd)define([],n);else if("undefined"!=typeof exports)n();else{n(),e.s={}}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,(function(){"use strict";function e(e,n,t){return e&&e.then||(e=Promise.resolve(e)),n?e.then(n):e}function n(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];try{return Promise.resolve(e.apply(this,n))}catch(e){return Promise.reject(e)}}}function t(){}function r(e,n){return e&&e.then?e.then(t):Promise.resolve()}function o(e,n){var t=e();return t&&t.then?t.then(n):n(t)}function i(e,n){try{var t=e()}catch(e){return n(e)}return t&&t.then?t.then(void 0,n):t}function u(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,u,c=[],f=!0,l=!1;try{if(i=(t=t.call(e)).next,0===n);else for(;!(f=(r=i.call(t)).done)&&(c.push(r.value),c.length!==n);f=!0);}catch(e){l=!0,o=e}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(l)throw o}}return c}}(e,n)||function(e,n){if(e){if("string"==typeof e)return c(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?c(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}!function(){var t=Object.create(null),c=Object.create(null),l=0,s={},a="object"===("undefined"==typeof document?"undefined":f(document)),d=self,m=!a&&"function"==typeof d.WorkerGlobalScope&&d instanceof d.WorkerGlobalScope,p=m&&"function"==typeof self.skipWaiting;d.System=s;var h=d.location.href.split("#")[0].split("?")[0],v=h.lastIndexOf("/");-1!==v&&(h=h.slice(0,v+1));var y=function(e,n){return new URL(e,n).href};if(a){var P=document.querySelector("base[href]");P&&(h=P.href),s.register=function(e,n){if(!document.currentScript)throw new Error("unexpected call to System.register (document.currentScript is undefined)");if(document.currentScript.__s__)return c[document.currentScript.src]=[e,n],null;var t=document.currentScript.src||"".concat(window.location.href,"__inline_script__").concat(++l);return c[t]=[e,n],_(t)},s.instantiate=function(e){var n=g(e);return new Promise((function(t,r){var o,i,u=function(e){o=e.filename,i=e.error};window.addEventListener("error",u),n.addEventListener("error",(function(){window.removeEventListener("error",u),r("An error occured while loading url with <script> for ".concat(e))})),n.addEventListener("load",(function(){window.removeEventListener("error",u),document.head.removeChild(n),o===e?r(i):t()})),document.head.appendChild(n)}))};var g=function(e){var n=document.createElement("script");return n.async=!0,e.indexOf("".concat(self.location.origin,"/"))&&(n.crossOrigin="anonymous"),n.__s__=!0,n.src=e,n}}if(m){var b=[];if(p){var w=["message","install","activate","fetch"],S={},x=new Promise((function(e){b.push(e)}));w.forEach((function(e){var n=[];self.addEventListener(e,(function(e){var t=S[e.type];t?t(e):(n.push(e),e.waitUntil(x))})),b.push((function(){if(n.length){var e=S[n[0].type];e&&n.forEach((function(n){e(n)})),n.length=0}}))}));var E=self.addEventListener;self.addEventListener=function(e,n,t){return w.indexOf(e)>-1?(S[e]=n,null):E.call(self,e,n,t)}}else{["message"].forEach((function(e){var n=[],t=function(e){n.push(e)};self.addEventListener(e,t),b.push((function(){self.removeEventListener(e,t),n.forEach((function(e){self.dispatchEvent(e)})),n.length=0}))}))}s.register=n((function(n,t){s.register=function(){throw new Error("unexpected call to System.register (called outside url instantiation)")};var r=self.location.href;return c[r]=[n,t],e(_(r),(function(e){return b.forEach((function(e){e()})),b.length=0,e}))})),s.instantiate=n((function(n){return e(self.fetch(n,{credentials:"same-origin"}),(function(t){if(!t.ok)throw Error("Failed to fetch module at ".concat(n));return e(t.text(),(function(e){e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL=".concat(n));var t=s.register;s.register=function(e,t){c[n]=[e,t]},(0,self.eval)(e),s.register=t}))}))}))}var _=function(e,n){var t=y(e,n),r=L(t,n);return r.completionPromise?r.completionPromise===r.namespace?Promise.resolve(r.namespace):r.completionPromise:O(r,n)},L=function(f,l){var a=t[f];if(a)return a;var d=T(),m={url:f,deps:[],dependencyLoads:[],instantiatePromise:null,linkPromise:null,executePromise:null,completionPromise:null,importerSetters:[],setters:[],execute:null,error:null,hoistedExports:!1,namespace:d};return t[f]=m,m.instantiatePromise=n((function(){return i((function(){var e=c[f];return o((function(){if(!e){var n=s.instantiate(f,l);return o((function(){if(n)return r(n)}),(function(){e=c[f]}))}}),(function(){if(!e)throw new Error("System.register() not called after executing ".concat(f));var n=u(e,2),t=n[0],r=(0,n[1])((function(e,n){m.hoistedExports=!0;var t=!1;if("string"==typeof e){var r=e,o=n;r in d&&d[r]===o||(d[r]=o,t=!0)}else Object.keys(e).forEach((function(n){var r=e[n];n in d&&d[n]===r||(d[n]=r,t=!0)})),e&&e.__esModule&&(d.__esModule=e.__esModule);return t&&m.importerSetters.forEach((function(e){e&&e(d)})),n}),{import:function(e){return _(e,f)},meta:M(f)}),o=r.setters,i=r.execute,c=void 0===i?function(){}:i;m.deps=t,m.setters=o,m.execute=c}))}),(function(e){m.error=e,m.execute=null}))}))(),m.linkPromise=n((function(){return e(m.instantiatePromise,(function(){return e(Promise.all(m.deps.map(n((function(e,n){var t=m.setters[n],i=y(e,f),u=L(i,f);return o((function(){if(u.instantiatePromise)return r(u.instantiatePromise)}),(function(){return t&&(u.importerSetters.push(t),!u.hoistedExports&&u.instantiatePromise||t(u.namespace)),u}))})))),(function(e){m.dependencyLoads=e}))}))}))(),m},O=n((function(n,t){return n.completionPromise=e(j(n,n,{}),(function(){return e(k(n,t?[t]:[]),(function(){return n.namespace}))})),n.completionPromise})),j=n((function(e,n,t){if(!t[e.url])return t[e.url]=!0,i((function(){return o((function(){if(e.linkPromise)return r(e.linkPromise)}),(function(){return r(Promise.all(e.dependencyLoads.map((function(e){return j(e,n,t)}))))}))}),(function(n){if(e.error)throw n;throw e.execute=null,n}))})),k=function(e,t){if(!(t.indexOf(e.url)>-1)){if(!e.execute){if(e.error)throw e.error;return e.executePromise?e.executePromise:void 0}var i=e.execute;e.execute=null;var u=[];return e.dependencyLoads.forEach((function(n){try{var r=t.slice();r.push(e.url);var o=k(n,r);o&&u.push(o)}catch(n){throw e.error=n,n}})),n((function(){return o((function(){if(u.length)return r(Promise.all(u))}),(function(){try{var n=i.call(A);if(n)return void(e.executePromise=n.then((function(){e.executePromise=null,e.completionPromise=e.namespace}),(function(n){throw e.executePromise=null,e.error=n,n})));e.instantiatePromise=null,e.linkPromise=null,e.completionPromise=e.namespace}catch(n){throw e.error=n,n}finally{e.execute=null}}))}))()}},A=Object.freeze(Object.create(null)),M=function(e){return{url:e,resolve:function(n){return y(n,e)}}},T="undefined"!=typeof Symbol&&Symbol.toStringTag?function(){var e=Object.create(null);return Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}:function(){return Object.create(null)}}()}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _,e,n,t,o,r,l,u,i,f,c,s={},a=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function d(_,e){for(var n in e)_[n]=e[n];return _}function v(_){_&&_.parentNode&&_.parentNode.removeChild(_)}function m(_,t,o,r,l){var u={type:_,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==l?++n:l,__i:-1,__u:0};return null==l&&null!=e.vnode&&e.vnode(u),u}function y(_){return _.children}function g(_,e){this.props=_,this.context=e}function k(_,e){if(null==e)return _.__?k(_.__,_.__i+1):null;for(var n;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof _.type?k(_):null}function b(_){var e,n;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,e=0;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e){_.__e=_.__c.base=n.__e;break}return b(_)}}function w(_){(!_.__d&&(_.__d=!0)&&t.push(_)&&!H.__r++||o!==e.debounceRendering)&&((o=e.debounceRendering)||r)(H)}function H(){for(var _,n,o,r,u,i,f,c=1;t.length;)t.length>c&&t.sort(l),_=t.shift(),c=t.length,_.__d&&(o=void 0,u=(r=(n=_).__v).__e,i=[],f=[],n.__P&&((o=d({},r)).__v=r.__v+1,e.vnode&&e.vnode(o),U(n.__P,o,r,n.__n,n.__P.namespaceURI,32&r.__u?[u]:null,i,null==u?k(r):u,!!(32&r.__u),f),o.__v=r.__v,o.__.__k[o.__i]=o,T(i,o,f),o.__e!=u&&b(o)));H.__r=0}function x(_,e,n,t,o,r,l,u,i,f,c){var p,d,v,g,b,w,H=t&&t.__k||a,x=e.length;for(i=function(_,e,n,t,o){var r,l,u,i,f,c=n.length,s=c,a=0;for(_.__k=new Array(o),r=0;r<o;r++)null!=(l=e[r])&&"boolean"!=typeof l&&"function"!=typeof l?(i=r+a,(l=_.__k[r]="string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?m(null,l,null,null,null):h(l)?m(y,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?m(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=_,l.__b=_.__b+1,u=null,-1!==(f=l.__i=S(l,n,i,s))&&(s--,(u=n[f])&&(u.__u|=2)),null==u||null===u.__v?(-1==f&&(o>c?a--:o<c&&a++),"function"!=typeof l.type&&(l.__u|=4)):f!=i&&(f==i-1?a--:f==i+1?a++:(f>i?a--:a++,l.__u|=4))):_.__k[r]=null;if(s)for(r=0;r<c;r++)null!=(u=n[r])&&!(2&u.__u)&&(u.__e==t&&(t=k(u)),M(u,u));return t}(n,e,H,i,x),p=0;p<x;p++)null!=(v=n.__k[p])&&(d=-1===v.__i?s:H[v.__i]||s,v.__i=p,w=U(_,v,d,o,r,l,u,i,f,c),g=v.__e,v.ref&&d.ref!=v.ref&&(d.ref&&D(d.ref,null,v),c.push(v.ref,v.__c||g,v)),null==b&&null!=g&&(b=g),4&v.__u||d.__k===v.__k?i=P(v,i,_):"function"==typeof v.type&&void 0!==w?i=w:g&&(i=g.nextSibling),v.__u&=-7);return n.__e=b,i}function P(_,e,n){var t,o;if("function"==typeof _.type){for(t=_.__k,o=0;t&&o<t.length;o++)t[o]&&(t[o].__=_,e=P(t[o],e,n));return e}_.__e!=e&&(e&&_.type&&!n.contains(e)&&(e=k(_)),n.insertBefore(_.__e,e||null),e=_.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function S(_,e,n,t){var o,r,l=_.key,u=_.type,i=e[n];if(null===i&&null==_.key||i&&l==i.key&&u===i.type&&!(2&i.__u))return n;if(t>(null==i||2&i.__u?0:1))for(o=n-1,r=n+1;o>=0||r<e.length;){if(o>=0){if((i=e[o])&&!(2&i.__u)&&l==i.key&&u===i.type)return o;o--}if(r<e.length){if((i=e[r])&&!(2&i.__u)&&l==i.key&&u===i.type)return r;r++}}return-1}function N(_,e,n){"-"==e[0]?_.setProperty(e,null==n?"":n):_[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function C(_,e,n,t,o){var r;_:if("style"==e)if("string"==typeof n)_.style.cssText=n;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(e in t)n&&e in n||N(_.style,e,"");if(n)for(e in n)t&&n[e]===t[e]||N(_.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])r=e!=(e=e.replace(u,"$1")),e=e.toLowerCase()in _||"onFocusOut"==e||"onFocusIn"==e?e.toLowerCase().slice(2):e.slice(2),_.l||(_.l={}),_.l[e+r]=n,n?t?n.t=t.t:(n.t=i,_.addEventListener(e,r?c:f,r)):_.removeEventListener(e,r?c:f,r);else{if("http://www.w3.org/2000/svg"==o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in _)try{_[e]=null==n?"":n;break _}catch(_){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?_.removeAttribute(e):_.setAttribute(e,"popover"==e&&1==n?"":n))}}function E(_){return function(n){if(this.l){var t=this.l[n.type+_];if(null==n.u)n.u=i++;else if(n.u<t.t)return;return t(e.event?e.event(n):n)}}}function U(_,n,t,o,r,l,u,i,f,c){var s,a,p,m,k,b,w,H,P,S,N,C,E,U,T,D,M,W=n.type;if(void 0!==n.constructor)return null;128&t.__u&&(f=!!(32&t.__u),l=[i=n.__e=t.__e]),(s=e.__b)&&s(n);_:if("function"==typeof W)try{if(H=n.props,P="prototype"in W&&W.prototype.render,S=(s=W.contextType)&&o[s.__c],N=s?S?S.props.value:s.__:o,t.__c?w=(a=n.__c=t.__c).__=a.__E:(P?n.__c=a=new W(H,N):(n.__c=a=new g(H,N),a.constructor=W,a.render=L),S&&S.sub(a),a.props=H,a.state||(a.state={}),a.context=N,a.__n=o,p=a.__d=!0,a.__h=[],a._sb=[]),P&&null==a.__s&&(a.__s=a.state),P&&null!=W.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=d({},a.__s)),d(a.__s,W.getDerivedStateFromProps(H,a.__s))),m=a.props,k=a.state,a.__v=n,p)P&&null==W.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),P&&null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(P&&null==W.getDerivedStateFromProps&&H!==m&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(H,N),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(H,a.__s,N)||n.__v==t.__v)){for(n.__v!=t.__v&&(a.props=H,a.state=a.__s,a.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.some((function(_){_&&(_.__=n)})),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[],a.__h.length&&u.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(H,a.__s,N),P&&null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(m,k,b)}))}if(a.context=N,a.props=H,a.__P=_,a.__e=!1,E=e.__r,U=0,P){for(a.state=a.__s,a.__d=!1,E&&E(n),s=a.render(a.props,a.state,a.context),T=0;T<a._sb.length;T++)a.__h.push(a._sb[T]);a._sb=[]}else do{a.__d=!1,E&&E(n),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++U<25);a.state=a.__s,null!=a.getChildContext&&(o=d(d({},o),a.getChildContext())),P&&!p&&null!=a.getSnapshotBeforeUpdate&&(b=a.getSnapshotBeforeUpdate(m,k)),D=s,null!=s&&s.type===y&&null==s.key&&(D=F(s.props.children)),i=x(_,h(D)?D:[D],n,t,o,r,l,u,i,f,c),a.base=n.__e,n.__u&=-161,a.__h.length&&u.push(a),w&&(a.__E=a.__=null)}catch(_){if(n.__v=null,f||null!=l)if(_.then){for(n.__u|=f?160:128;i&&8==i.nodeType&&i.nextSibling;)i=i.nextSibling;l[l.indexOf(i)]=null,n.__e=i}else for(M=l.length;M--;)v(l[M]);else n.__e=t.__e,n.__k=t.__k;e.__e(_,n,t)}else null==l&&n.__v==t.__v?(n.__k=t.__k,n.__e=t.__e):i=n.__e=A(t.__e,n,t,o,r,l,u,f,c);return(s=e.diffed)&&s(n),128&n.__u?void 0:i}function T(_,n,t){for(var o=0;o<t.length;o++)D(t[o],t[++o],t[++o]);e.__c&&e.__c(n,_),_.some((function(n){try{_=n.__h,n.__h=[],_.some((function(_){_.call(n)}))}catch(_){e.__e(_,n.__v)}}))}function F(_){return"object"!=typeof _||null==_?_:h(_)?_.map(F):d({},_)}function A(n,t,o,r,l,u,i,f,c){var a,p,d,m,y,g,b,w=o.props,H=t.props,P=t.type;if("svg"==P?l="http://www.w3.org/2000/svg":"math"==P?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),null!=u)for(a=0;a<u.length;a++)if((y=u[a])&&"setAttribute"in y==!!P&&(P?y.localName==P:3==y.nodeType)){n=y,u[a]=null;break}if(null==n){if(null==P)return document.createTextNode(H);n=document.createElementNS(l,P,H.is&&H),f&&(e.__m&&e.__m(t,u),f=!1),u=null}if(null===P)w===H||f&&n.data===H||(n.data=H);else{if(u=u&&_.call(n.childNodes),w=o.props||s,!f&&null!=u)for(w={},a=0;a<n.attributes.length;a++)w[(y=n.attributes[a]).name]=y.value;for(a in w)if(y=w[a],"children"==a);else if("dangerouslySetInnerHTML"==a)d=y;else if(!(a in H)){if("value"==a&&"defaultValue"in H||"checked"==a&&"defaultChecked"in H)continue;C(n,a,null,y,l)}for(a in H)y=H[a],"children"==a?m=y:"dangerouslySetInnerHTML"==a?p=y:"value"==a?g=y:"checked"==a?b=y:f&&"function"!=typeof y||w[a]===y||C(n,a,y,w[a],l);if(p)f||d&&(p.__html===d.__html||p.__html===n.innerHTML)||(n.innerHTML=p.__html),t.__k=[];else if(d&&(n.innerHTML=""),x("template"===t.type?n.content:n,h(m)?m:[m],t,o,r,"foreignObject"==P?"http://www.w3.org/1999/xhtml":l,u,i,u?u[0]:o.__k&&k(o,0),f,c),null!=u)for(a=u.length;a--;)v(u[a]);f||(a="value","progress"==P&&null==g?n.removeAttribute("value"):void 0!==g&&(g!==n[a]||"progress"==P&&!g||"option"==P&&g!==w[a])&&C(n,a,g,w[a],l),a="checked",void 0!==b&&b!==n[a]&&C(n,a,b,w[a],l))}return n}function D(_,n,t){try{if("function"==typeof _){var o="function"==typeof _.__u;o&&_.__u(),o&&null==n||(_.__u=_(n))}else _.current=n}catch(_){e.__e(_,t)}}function M(_,n,t){var o,r;if(e.unmount&&e.unmount(_),(o=_.ref)&&(o.current&&o.current!==_.__e||D(o,null,n)),null!=(o=_.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(_){e.__e(_,n)}o.base=o.__P=null}if(o=_.__k)for(r=0;r<o.length;r++)o[r]&&M(o[r],n,t||"function"!=typeof _.type);t||v(_.__e),_.__c=_.__=_.__e=void 0}function L(_,e,n){return this.constructor(_,n)}function W(n,t,o){var r,l,u;t==document&&(t=document.documentElement),e.__&&e.__(n,t),r=!1?null:t.__k,l=[],u=[],U(t,n=t.__k=function(e,n,t){var o,r,l,u={};for(l in n)"key"==l?o=n[l]:"ref"==l?r=n[l]:u[l]=n[l];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return m(e,u,o,r,null)}(y,null,[n]),r||s,s,t.namespaceURI,r?null:t.firstChild?_.call(t.childNodes):null,l,r?r.__e:t.firstChild,false,u),T(l,n,u)}_=a.slice,e={__e:function(_,e,n,t){for(var o,r,l;e=e.__;)if((o=e.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),l=o.__d),l)return o.__E=o}catch(e){_=e}throw _}},n=0,g.prototype.setState=function(_,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof _&&(_=_(d({},n),this.props)),_&&d(n,_),null!=_&&this.__v&&(e&&this._sb.push(e),w(this))},g.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),w(this))},g.prototype.render=y,t=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(_,e){return _.__v.__b-e.__v.__b},H.__r=0,u=/(PointerCapture)$|Capture$/i,i=0,f=E(!1),c=E(!0);var I,R,$,q,B=0,O=[],j=e,z=j.__b,V=j.__r,G=j.diffed,J=j.__c,K=j.unmount,Q=j.__;function X(_,e){j.__h&&j.__h(R,_,B||e),B=0;var n=R.__H||(R.__H={__:[],__h:[]});return _>=n.__.length&&n.__.push({}),n.__[_]}function Y(_){return B=1,function(_,e){var n=X(I++,2);if(n.t=_,!n.__c&&(n.__=[r_(void 0,e),function(_){var e=n.__N?n.__N[0]:n.__[0],t=n.t(e,_);e!==t&&(n.__N=[t,n.__[1]],n.__c.setState({}))}],n.__c=R,!R.__f)){var t=function(_,e,t){if(!n.__c.__H)return!0;var r=n.__c.__H.__.filter((function(_){return!!_.__c}));if(r.every((function(_){return!_.__N})))return!o||o.call(this,_,e,t);var l=n.__c.props!==_;return r.forEach((function(_){if(_.__N){var e=_.__[0];_.__=_.__N,_.__N=void 0,e!==_.__[0]&&(l=!0)}})),o&&o.call(this,_,e,t)||l};R.__f=!0;var o=R.shouldComponentUpdate,r=R.componentWillUpdate;R.componentWillUpdate=function(_,e,n){if(this.__e){var l=o;o=void 0,t(_,e,n),o=l}r&&r.call(this,_,e,n)},R.shouldComponentUpdate=t}return n.__N||n.__}(r_,_)}function Z(_,e){var n=X(I++,4);!j.__s&&function(_,e){return!_||_.length!==e.length||e.some((function(e,n){return e!==_[n]}))}(n.__H,e)&&(n.__=_,n.u=e,R.__h.push(n))}function __(){for(var _;_=O.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(t_),_.__H.__h.forEach(o_),_.__H.__h=[]}catch(e){_.__H.__h=[],j.__e(e,_.__v)}}j.__b=function(_){R=null,z&&z(_)},j.__=function(_,e){_&&e.__k&&e.__k.__m&&(_.__m=e.__k.__m),Q&&Q(_,e)},j.__r=function(_){V&&V(_),I=0;var e=(R=_.__c).__H;e&&($===R?(e.__h=[],R.__h=[],e.__.forEach((function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0}))):(e.__h.forEach(t_),e.__h.forEach(o_),e.__h=[],I=0)),$=R},j.diffed=function(_){G&&G(_);var e=_.__c;e&&e.__H&&(e.__H.__h.length&&(1!==O.push(e)&&q===j.requestAnimationFrame||((q=j.requestAnimationFrame)||n_)(__)),e.__H.__.forEach((function(_){_.u&&(_.__H=_.u),_.u=void 0}))),$=R=null},j.__c=function(_,e){e.some((function(_){try{_.__h.forEach(t_),_.__h=_.__h.filter((function(_){return!_.__||o_(_)}))}catch(n){e.some((function(_){_.__h&&(_.__h=[])})),e=[],j.__e(n,_.__v)}})),J&&J(_,e)},j.unmount=function(_){K&&K(_);var e,n=_.__c;n&&n.__H&&(n.__H.__.forEach((function(_){try{t_(_)}catch(_){e=_}})),n.__H=void 0,e&&j.__e(e,n.__v))};var e_="function"==typeof requestAnimationFrame;function n_(_){var e,n=function(){clearTimeout(t),e_&&cancelAnimationFrame(e),setTimeout(_)},t=setTimeout(n,100);e_&&(e=requestAnimationFrame(n))}function t_(_){var e=R,n=_.__c;"function"==typeof n&&(_.__c=void 0,n()),R=e}function o_(_){var e=R;_.__c=_.__(),R=e}function r_(_,e){return"function"==typeof e?e(_):e}var l_=0;function u_(_,n,t,o,r,l){n||(n={});var u,i,f=n;if("ref"in f)for(i in f={},n)"ref"==i?u=n[i]:f[i]=n[i];var c={type:_,props:f,key:t,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--l_,__i:-1,__u:0,__source:r,__self:l};if("function"==typeof _&&(u=_.defaultProps))for(i in u)void 0===f[i]&&(f[i]=u[i]);return e.vnode&&e.vnode(c),c}export{W as E,Z as _,Y as d,y as k,u_ as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(_,e){"use strict";var n,t,o,r,l,u,i,c,f,s,p,a,h,d,v,m,y,g,k,b,w,H,x,S,P,E,N,C,U,T;function F(_,e){for(var n in e)_[n]=e[n];return _}function A(_){_&&_.parentNode&&_.parentNode.removeChild(_)}function D(_,e,n,r,l){var u={type:_,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==l?++o:l,__i:-1,__u:0};return null==l&&null!=t.vnode&&t.vnode(u),u}function M(_){return _.children}function L(_,e){this.props=_,this.context=e}function W(_,e){if(null==e)return _.__?W(_.__,_.__i+1):null;for(var n;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof _.type?W(_):null}function I(_){var e,n;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,e=0;e<_.__k.length;e++)if(null!=(n=_.__k[e])&&null!=n.__e){_.__e=_.__c.base=n.__e;break}return I(_)}}function R(_){(!_.__d&&(_.__d=!0)&&r.push(_)&&!$.__r++||l!==t.debounceRendering)&&((l=t.debounceRendering)||u)($)}function $(){for(var _,e,n,o,l,u,c,f=1;r.length;)r.length>f&&r.sort(i),_=r.shift(),f=r.length,_.__d&&(n=void 0,l=(o=(e=_).__v).__e,u=[],c=[],e.__P&&((n=F({},o)).__v=o.__v+1,t.vnode&&t.vnode(n),G(e.__P,n,o,e.__n,e.__P.namespaceURI,32&o.__u?[l]:null,u,null==l?W(o):l,!!(32&o.__u),c),n.__v=o.__v,n.__.__k[n.__i]=n,J(u,n,c),n.__e!=l&&I(n)));$.__r=0}function q(_,e,n,t,o,r,l,u,i,c,f){var s,p,d,m,y,g,k=t&&t.__k||h,b=e.length;for(i=function(_,e,n,t,o){var r,l,u,i,c,f=n.length,s=f,p=0;for(_.__k=new Array(o),r=0;r<o;r++)null!=(l=e[r])&&"boolean"!=typeof l&&"function"!=typeof l?(i=r+p,(l=_.__k[r]="string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?D(null,l,null,null,null):v(l)?D(M,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?D(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=_,l.__b=_.__b+1,u=null,-1!==(c=l.__i=O(l,n,i,s))&&(s--,(u=n[c])&&(u.__u|=2)),null==u||null===u.__v?(-1==c&&(o>f?p--:o<f&&p++),"function"!=typeof l.type&&(l.__u|=4)):c!=i&&(c==i-1?p--:c==i+1?p++:(c>i?p--:p++,l.__u|=4))):_.__k[r]=null;if(s)for(r=0;r<f;r++)null!=(u=n[r])&&!(2&u.__u)&&(u.__e==t&&(t=W(u)),Y(u,u));return t}(n,e,k,i,b),s=0;s<b;s++)null!=(d=n.__k[s])&&(p=-1===d.__i?a:k[d.__i]||a,d.__i=s,g=G(_,d,p,o,r,l,u,i,c,f),m=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&X(p.ref,null,d),f.push(d.ref,d.__c||m,d)),null==y&&null!=m&&(y=m),4&d.__u||p.__k===d.__k?i=B(d,i,_):"function"==typeof d.type&&void 0!==g?i=g:m&&(i=m.nextSibling),d.__u&=-7);return n.__e=y,i}function B(_,e,n){var t,o;if("function"==typeof _.type){for(t=_.__k,o=0;t&&o<t.length;o++)t[o]&&(t[o].__=_,e=B(t[o],e,n));return e}_.__e!=e&&(e&&_.type&&!n.contains(e)&&(e=W(_)),n.insertBefore(_.__e,e||null),e=_.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function O(_,e,n,t){var o,r,l=_.key,u=_.type,i=e[n];if(null===i&&null==_.key||i&&l==i.key&&u===i.type&&!(2&i.__u))return n;if(t>(null==i||2&i.__u?0:1))for(o=n-1,r=n+1;o>=0||r<e.length;){if(o>=0){if((i=e[o])&&!(2&i.__u)&&l==i.key&&u===i.type)return o;o--}if(r<e.length){if((i=e[r])&&!(2&i.__u)&&l==i.key&&u===i.type)return r;r++}}return-1}function j(_,e,n){"-"==e[0]?_.setProperty(e,null==n?"":n):_[e]=null==n?"":"number"!=typeof n||d.test(e)?n:n+"px"}function z(_,e,n,t,o){var r;_:if("style"==e)if("string"==typeof n)_.style.cssText=n;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(e in t)n&&e in n||j(_.style,e,"");if(n)for(e in n)t&&n[e]===t[e]||j(_.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])r=e!=(e=e.replace(c,"$1")),e=e.toLowerCase()in _||"onFocusOut"==e||"onFocusIn"==e?e.toLowerCase().slice(2):e.slice(2),_.l||(_.l={}),_.l[e+r]=n,n?t?n.t=t.t:(n.t=f,_.addEventListener(e,r?p:s,r)):_.removeEventListener(e,r?p:s,r);else{if("http://www.w3.org/2000/svg"==o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in _)try{_[e]=null==n?"":n;break _}catch(_){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?_.removeAttribute(e):_.setAttribute(e,"popover"==e&&1==n?"":n))}}function V(_){return function(e){if(this.l){var n=this.l[e.type+_];if(null==e.u)e.u=f++;else if(e.u<n.t)return;return n(t.event?t.event(e):e)}}}function G(_,e,n,o,r,l,u,i,c,f){var s,p,a,h,d,m,y,g,k,b,w,H,x,S,P,E,N,C=e.type;if(void 0!==e.constructor)return null;128&n.__u&&(c=!!(32&n.__u),l=[i=e.__e=n.__e]),(s=t.__b)&&s(e);_:if("function"==typeof C)try{if(g=e.props,k="prototype"in C&&C.prototype.render,b=(s=C.contextType)&&o[s.__c],w=s?b?b.props.value:s.__:o,n.__c?y=(p=e.__c=n.__c).__=p.__E:(k?e.__c=p=new C(g,w):(e.__c=p=new L(g,w),p.constructor=C,p.render=Z),b&&b.sub(p),p.props=g,p.state||(p.state={}),p.context=w,p.__n=o,a=p.__d=!0,p.__h=[],p._sb=[]),k&&null==p.__s&&(p.__s=p.state),k&&null!=C.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=F({},p.__s)),F(p.__s,C.getDerivedStateFromProps(g,p.__s))),h=p.props,d=p.state,p.__v=e,a)k&&null==C.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),k&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(k&&null==C.getDerivedStateFromProps&&g!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,w),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,w)||e.__v==n.__v)){for(e.__v!=n.__v&&(p.props=g,p.state=p.__s,p.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some((function(_){_&&(_.__=e)})),H=0;H<p._sb.length;H++)p.__h.push(p._sb[H]);p._sb=[],p.__h.length&&u.push(p);break _}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,w),k&&null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(h,d,m)}))}if(p.context=w,p.props=g,p.__P=_,p.__e=!1,x=t.__r,S=0,k){for(p.state=p.__s,p.__d=!1,x&&x(e),s=p.render(p.props,p.state,p.context),P=0;P<p._sb.length;P++)p.__h.push(p._sb[P]);p._sb=[]}else do{p.__d=!1,x&&x(e),s=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++S<25);p.state=p.__s,null!=p.getChildContext&&(o=F(F({},o),p.getChildContext())),k&&!a&&null!=p.getSnapshotBeforeUpdate&&(m=p.getSnapshotBeforeUpdate(h,d)),E=s,null!=s&&s.type===M&&null==s.key&&(E=K(s.props.children)),i=q(_,v(E)?E:[E],e,n,o,r,l,u,i,c,f),p.base=e.__e,e.__u&=-161,p.__h.length&&u.push(p),y&&(p.__E=p.__=null)}catch(_){if(e.__v=null,c||null!=l)if(_.then){for(e.__u|=c?160:128;i&&8==i.nodeType&&i.nextSibling;)i=i.nextSibling;l[l.indexOf(i)]=null,e.__e=i}else for(N=l.length;N--;)A(l[N]);else e.__e=n.__e,e.__k=n.__k;t.__e(_,e,n)}else null==l&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):i=e.__e=Q(n.__e,e,n,o,r,l,u,c,f);return(s=t.diffed)&&s(e),128&e.__u?void 0:i}function J(_,e,n){for(var o=0;o<n.length;o++)X(n[o],n[++o],n[++o]);t.__c&&t.__c(e,_),_.some((function(e){try{_=e.__h,e.__h=[],_.some((function(_){_.call(e)}))}catch(_){t.__e(_,e.__v)}}))}function K(_){return"object"!=typeof _||null==_?_:v(_)?_.map(K):F({},_)}function Q(_,e,o,r,l,u,i,c,f){var s,p,h,d,m,y,g,k=o.props,b=e.props,w=e.type;if("svg"==w?l="http://www.w3.org/2000/svg":"math"==w?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),null!=u)for(s=0;s<u.length;s++)if((m=u[s])&&"setAttribute"in m==!!w&&(w?m.localName==w:3==m.nodeType)){_=m,u[s]=null;break}if(null==_){if(null==w)return document.createTextNode(b);_=document.createElementNS(l,w,b.is&&b),c&&(t.__m&&t.__m(e,u),c=!1),u=null}if(null===w)k===b||c&&_.data===b||(_.data=b);else{if(u=u&&n.call(_.childNodes),k=o.props||a,!c&&null!=u)for(k={},s=0;s<_.attributes.length;s++)k[(m=_.attributes[s]).name]=m.value;for(s in k)if(m=k[s],"children"==s);else if("dangerouslySetInnerHTML"==s)h=m;else if(!(s in b)){if("value"==s&&"defaultValue"in b||"checked"==s&&"defaultChecked"in b)continue;z(_,s,null,m,l)}for(s in b)m=b[s],"children"==s?d=m:"dangerouslySetInnerHTML"==s?p=m:"value"==s?y=m:"checked"==s?g=m:c&&"function"!=typeof m||k[s]===m||z(_,s,m,k[s],l);if(p)c||h&&(p.__html===h.__html||p.__html===_.innerHTML)||(_.innerHTML=p.__html),e.__k=[];else if(h&&(_.innerHTML=""),q("template"===e.type?_.content:_,v(d)?d:[d],e,o,r,"foreignObject"==w?"http://www.w3.org/1999/xhtml":l,u,i,u?u[0]:o.__k&&W(o,0),c,f),null!=u)for(s=u.length;s--;)A(u[s]);c||(s="value","progress"==w&&null==y?_.removeAttribute("value"):void 0!==y&&(y!==_[s]||"progress"==w&&!y||"option"==w&&y!==k[s])&&z(_,s,y,k[s],l),s="checked",void 0!==g&&g!==_[s]&&z(_,s,g,k[s],l))}return _}function X(_,e,n){try{if("function"==typeof _){var o="function"==typeof _.__u;o&&_.__u(),o&&null==e||(_.__u=_(e))}else _.current=e}catch(_){t.__e(_,n)}}function Y(_,e,n){var o,r;if(t.unmount&&t.unmount(_),(o=_.ref)&&(o.current&&o.current!==_.__e||X(o,null,e)),null!=(o=_.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(_){t.__e(_,e)}o.base=o.__P=null}if(o=_.__k)for(r=0;r<o.length;r++)o[r]&&Y(o[r],e,n||"function"!=typeof _.type);n||A(_.__e),_.__c=_.__=_.__e=void 0}function Z(_,e,n){return this.constructor(_,n)}function __(_,e){H.__h&&H.__h(y,_,b||e),b=0;var n=y.__H||(y.__H={__:[],__h:[]});return _>=n.__.length&&n.__.push({}),n.__[_]}function e_(){for(var _;_=w.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(t_),_.__H.__h.forEach(o_),_.__H.__h=[]}catch(e){_.__H.__h=[],H.__e(e,_.__v)}}function n_(_){var e,n=function(){clearTimeout(t),U&&cancelAnimationFrame(e),setTimeout(_)},t=setTimeout(n,100);U&&(e=requestAnimationFrame(n))}function t_(_){var e=y,n=_.__c;"function"==typeof n&&(_.__c=void 0,n()),y=e}function o_(_){var e=y;_.__c=_.__(),y=e}function r_(_,e){return"function"==typeof e?e(_):e}return _({E:function(_,e,o){var r,l,u;e==document&&(e=document.documentElement),t.__&&t.__(_,e),r=e.__k,l=[],u=[],G(e,_=e.__k=function(_,e,t){var o,r,l,u={};for(l in e)"key"==l?o=e[l]:"ref"==l?r=e[l]:u[l]=e[l];if(arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof _&&null!=_.defaultProps)for(l in _.defaultProps)void 0===u[l]&&(u[l]=_.defaultProps[l]);return D(_,u,o,r,null)}(M,null,[_]),r||a,a,e.namespaceURI,r?null:e.firstChild?n.call(e.childNodes):null,l,r?r.__e:e.firstChild,!1,u),J(l,_,u)},_:function(_,e){var n=__(m++,4);!H.__s&&function(_,e){return!_||_.length!==e.length||e.some((function(e,n){return e!==_[n]}))}(n.__H,e)&&(n.__=_,n.u=e,y.__h.push(n))},d:function(_){return b=1,function(_,e){var n=__(m++,2);if(n.t=_,!n.__c&&(n.__=[r_(void 0,e),function(_){var e=n.__N?n.__N[0]:n.__[0],t=n.t(e,_);e!==t&&(n.__N=[t,n.__[1]],n.__c.setState({}))}],n.__c=y,!y.__f)){var t=function(_,e,t){if(!n.__c.__H)return!0;var r=n.__c.__H.__.filter((function(_){return!!_.__c}));if(r.every((function(_){return!_.__N})))return!o||o.call(this,_,e,t);var l=n.__c.props!==_;return r.forEach((function(_){if(_.__N){var e=_.__[0];_.__=_.__N,_.__N=void 0,e!==_.__[0]&&(l=!0)}})),o&&o.call(this,_,e,t)||l};y.__f=!0;var o=y.shouldComponentUpdate,r=y.componentWillUpdate;y.componentWillUpdate=function(_,e,n){if(this.__e){var l=o;o=void 0,t(_,e,n),o=l}r&&r.call(this,_,e,n)},y.shouldComponentUpdate=t}return n.__N||n.__}(r_,_)},k:M,u:function(_,e,n,o,r,l){e||(e={});var u,i,c=e;if("ref"in c)for(i in c={},e)"ref"==i?u=e[i]:c[i]=e[i];var f={type:_,props:c,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--T,__i:-1,__u:0,__source:r,__self:l};if("function"==typeof _&&(u=_.defaultProps))for(i in u)void 0===c[i]&&(c[i]=u[i]);return t.vnode&&t.vnode(f),f}}),{setters:[],execute:function(){a={},h=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray,n=h.slice,t={__e:function(_,e,n,t){for(var o,r,l;e=e.__;)if((o=e.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),l=o.__d),l)return o.__E=o}catch(e){_=e}throw _}},o=0,L.prototype.setState=function(_,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=F({},this.state),"function"==typeof _&&(_=_(F({},n),this.props)),_&&F(n,_),null!=_&&this.__v&&(e&&this._sb.push(e),R(this))},L.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),R(this))},L.prototype.render=M,r=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,i=function(_,e){return _.__v.__b-e.__v.__b},$.__r=0,c=/(PointerCapture)$|Capture$/i,f=0,s=V(!1),p=V(!0),b=0,w=[],x=(H=t).__b,S=H.__r,P=H.diffed,E=H.__c,N=H.unmount,C=H.__,H.__b=function(_){y=null,x&&x(_)},H.__=function(_,e){_&&e.__k&&e.__k.__m&&(_.__m=e.__k.__m),C&&C(_,e)},H.__r=function(_){S&&S(_),m=0;var e=(y=_.__c).__H;e&&(g===y?(e.__h=[],y.__h=[],e.__.forEach((function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0}))):(e.__h.forEach(t_),e.__h.forEach(o_),e.__h=[],m=0)),g=y},H.diffed=function(_){P&&P(_);var e=_.__c;e&&e.__H&&(e.__H.__h.length&&(1!==w.push(e)&&k===H.requestAnimationFrame||((k=H.requestAnimationFrame)||n_)(e_)),e.__H.__.forEach((function(_){_.u&&(_.__H=_.u),_.u=void 0}))),g=y=null},H.__c=function(_,e){e.some((function(_){try{_.__h.forEach(t_),_.__h=_.__h.filter((function(_){return!_.__||o_(_)}))}catch(n){e.some((function(_){_.__h&&(_.__h=[])})),e=[],H.__e(n,_.__v)}})),E&&E(_,e)},H.unmount=function(_){N&&N(_);var e,n=_.__c;n&&n.__H&&(n.__H.__.forEach((function(_){try{t_(_)}catch(_){e=_}})),n.__H=void 0,e&&H.__e(e,n.__v))},U="function"==typeof requestAnimationFrame,T=0}}}));
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" original-position-stored="">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="/other/preact_logo.svg?v=7aea73c3" original-href-position="5:43;5:67">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<script jsenv-injected-by="jsenv:core" content-indented="">
|
|
8
|
-
;(function() {
|
|
9
|
-
var __versionMappings__ = {
|
|
10
|
-
"/vendors.js": "/vendors.js?v=4db8e934",
|
|
11
|
-
"/other/preact_logo.svg": "/other/preact_logo.svg?v=7aea73c3"
|
|
12
|
-
};
|
|
13
|
-
window.__v__ = function (specifier) {
|
|
14
|
-
return __versionMappings__[specifier] || specifier
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
</script>
|
|
18
|
-
<script inlined-from-src="file:///Users/dmail/Documents/dev/core/packages/related/cli/template-web-preact/src/index.html@s.js" jsenv-injected-by="jsenv:core" content-indented="">
|
|
19
|
-
!function(e,n){if("function"==typeof define&&define.amd)define([],n);else if("undefined"!=typeof exports)n();else{n(),e.s={}}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,(function(){"use strict";function e(e,n,t){return e&&e.then||(e=Promise.resolve(e)),n?e.then(n):e}function n(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];try{return Promise.resolve(e.apply(this,n))}catch(e){return Promise.reject(e)}}}function t(){}function r(e,n){return e&&e.then?e.then(t):Promise.resolve()}function o(e,n){var t=e();return t&&t.then?t.then(n):n(t)}function i(e,n){try{var t=e()}catch(e){return n(e)}return t&&t.then?t.then(void 0,n):t}function u(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,u,c=[],f=!0,l=!1;try{if(i=(t=t.call(e)).next,0===n);else for(;!(f=(r=i.call(t)).done)&&(c.push(r.value),c.length!==n);f=!0);}catch(e){l=!0,o=e}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(l)throw o}}return c}}(e,n)||function(e,n){if(e){if("string"==typeof e)return c(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?c(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}!function(){var t=Object.create(null),c=Object.create(null),l=0,s={},a="object"===("undefined"==typeof document?"undefined":f(document)),d=self,m=!a&&"function"==typeof d.WorkerGlobalScope&&d instanceof d.WorkerGlobalScope,p=m&&"function"==typeof self.skipWaiting;d.System=s;var h=d.location.href.split("#")[0].split("?")[0],v=h.lastIndexOf("/");-1!==v&&(h=h.slice(0,v+1));var y=function(e,n){return new URL(e,n).href};if(a){var P=document.querySelector("base[href]");P&&(h=P.href),s.register=function(e,n){if(!document.currentScript)throw new Error("unexpected call to System.register (document.currentScript is undefined)");if(document.currentScript.__s__)return c[document.currentScript.src]=[e,n],null;var t=document.currentScript.src||"".concat(window.location.href,"__inline_script__").concat(++l);return c[t]=[e,n],_(t)},s.instantiate=function(e){var n=g(e);return new Promise((function(t,r){var o,i,u=function(e){o=e.filename,i=e.error};window.addEventListener("error",u),n.addEventListener("error",(function(){window.removeEventListener("error",u),r("An error occured while loading url with <script> for ".concat(e))})),n.addEventListener("load",(function(){window.removeEventListener("error",u),document.head.removeChild(n),o===e?r(i):t()})),document.head.appendChild(n)}))};var g=function(e){var n=document.createElement("script");return n.async=!0,e.indexOf("".concat(self.location.origin,"/"))&&(n.crossOrigin="anonymous"),n.__s__=!0,n.src=e,n}}if(m){var b=[];if(p){var w=["message","install","activate","fetch"],S={},x=new Promise((function(e){b.push(e)}));w.forEach((function(e){var n=[];self.addEventListener(e,(function(e){var t=S[e.type];t?t(e):(n.push(e),e.waitUntil(x))})),b.push((function(){if(n.length){var e=S[n[0].type];e&&n.forEach((function(n){e(n)})),n.length=0}}))}));var E=self.addEventListener;self.addEventListener=function(e,n,t){return w.indexOf(e)>-1?(S[e]=n,null):E.call(self,e,n,t)}}else{["message"].forEach((function(e){var n=[],t=function(e){n.push(e)};self.addEventListener(e,t),b.push((function(){self.removeEventListener(e,t),n.forEach((function(e){self.dispatchEvent(e)})),n.length=0}))}))}s.register=n((function(n,t){s.register=function(){throw new Error("unexpected call to System.register (called outside url instantiation)")};var r=self.location.href;return c[r]=[n,t],e(_(r),(function(e){return b.forEach((function(e){e()})),b.length=0,e}))})),s.instantiate=n((function(n){return e(self.fetch(n,{credentials:"same-origin"}),(function(t){if(!t.ok)throw Error("Failed to fetch module at ".concat(n));return e(t.text(),(function(e){e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL=".concat(n));var t=s.register;s.register=function(e,t){c[n]=[e,t]},(0,self.eval)(e),s.register=t}))}))}))}var _=function(e,n){var t=y(e,n),r=L(t,n);return r.completionPromise?r.completionPromise===r.namespace?Promise.resolve(r.namespace):r.completionPromise:O(r,n)},L=function(f,l){var a=t[f];if(a)return a;var d=T(),m={url:f,deps:[],dependencyLoads:[],instantiatePromise:null,linkPromise:null,executePromise:null,completionPromise:null,importerSetters:[],setters:[],execute:null,error:null,hoistedExports:!1,namespace:d};return t[f]=m,m.instantiatePromise=n((function(){return i((function(){var e=c[f];return o((function(){if(!e){var n=s.instantiate(f,l);return o((function(){if(n)return r(n)}),(function(){e=c[f]}))}}),(function(){if(!e)throw new Error("System.register() not called after executing ".concat(f));var n=u(e,2),t=n[0],r=(0,n[1])((function(e,n){m.hoistedExports=!0;var t=!1;if("string"==typeof e){var r=e,o=n;r in d&&d[r]===o||(d[r]=o,t=!0)}else Object.keys(e).forEach((function(n){var r=e[n];n in d&&d[n]===r||(d[n]=r,t=!0)})),e&&e.__esModule&&(d.__esModule=e.__esModule);return t&&m.importerSetters.forEach((function(e){e&&e(d)})),n}),{import:function(e){return _(e,f)},meta:M(f)}),o=r.setters,i=r.execute,c=void 0===i?function(){}:i;m.deps=t,m.setters=o,m.execute=c}))}),(function(e){m.error=e,m.execute=null}))}))(),m.linkPromise=n((function(){return e(m.instantiatePromise,(function(){return e(Promise.all(m.deps.map(n((function(e,n){var t=m.setters[n],i=y(e,f),u=L(i,f);return o((function(){if(u.instantiatePromise)return r(u.instantiatePromise)}),(function(){return t&&(u.importerSetters.push(t),!u.hoistedExports&&u.instantiatePromise||t(u.namespace)),u}))})))),(function(e){m.dependencyLoads=e}))}))}))(),m},O=n((function(n,t){return n.completionPromise=e(j(n,n,{}),(function(){return e(k(n,t?[t]:[]),(function(){return n.namespace}))})),n.completionPromise})),j=n((function(e,n,t){if(!t[e.url])return t[e.url]=!0,i((function(){return o((function(){if(e.linkPromise)return r(e.linkPromise)}),(function(){return r(Promise.all(e.dependencyLoads.map((function(e){return j(e,n,t)}))))}))}),(function(n){if(e.error)throw n;throw e.execute=null,n}))})),k=function(e,t){if(!(t.indexOf(e.url)>-1)){if(!e.execute){if(e.error)throw e.error;return e.executePromise?e.executePromise:void 0}var i=e.execute;e.execute=null;var u=[];return e.dependencyLoads.forEach((function(n){try{var r=t.slice();r.push(e.url);var o=k(n,r);o&&u.push(o)}catch(n){throw e.error=n,n}})),n((function(){return o((function(){if(u.length)return r(Promise.all(u))}),(function(){try{var n=i.call(A);if(n)return void(e.executePromise=n.then((function(){e.executePromise=null,e.completionPromise=e.namespace}),(function(n){throw e.executePromise=null,e.error=n,n})));e.instantiatePromise=null,e.linkPromise=null,e.completionPromise=e.namespace}catch(n){throw e.error=n,n}finally{e.execute=null}}))}))()}},A=Object.freeze(Object.create(null)),M=function(e){return{url:e,resolve:function(n){return y(n,e)}}},T="undefined"!=typeof Symbol&&Symbol.toStringTag?function(){var e=Object.create(null);return Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}:function(){return Object.create(null)}}()}));
|
|
20
|
-
</script>
|
|
21
|
-
<style original-position="7:5;22:13" content-indented="" jsenv-cooked-by="jsenv:html_inline_content_analysis">body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}</style>
|
|
22
|
-
<title>Jsenv App</title>
|
|
23
|
-
</head>
|
|
24
|
-
<body>
|
|
25
|
-
<div id="root"></div>
|
|
26
|
-
<script src="/js/main.nomodule.js?v=a7f79f98" original-src-position="27:27;27:43"></script>
|
|
27
|
-
</body>
|
|
28
|
-
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e,u as t,k as n,_ as o,E as r}from"!~{005}~";const a=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),p=new CSSStyleSheet;p.replaceSync(a.text);const c=()=>{const[o,r]=e(0);return t(n,{children:[t("button",{id:"counter_button",type:"button",onClick:()=>r((e=>e+1)),children:"Click me"}),t("br",{}),"number of click: ",t("span",{id:"counter_output",children:o})]})},i=new URL("!~{007}~",import.meta.url);r(t((()=>(o((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,p],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==p))})),[]),t("div",{className:"app",children:t("header",{className:"app_header",children:[t("img",{src:i,className:"app_logo",alt:"logo"}),t("p",{children:"Hello jsenv + preact!"}),t("p",{children:t(c,{})}),t("p",{children:["Edit"," ",t("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),t("p",{children:t("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([__v__("/vendors.js")],(function(e,t){"use strict";var n,o,r,a,c,i,l,p,s;return{setters:[function(e){n=e.d,o=e.u,r=e.k,a=e._,c=e.E}],execute:function(){i=new __InlineContent__(".app{text-align:center}.app_logo{pointer-events:none;height:40vmin}@media (prefers-reduced-motion:no-preference){.app_logo{animation:20s linear infinite app_logo_spin}}.app_header{color:#fff;background-color:#282c34;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:calc(10px + 2vmin);display:flex}.app_link{color:#61dafb}@keyframes app_logo_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font-size:calc(10px + 2vmin)}",{type:"text/css"}),(l=new CSSStyleSheet).replaceSync(i.text),p=()=>{const[e,t]=n(0);return o(r,{children:[o("button",{id:"counter_button",type:"button",onClick:()=>t((e=>e+1)),children:"Click me"}),o("br",{}),"number of click: ",o("span",{id:"counter_output",children:e})]})},s=new URL(__v__("/other/preact_logo.svg"),t.meta.url),c(o((()=>(a((()=>(document.adoptedStyleSheets=[...document.adoptedStyleSheets,l],()=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==l))})),[]),o("div",{className:"app",children:o("header",{className:"app_header",children:[o("img",{src:s,className:"app_logo",alt:"logo"}),o("p",{children:"Hello jsenv + preact!"}),o("p",{children:o(p,{})}),o("p",{children:["Edit"," ",o("a",{className:"app_link",href:"javascript:window.fetch('/internal/open_file/app/app.jsx')",children:"app.jsx"})," ","and save to test HMR updates."]}),o("p",{children:o("a",{className:"app_link",href:"https://github.com/jsenv/core",target:"_blank",rel:"noopener noreferrer",children:"Jsenv documentation"})})]})}))),{}),document.querySelector("#root"))}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill="#673ab8" d="M16 2l12.12 7v14L16 30 3.88 23V9z"/>
|
|
3
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="10.72" ry="4.1" transform="rotate(-37.5 16.007 15.996)"/>
|
|
4
|
-
<ellipse fill="none" stroke="#fff" cx="16" cy="16" rx="4.1" ry="10.72" transform="rotate(-52.5 15.998 15.994)"/>
|
|
5
|
-
<circle fill="#fff" cx="16" cy="16" r="1.86"/>
|
|
6
|
-
</svg>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var n,l,t,u,i,r,o,e,f,c,s,a,h,p={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function w(n,l){for(var t in l)n[t]=l[t];return n}function g(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function _(l,t,u){var i,r,o,e={};for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:e[o]=t[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):u),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===e[o]&&(e[o]=l.defaultProps[o]);return m(l,e,i,r,null)}function m(n,u,i,r,o){var e={type:n,props:u,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++t:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(e),e}function b(){return{current:null}}function k(n){return n.children}function x(n,l){this.props=n,this.context=l}function S(n,l){if(null==l)return n.__?S(n.__,n.__i+1):null;for(var t;l<n.__k.length;l++)if(null!=(t=n.__k[l])&&null!=t.__e)return t.__e;return"function"==typeof n.type?S(n):null}function C(n){var l,t;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(t=n.__k[l])&&null!=t.__e){n.__e=n.__c.base=t.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!$.__r++||r!==l.debounceRendering)&&((r=l.debounceRendering)||o)($)}function $(){for(var n,t,u,r,o,f,c,s=1;i.length;)i.length>s&&i.sort(e),n=i.shift(),s=i.length,n.__d&&(u=void 0,o=(r=(t=n).__v).__e,f=[],c=[],t.__P&&((u=w({},r)).__v=r.__v+1,l.vnode&&l.vnode(u),O(t.__P,u,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,f,null==o?S(r):o,!!(32&r.__u),c),u.__v=r.__v,u.__.__k[u.__i]=u,z(f,u,c),u.__e!=o&&C(u)));$.__r=0}function I(n,l,t,u,i,r,o,e,f,c,s){var a,h,y,d,w,g,_=u&&u.__k||v,m=l.length;for(f=P(t,l,_,f,m),a=0;a<m;a++)null!=(y=t.__k[a])&&(h=-1===y.__i?p:_[y.__i]||p,y.__i=a,g=O(n,y,h,i,r,o,e,f,c,s),d=y.__e,y.ref&&h.ref!=y.ref&&(h.ref&&q(h.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),4&y.__u||h.__k===y.__k?f=A(y,f,n):"function"==typeof y.type&&void 0!==g?f=g:d&&(f=d.nextSibling),y.__u&=-7);return t.__e=w,f}function P(n,l,t,u,i){var r,o,e,f,c,s=t.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?(f=r+h,(o=n.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m(null,o,null,null,null):d(o)?m(k,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?m(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,e=null,-1!==(c=o.__i=L(o,t,f,a))&&(a--,(e=t[c])&&(e.__u|=2)),null==e||null===e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=t[r])&&0==(2&e.__u)&&(e.__e==u&&(u=S(e)),B(e,e));return u}function A(n,l,t){var u,i;if("function"==typeof n.type){for(u=n.__k,i=0;u&&i<u.length;i++)u[i]&&(u[i].__=n,l=A(u[i],l,t));return l}n.__e!=l&&(l&&n.type&&!t.contains(l)&&(l=S(n)),t.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(d(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,t,u){var i,r,o=n.key,e=n.type,f=l[t];if(null===f&&null==n.key||f&&o==f.key&&e===f.type&&0==(2&f.__u))return t;if(u>(null!=f&&0==(2&f.__u)?1:0))for(i=t-1,r=t+1;i>=0||r<l.length;){if(i>=0){if((f=l[i])&&0==(2&f.__u)&&o==f.key&&e===f.type)return i;i--}if(r<l.length){if((f=l[r])&&0==(2&f.__u)&&o==f.key&&e===f.type)return r;r++}}return-1}function T(n,l,t){"-"==l[0]?n.setProperty(l,null==t?"":t):n[l]=null==t?"":"number"!=typeof t||y.test(l)?t:t+"px"}function j(n,l,t,u,i){var r;n:if("style"==l)if("string"==typeof t)n.style.cssText=t;else{if("string"==typeof u&&(n.style.cssText=u=""),u)for(l in u)t&&l in t||T(n.style,l,"");if(t)for(l in t)u&&t[l]===u[l]||T(n.style,l,t[l])}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f,"$1")),l=l.toLowerCase()in n||"onFocusOut"==l||"onFocusIn"==l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=t,t?u?t.t=u.t:(t.t=c,n.addEventListener(l,r?a:s,r)):n.removeEventListener(l,r?a:s,r);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==t?"":t;break n}catch(n){}"function"==typeof t||(null==t||!1===t&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==t?"":t))}}function F(n){return function(t){if(this.l){var u=this.l[t.type+n];if(null==t.u)t.u=c++;else if(t.u<u.t)return;return u(l.event?l.event(t):t)}}}function O(n,t,u,i,r,o,e,f,c,s){var a,h,p,v,y,_,m,b,S,C,M,$,P,A,H,L,T,j=t.type;if(void 0!==t.constructor)return null;128&u.__u&&(c=!!(32&u.__u),o=[f=t.__e=u.__e]),(a=l.__b)&&a(t);n:if("function"==typeof j)try{if(b=t.props,S="prototype"in j&&j.prototype.render,C=(a=j.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,u.__c?m=(h=t.__c=u.__c).__=h.__E:(S?t.__c=h=new j(b,M):(t.__c=h=new x(b,M),h.constructor=j,h.render=D),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),S&&null==h.__s&&(h.__s=h.state),S&&null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=w({},h.__s)),w(h.__s,j.getDerivedStateFromProps(b,h.__s))),v=h.props,y=h.state,h.__v=t,p)S&&null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),S&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(S&&null==j.getDerivedStateFromProps&&b!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||t.__v==u.__v)){for(t.__v!=u.__v&&(h.props=b,h.state=h.__s,h.__d=!1),t.__e=u.__e,t.__k=u.__k,t.__k.some(function(n){n&&(n.__=t)}),$=0;$<h._sb.length;$++)h.__h.push(h._sb[$]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),S&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,_)})}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,P=l.__r,A=0,S){for(h.state=h.__s,h.__d=!1,P&&P(t),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,P&&P(t),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=w(w({},i),h.getChildContext())),S&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(v,y)),L=a,null!=a&&a.type===k&&null==a.key&&(L=N(a.props.children)),f=I(n,d(L)?L:[L],t,u,i,r,o,e,f,c,s),h.base=t.__e,t.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null)}catch(n){if(t.__v=null,c||null!=o)if(n.then){for(t.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,t.__e=f}else for(T=o.length;T--;)g(o[T]);else t.__e=u.__e,t.__k=u.__k;l.__e(n,t,u)}else null==o&&t.__v==u.__v?(t.__k=u.__k,t.__e=u.__e):f=t.__e=V(u.__e,t,u,i,r,o,e,c,s);return(a=l.diffed)&&a(t),128&t.__u?void 0:f}function z(n,t,u){for(var i=0;i<u.length;i++)q(u[i],u[++i],u[++i]);l.__c&&l.__c(t,n),n.some(function(t){try{n=t.__h,t.__h=[],n.some(function(n){n.call(t)})}catch(n){l.__e(n,t.__v)}})}function N(n){return"object"!=typeof n||null==n?n:d(n)?n.map(N):w({},n)}function V(t,u,i,r,o,e,f,c,s){var a,h,v,y,w,_,m,b=i.props,k=u.props,x=u.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((w=e[a])&&"setAttribute"in w==!!x&&(x?w.localName==x:3==w.nodeType)){t=w,e[a]=null;break}if(null==t){if(null==x)return document.createTextNode(k);t=document.createElementNS(o,x,k.is&&k),c&&(l.__m&&l.__m(u,e),c=!1),e=null}if(null===x)b===k||c&&t.data===k||(t.data=k);else{if(e=e&&n.call(t.childNodes),b=i.props||p,!c&&null!=e)for(b={},a=0;a<t.attributes.length;a++)b[(w=t.attributes[a]).name]=w.value;for(a in b)if(w=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)v=w;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;j(t,a,null,w,o)}for(a in k)w=k[a],"children"==a?y=w:"dangerouslySetInnerHTML"==a?h=w:"value"==a?_=w:"checked"==a?m=w:c&&"function"!=typeof w||b[a]===w||j(t,a,w,b[a],o);if(h)c||v&&(h.__html===v.__html||h.__html===t.innerHTML)||(t.innerHTML=h.__html),u.__k=[];else if(v&&(t.innerHTML=""),I("template"===u.type?t.content:t,d(y)?y:[y],u,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&S(i,0),c,s),null!=e)for(a=e.length;a--;)g(e[a]);c||(a="value","progress"==x&&null==_?t.removeAttribute("value"):void 0!==_&&(_!==t[a]||"progress"==x&&!_||"option"==x&&_!==b[a])&&j(t,a,_,b[a],o),a="checked",void 0!==m&&m!==t[a]&&j(t,a,m,b[a],o))}return t}function q(n,t,u){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==t||(n.__u=n(t))}else n.current=t}catch(n){l.__e(n,u)}}function B(n,t,u){var i,r;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||q(i,null,t)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,t)}i.base=i.__P=null}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&B(i[r],t,u||"function"!=typeof n.type);u||g(n.__e),n.__c=n.__=n.__e=void 0}function D(n,l,t){return this.constructor(n,t)}function E(t,u,i){var r,o,e,f;u==document&&(u=document.documentElement),l.__&&l.__(t,u),o=(r="function"==typeof i)?null:i&&i.__k||u.__k,e=[],f=[],O(u,t=(!r&&i||u).__k=_(k,null,[t]),o||p,p,u.namespaceURI,!r&&i?[i]:o?null:u.firstChild?n.call(u.childNodes):null,e,!r&&i?i:o?o.__e:u.firstChild,r,f),z(e,t,f)}function G(n,l){E(n,l,G)}function J(l,t,u){var i,r,o,e,f=w({},l.props);for(o in l.type&&l.type.defaultProps&&(e=l.type.defaultProps),t)"key"==o?i=t[o]:"ref"==o?r=t[o]:f[o]=void 0===t[o]&&void 0!==e?e[o]:t[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):u),m(l.type,f,i||l.key,r||l.ref,null)}function K(n){function l(n){var t,u;return this.getChildContext||(t=new Set,(u={})[l.__c]=this,this.getChildContext=function(){return u},this.componentWillUnmount=function(){t=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&t.forEach(function(n){n.__e=!0,M(n)})},this.sub=function(n){t.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){t&&t.delete(n),l&&l.call(n)}}),n.children}return l.__c="__cC"+h++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l}n=v.slice,l={__e:function(n,l,t,u){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,u||{}),o=i.__d),o)return i.__E=i}catch(l){n=l}throw n}},t=0,u=function(n){return null!=n&&null==n.constructor},x.prototype.setState=function(n,l){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=w({},this.state),"function"==typeof n&&(n=n(w({},t),this.props)),n&&w(t,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},x.prototype.render=k,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e=function(n,l){return n.__v.__b-l.__v.__b},$.__r=0,f=/(PointerCapture)$|Capture$/i,c=0,s=F(!1),a=F(!0),h=0;export{x as Component,k as Fragment,J as cloneElement,K as createContext,_ as createElement,b as createRef,_ as h,G as hydrate,u as isValidElement,l as options,E as render,H as toChildArray};
|
|
2
|
-
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{options as n}from"file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";var t,r,u,i,o=0,f=[],c=n,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function p(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,h(D,n)}function h(n,u,i){var o=p(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.__f)){var f=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return!!n.__c});if(u.every(function(n){return!n.__N}))return!c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),c&&c.call(this,n,t,r)||i};r.__f=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u}e&&e.call(this,n,t,r)},r.shouldComponentUpdate=f}return o.__N||o.__}function y(n,u){var i=p(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i))}function _(n,u){var i=p(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i))}function A(n){return o=5,T(function(){return{current:n}},[])}function F(n,t,r){o=6,_(function(){if("function"==typeof n){var r=n(t());return function(){n(null),r&&"function"==typeof r&&r()}}if(n)return n.current=t(),function(){return n.current=null}},null==r?r:r.concat(n))}function T(n,r){var u=p(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x(n){var u=r.context[n.__c],i=p(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n)}function b(n){var u=p(t++,10),i=d();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function g(){var n=p(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[]}catch(t){n.__H.__h=[],c.__e(t,n.__v)}}c.__b=function(n){r=null,e&&e(n)},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t)},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),u=r=null},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return!n.__||B(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],c.__e(r,n.__v)}}),l&&l(n,t)},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n)}catch(n){t=n}}),r.__H=void 0,t&&c.__e(t,r.__v))};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);k&&(t=requestAnimationFrame(r))}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function B(n){var t=r;n.__c=n.__(),r=t}function C(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return"function"==typeof t?t(n):t}export{q as useCallback,x as useContext,P as useDebugValue,y as useEffect,b as useErrorBoundary,g as useId,F as useImperativeHandle,_ as useLayoutEffect,T as useMemo,h as useReducer,A as useRef,d as useState};
|
|
2
|
-
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{options as r,Fragment as e}from"file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";export{Fragment}from"file:///Users/dmail/Documents/dev/core/node_modules/preact/dist/preact.module.js";var t=/["&<]/;function n(r){if(0===r.length||!1===t.test(r))return r;for(var e=0,n=0,o="",f="";n<r.length;n++){switch(r.charCodeAt(n)){case 34:f=""";break;case 38:f="&";break;case 60:f="<";break;default:continue}n!==e&&(o+=r.slice(e,n)),o+=f,e=n+1}return n!==e&&(o+=r.slice(e,n)),o}var o=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=0,i=Array.isArray;function u(e,t,n,o,i,u){t||(t={});var a,c,p=t;if("ref"in p)for(c in p={},t)"ref"==c?a=t[c]:p[c]=t[c];var l={type:e,props:p,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--f,__i:-1,__u:0,__source:i,__self:u};if("function"==typeof e&&(a=e.defaultProps))for(c in a)void 0===p[c]&&(p[c]=a[c]);return r.vnode&&r.vnode(l),l}function a(r){var t=u(e,{tpl:r,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function l(e,t){if(r.attr){var f=r.attr(e,t);if("string"==typeof f)return f}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var i="";for(var u in t){var a=t[u];if(null!=a&&""!==a){var l="-"==u[0]?u:c[u]||(c[u]=u.replace(p,"-$&").toLowerCase()),s=";";"number"!=typeof a||l.startsWith("--")||o.test(l)||(s="px;"),i=i+l+":"+a+s}}return e+'="'+i+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+n(t)+'"'}function s(r){if(null==r||"boolean"==typeof r||"function"==typeof r)return null;if("object"==typeof r){if(void 0===r.constructor)return r;if(i(r)){for(var e=0;e<r.length;e++)r[e]=s(r[e]);return r}}return n(""+r)}export{u as jsx,l as jsxAttr,u as jsxDEV,s as jsxEscape,a as jsxTemplate,u as jsxs};
|
|
2
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-env browser,node */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* This file does not use export const InlineContent = function() {} on purpose:
|
|
5
|
-
* - An export would be renamed by rollup,
|
|
6
|
-
* making it harder to statically detect new InlineContent() calls
|
|
7
|
-
* - An export would be renamed by terser
|
|
8
|
-
* here again it becomes hard to detect new InlineContent() calls
|
|
9
|
-
* Instead it sets "__InlineContent__" on the global object and terser is configured by jsenv
|
|
10
|
-
* to preserve the __InlineContent__ global variable name
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
const globalObject = typeof self === "object" ? self : process;
|
|
14
|
-
globalObject.__InlineContent__ = function (content, { type = "text/plain" }) {
|
|
15
|
-
this.text = content;
|
|
16
|
-
this.type = type;
|
|
17
|
-
};
|