@rindo/core 1.8.12 → 2.5.2
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/LICENSE.md +27 -27
- package/bin/cli.ts +20 -0
- package/bin/rindo +51 -22
- package/cli/index.cjs +1263 -0
- package/cli/index.d.ts +15 -0
- package/cli/index.js +1237 -0
- package/cli/package.json +14 -0
- package/compiler/lib.d.ts +24 -0
- package/compiler/lib.dom.d.ts +20230 -0
- package/compiler/lib.dom.iterable.d.ts +351 -0
- package/compiler/lib.es2015.collection.d.ts +89 -0
- package/compiler/lib.es2015.core.d.ts +517 -0
- package/compiler/lib.es2015.d.ts +30 -0
- package/compiler/lib.es2015.generator.d.ts +79 -0
- package/compiler/lib.es2015.iterable.d.ts +505 -0
- package/compiler/lib.es2015.promise.d.ts +150 -0
- package/compiler/lib.es2015.proxy.d.ts +41 -0
- package/compiler/lib.es2015.reflect.d.ts +123 -0
- package/compiler/lib.es2015.symbol.d.ts +48 -0
- package/compiler/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/compiler/lib.es2016.array.include.d.ts +118 -0
- package/compiler/lib.es2016.d.ts +22 -0
- package/compiler/lib.es2016.full.d.ts +25 -0
- package/compiler/lib.es2017.d.ts +26 -0
- package/compiler/lib.es2017.full.d.ts +25 -0
- package/compiler/lib.es2017.intl.d.ts +32 -0
- package/compiler/lib.es2017.object.d.ts +51 -0
- package/compiler/lib.es2017.sharedmemory.d.ts +137 -0
- package/compiler/lib.es2017.string.d.ts +47 -0
- package/compiler/lib.es2017.typedarrays.d.ts +55 -0
- package/compiler/lib.es2018.asyncgenerator.d.ts +79 -0
- package/compiler/lib.es2018.asynciterable.d.ts +45 -0
- package/compiler/lib.es2018.d.ts +26 -0
- package/compiler/lib.es2018.full.d.ts +25 -0
- package/compiler/lib.es2018.intl.d.ts +61 -0
- package/compiler/lib.es2018.promise.d.ts +32 -0
- package/compiler/lib.es2018.regexp.d.ts +39 -0
- package/compiler/lib.es2019.array.d.ts +85 -0
- package/compiler/lib.es2019.d.ts +25 -0
- package/compiler/lib.es2019.full.d.ts +25 -0
- package/compiler/lib.es2019.object.d.ts +35 -0
- package/compiler/lib.es2019.string.d.ts +33 -0
- package/compiler/lib.es2019.symbol.d.ts +26 -0
- package/compiler/lib.es2020.bigint.d.ts +728 -0
- package/compiler/lib.es2020.d.ts +27 -0
- package/compiler/lib.es2020.full.d.ts +25 -0
- package/compiler/lib.es2020.intl.d.ts +310 -0
- package/compiler/lib.es2020.promise.d.ts +50 -0
- package/compiler/lib.es2020.sharedmemory.d.ts +99 -0
- package/compiler/lib.es2020.string.d.ts +30 -0
- package/compiler/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/compiler/lib.es5.d.ts +4435 -0
- package/compiler/lib.es6.d.ts +25 -0
- package/compiler/lib.esnext.d.ts +25 -0
- package/compiler/lib.esnext.full.d.ts +25 -0
- package/compiler/lib.esnext.intl.d.ts +32 -0
- package/compiler/lib.esnext.promise.d.ts +43 -0
- package/compiler/lib.esnext.string.d.ts +35 -0
- package/compiler/lib.esnext.weakref.d.ts +75 -0
- package/compiler/lib.scripthost.d.ts +327 -0
- package/compiler/lib.webworker.d.ts +6042 -0
- package/compiler/lib.webworker.importscripts.d.ts +26 -0
- package/compiler/lib.webworker.iterable.d.ts +166 -0
- package/compiler/package.json +8 -6
- package/compiler/rindo.d.ts +95 -0
- package/compiler/rindo.js +65051 -6657
- package/compiler/rindo.min.js +4 -0
- package/dependencies.json +103 -0
- package/dev-server/client/app-error.d.ts +18 -0
- package/dev-server/client/events.d.ts +6 -0
- package/dev-server/client/hmr-components.d.ts +1 -0
- package/dev-server/client/hmr-external-styles.d.ts +1 -0
- package/dev-server/client/hmr-images.d.ts +1 -0
- package/dev-server/client/hmr-inline-styles.d.ts +1 -0
- package/dev-server/client/hmr-util.d.ts +9 -0
- package/dev-server/client/hmr-window.d.ts +10 -0
- package/dev-server/client/index.d.ts +6 -0
- package/dev-server/client/index.js +808 -0
- package/dev-server/client/logger.d.ts +5 -0
- package/dev-server/client/package.json +8 -0
- package/dev-server/client/progress.d.ts +3 -0
- package/dev-server/client/status.d.ts +4 -0
- package/dev-server/connector.html +6 -0
- package/dev-server/index.d.ts +3 -0
- package/dev-server/index.js +264 -0
- package/dev-server/open-in-editor-api.js +1 -0
- package/dev-server/package.json +8 -0
- package/dev-server/server-process.js +1738 -0
- package/dev-server/server-worker-thread.js +39 -0
- package/{dist/dev-server → dev-server}/templates/directory-index.html +132 -132
- package/{dist/dev-server → dev-server}/templates/initial-load.html +160 -160
- package/dev-server/ws.js +1 -0
- package/internal/app-data/index.cjs +90 -0
- package/internal/app-data/index.d.ts +4 -0
- package/internal/{client/build-conditionals.mjs → app-data/index.js} +25 -21
- package/internal/app-data/package.json +15 -0
- package/internal/client/css-shim.js +4 -0
- package/internal/client/{dom.rindo-client.mjs → dom.js} +73 -137
- package/{dist/client/index.mjs → internal/client/index.js} +863 -789
- package/internal/client/package.json +8 -0
- package/internal/client/patch-browser.js +120 -0
- package/internal/client/patch-esm.js +23 -0
- package/internal/client/polyfills/core-js.js +11 -10
- package/internal/client/polyfills/css-shim.js +1 -656
- package/internal/client/polyfills/dom.js +79 -146
- package/internal/client/polyfills/es5-html-element.js +1 -18
- package/internal/client/polyfills/index.js +34 -35
- package/internal/client/{shadow-css.rindo-client.mjs → shadow-css.js} +20 -17
- package/internal/hydrate/index.js +1097 -0
- package/internal/hydrate/package.json +7 -0
- package/internal/hydrate/runner.d.ts +217 -0
- package/internal/hydrate/runner.js +777 -0
- package/internal/hydrate/shadow-css.js +146 -0
- package/internal/index.d.ts +4 -18
- package/internal/index.js +1 -1
- package/internal/package.json +9 -6
- package/internal/rindo-core/index.cjs +1 -0
- package/internal/rindo-core/index.d.ts +51 -0
- package/internal/rindo-core/index.js +15 -0
- package/internal/rindo-ext-modules.d.ts +41 -0
- package/internal/rindo-private.d.ts +2128 -0
- package/internal/rindo-public-compiler.d.ts +2170 -0
- package/{dist/declarations/docs.d.ts → internal/rindo-public-docs.d.ts} +13 -1
- package/internal/rindo-public-runtime.d.ts +1555 -0
- package/internal/testing/index.js +1055 -0
- package/internal/testing/package.json +7 -0
- package/internal/testing/shadow-css.js +146 -0
- package/mock-doc/index.cjs +4610 -0
- package/mock-doc/index.d.ts +916 -0
- package/mock-doc/index.js +4574 -2
- package/mock-doc/package.json +15 -10
- package/package.json +132 -186
- package/readme.md +21 -174
- package/screenshot/compare/build/app.css +1 -1
- package/screenshot/compare/build/app.esm.js +1 -1
- package/screenshot/compare/build/app.js +33 -818
- package/screenshot/compare/build/{p-113f7459.js → p-081b0641.js} +1 -1
- package/screenshot/compare/build/p-227a1e18.entry.js +1 -0
- package/screenshot/compare/build/p-2c298727.entry.js +1 -0
- package/screenshot/compare/build/p-5479268c.entry.js +1 -0
- package/screenshot/compare/build/p-573ec8a4.entry.js +1 -0
- package/screenshot/compare/build/p-6ba08604.entry.js +1 -0
- package/screenshot/compare/build/p-6bc63295.entry.js +1 -0
- package/screenshot/compare/build/p-7a3759fd.entry.js +1 -0
- package/screenshot/compare/build/{p-ejpsp3kx.js → p-7b4e3ba7.js} +1 -1
- package/screenshot/compare/build/p-988eb362.css +1 -0
- package/screenshot/compare/build/p-9b6a9315.js +1 -0
- package/screenshot/compare/build/p-b4cc611c.entry.js +1 -0
- package/screenshot/compare/build/p-d1bf53f5.entry.js +1 -0
- package/screenshot/compare/build/{p-efb0eac6.js → p-e2efe0df.js} +1 -1
- package/screenshot/compare/build/p-e8ca6d97.entry.js +1 -0
- package/screenshot/compare/build/p-ec2f13e0.entry.js +1 -0
- package/screenshot/compare/build/p-f0b99977.entry.js +1 -0
- package/screenshot/compare/build/p-f4745c2f.entry.js +1 -0
- package/screenshot/compare/build/p-fbbae598.js +1 -0
- package/screenshot/compare/host.config.json +14 -14
- package/screenshot/compare/index.html +1 -1
- package/{dist/screenshot → screenshot}/connector-base.d.ts +1 -1
- package/{dist/screenshot → screenshot}/connector-local.d.ts +1 -1
- package/screenshot/connector.js +2 -3
- package/{dist/screenshot → screenshot}/index.d.ts +1 -1
- package/screenshot/index.js +659 -2
- package/screenshot/local-connector.js +2 -3
- package/screenshot/package.json +15 -13
- package/screenshot/pixel-match.js +62 -49
- package/screenshot/screenshot-compare.d.ts +3 -0
- package/{dist/screenshot → screenshot}/screenshot-fs.d.ts +1 -1
- package/sys/deno/index.js +1785 -0
- package/sys/deno/node-compat.js +2654 -0
- package/sys/deno/worker.js +44 -0
- package/sys/node/autoprefixer.js +8 -0
- package/sys/node/glob.js +1 -0
- package/sys/node/graceful-fs.js +1 -0
- package/sys/node/index.d.ts +18 -0
- package/sys/node/index.js +1386 -2
- package/sys/node/node-fetch.js +1 -0
- package/sys/node/package.json +8 -5
- package/sys/node/prompts.js +1 -0
- package/sys/node/worker.js +52 -0
- package/{dist/testing → testing}/index.d.ts +5 -6
- package/testing/index.js +4017 -2
- package/testing/jest/jest-config.d.ts +5 -0
- package/{dist/testing → testing}/jest/jest-environment.d.ts +4 -2
- package/{dist/testing → testing}/jest/jest-preprocessor.d.ts +1 -0
- package/{dist/testing → testing}/jest/jest-runner.d.ts +1 -1
- package/{dist/testing → testing}/jest/jest-screenshot.d.ts +1 -1
- package/{dist/testing → testing}/jest/jest-serializer.d.ts +1 -1
- package/testing/jest-environment.js +3 -3
- package/testing/jest-preprocessor.js +3 -3
- package/testing/jest-preset.js +32 -40
- package/testing/jest-runner.js +3 -3
- package/testing/jest-setuptestframework.js +3 -3
- package/{dist/testing → testing}/matchers/events.d.ts +9 -1
- package/{dist/testing → testing}/matchers/index.d.ts +3 -1
- package/{dist/testing → testing}/matchers/screenshot.d.ts +1 -1
- package/testing/mock-fetch.d.ts +11 -0
- package/testing/mocks.d.ts +14 -0
- package/testing/package.json +8 -6
- package/testing/puppeteer/index.d.ts +2 -0
- package/{dist/testing → testing}/puppeteer/puppeteer-browser.d.ts +3 -3
- package/{dist/testing → testing}/puppeteer/puppeteer-declarations.d.ts +18 -18
- package/{dist/testing → testing}/puppeteer/puppeteer-element.d.ts +7 -5
- package/testing/puppeteer/puppeteer-emulate.d.ts +2 -0
- package/{dist/testing → testing}/puppeteer/puppeteer-events.d.ts +9 -9
- package/testing/puppeteer/puppeteer-page.d.ts +2 -0
- package/testing/puppeteer/puppeteer-screenshot.d.ts +4 -0
- package/testing/reset-build-conditionals.d.ts +2 -0
- package/testing/spec-page.d.ts +2 -0
- package/testing/test-transpile.d.ts +2 -0
- package/{dist/testing → testing}/testing-logger.d.ts +10 -8
- package/testing/testing-sys.d.ts +1 -0
- package/{dist/testing → testing}/testing-utils.d.ts +3 -2
- package/testing/testing.d.ts +2 -0
- package/build-conditionals/index.d.ts +0 -2
- package/build-conditionals/index.mjs +0 -66
- package/build-conditionals/package.json +0 -6
- package/compiler/index.js +0 -2
- package/dist/cli/index.js +0 -6068
- package/dist/client/css-shim-14a9812e.js +0 -656
- package/dist/client/css-shim-69821662.js +0 -658
- package/dist/client/declarations/rindo.core.d.ts +0 -1347
- package/dist/client/dom-68c8fe31.js +0 -139
- package/dist/client/dom-af01458a.js +0 -137
- package/dist/client/index.js +0 -2937
- package/dist/client/polyfills/core-js.js +0 -10
- package/dist/client/polyfills/css-shim.js +0 -656
- package/dist/client/polyfills/dom.js +0 -146
- package/dist/client/polyfills/es5-html-element.js +0 -18
- package/dist/client/polyfills/index.js +0 -35
- package/dist/client/polyfills/promise.js +0 -9
- package/dist/client/polyfills/system.js +0 -6
- package/dist/client/shadow-css-6ef31c68.js +0 -386
- package/dist/client/shadow-css-8fd1a9e4.js +0 -388
- package/dist/compiler/app-core/app-es5-disabled.d.ts +0 -2
- package/dist/compiler/app-core/app-polyfills.d.ts +0 -3
- package/dist/compiler/app-core/build-conditionals.d.ts +0 -6
- package/dist/compiler/app-core/bundle-app-core.d.ts +0 -6
- package/dist/compiler/app-core/component-styles.d.ts +0 -4
- package/dist/compiler/app-core/format-component-runtime-meta.d.ts +0 -4
- package/dist/compiler/app-core/optimize-module.d.ts +0 -7
- package/dist/compiler/browser/build-conditionals-client.d.ts +0 -3
- package/dist/compiler/browser/compile-options.d.ts +0 -12
- package/dist/compiler/browser/compile.d.ts +0 -2
- package/dist/compiler/browser/create-compiler.d.ts +0 -14
- package/dist/compiler/browser/index.d.ts +0 -11
- package/dist/compiler/build/build-ctx.d.ts +0 -74
- package/dist/compiler/build/build-finish.d.ts +0 -3
- package/dist/compiler/build/build-hmr.d.ts +0 -2
- package/dist/compiler/build/build-results.d.ts +0 -2
- package/dist/compiler/build/build-stats.d.ts +0 -3
- package/dist/compiler/build/build.d.ts +0 -2
- package/dist/compiler/build/cache-stats.d.ts +0 -4
- package/dist/compiler/build/compiler-build-id.d.ts +0 -6
- package/dist/compiler/build/compiler-ctx.d.ts +0 -44
- package/dist/compiler/build/init-index-html.d.ts +0 -2
- package/dist/compiler/build/validate-files.d.ts +0 -2
- package/dist/compiler/build/write-build.d.ts +0 -2
- package/dist/compiler/cache.d.ts +0 -22
- package/dist/compiler/compiler.d.ts +0 -27
- package/dist/compiler/component-hydrate/bundle-hydrate-factory.d.ts +0 -3
- package/dist/compiler/component-hydrate/generate-hydrate-app.d.ts +0 -2
- package/dist/compiler/component-hydrate/hydrate-factory-closure.d.ts +0 -2
- package/dist/compiler/component-hydrate/update-to-hydrate-components.d.ts +0 -2
- package/dist/compiler/component-hydrate/write-hydrate-outputs.d.ts +0 -3
- package/dist/compiler/component-lazy/generate-cjs.d.ts +0 -3
- package/dist/compiler/component-lazy/generate-esm-browser.d.ts +0 -3
- package/dist/compiler/component-lazy/generate-esm.d.ts +0 -3
- package/dist/compiler/component-lazy/generate-lazy-app.d.ts +0 -3
- package/dist/compiler/component-lazy/generate-lazy-module.d.ts +0 -4
- package/dist/compiler/component-lazy/generate-system.d.ts +0 -3
- package/dist/compiler/component-lazy/update-to-lazy-component.d.ts +0 -2
- package/dist/compiler/component-lazy/write-lazy-entry-module.d.ts +0 -2
- package/dist/compiler/component-native/update-to-native-component.d.ts +0 -2
- package/dist/compiler/config/config-reload.d.ts +0 -3
- package/dist/compiler/config/config-utils.d.ts +0 -4
- package/dist/compiler/config/validate-config.d.ts +0 -4
- package/dist/compiler/config/validate-copy.d.ts +0 -2
- package/dist/compiler/config/validate-dev-server.d.ts +0 -2
- package/dist/compiler/config/validate-docs.d.ts +0 -2
- package/dist/compiler/config/validate-namespace.d.ts +0 -3
- package/dist/compiler/config/validate-output-stats.d.ts +0 -2
- package/dist/compiler/config/validate-outputs-angular.d.ts +0 -2
- package/dist/compiler/config/validate-outputs-custom.d.ts +0 -2
- package/dist/compiler/config/validate-outputs-dist-module.d.ts +0 -2
- package/dist/compiler/config/validate-outputs-dist.d.ts +0 -2
- package/dist/compiler/config/validate-outputs-hydrate-script.d.ts +0 -2
- package/dist/compiler/config/validate-outputs-www.d.ts +0 -2
- package/dist/compiler/config/validate-outputs.d.ts +0 -2
- package/dist/compiler/config/validate-paths.d.ts +0 -2
- package/dist/compiler/config/validate-plugins.d.ts +0 -2
- package/dist/compiler/config/validate-prerender.d.ts +0 -2
- package/dist/compiler/config/validate-rollup-config.d.ts +0 -2
- package/dist/compiler/config/validate-service-worker.d.ts +0 -2
- package/dist/compiler/config/validate-testing.d.ts +0 -2
- package/dist/compiler/config/validate-workers.d.ts +0 -2
- package/dist/compiler/copy/assets-copy-tasks.d.ts +0 -3
- package/dist/compiler/copy/hashed-copy.d.ts +0 -2
- package/dist/compiler/copy/local-copy-tasks.d.ts +0 -3
- package/dist/compiler/docs/constants.d.ts +0 -2
- package/dist/compiler/docs/custom/index.d.ts +0 -2
- package/dist/compiler/docs/docs.d.ts +0 -2
- package/dist/compiler/docs/generate-doc-data.d.ts +0 -3
- package/dist/compiler/docs/json/index.d.ts +0 -3
- package/dist/compiler/docs/readme/docs-util.d.ts +0 -13
- package/dist/compiler/docs/readme/index.d.ts +0 -3
- package/dist/compiler/docs/readme/markdown-css-props.d.ts +0 -2
- package/dist/compiler/docs/readme/markdown-dependencies.d.ts +0 -2
- package/dist/compiler/docs/readme/markdown-events.d.ts +0 -2
- package/dist/compiler/docs/readme/markdown-methods.d.ts +0 -2
- package/dist/compiler/docs/readme/markdown-props.d.ts +0 -2
- package/dist/compiler/docs/readme/markdown-slots.d.ts +0 -2
- package/dist/compiler/docs/readme/markdown-usage.d.ts +0 -6
- package/dist/compiler/docs/readme/output-docs.d.ts +0 -3
- package/dist/compiler/docs/style-docs.d.ts +0 -2
- package/dist/compiler/docs/vscode/index.d.ts +0 -2
- package/dist/compiler/entries/component-bundles.d.ts +0 -3
- package/dist/compiler/entries/component-graph.d.ts +0 -2
- package/dist/compiler/entries/default-bundles.d.ts +0 -3
- package/dist/compiler/entries/entry-modules.d.ts +0 -6
- package/dist/compiler/entries/resolve-component-dependencies.d.ts +0 -2
- package/dist/compiler/events.d.ts +0 -15
- package/dist/compiler/fs-watch/fs-watch-init.d.ts +0 -2
- package/dist/compiler/fs-watch/fs-watch-log.d.ts +0 -2
- package/dist/compiler/fs-watch/fs-watch-rebuild.d.ts +0 -7
- package/dist/compiler/html/inject-module-preloads.d.ts +0 -3
- package/dist/compiler/html/inject-sw-script.d.ts +0 -4
- package/dist/compiler/html/inline-esm-import.d.ts +0 -2
- package/dist/compiler/html/inline-style-sheets.d.ts +0 -2
- package/dist/compiler/html/update-global-styles-link.d.ts +0 -2
- package/dist/compiler/html/used-components.d.ts +0 -2
- package/dist/compiler/html/utils.d.ts +0 -2
- package/dist/compiler/html/validate-manifest-json.d.ts +0 -2
- package/dist/compiler/index.d.ts +0 -10
- package/dist/compiler/index.js +0 -18008
- package/dist/compiler/output-targets/empty-dir.d.ts +0 -6
- package/dist/compiler/output-targets/index.d.ts +0 -2
- package/dist/compiler/output-targets/output-angular.d.ts +0 -4
- package/dist/compiler/output-targets/output-app.d.ts +0 -4
- package/dist/compiler/output-targets/output-collection.d.ts +0 -3
- package/dist/compiler/output-targets/output-copy.d.ts +0 -2
- package/dist/compiler/output-targets/output-custom.d.ts +0 -2
- package/dist/compiler/output-targets/output-docs.d.ts +0 -2
- package/dist/compiler/output-targets/output-hydrate.d.ts +0 -2
- package/dist/compiler/output-targets/output-lazy-loader.d.ts +0 -2
- package/dist/compiler/output-targets/output-module.d.ts +0 -4
- package/dist/compiler/output-targets/output-prerender.d.ts +0 -2
- package/dist/compiler/output-targets/output-service-workers.d.ts +0 -2
- package/dist/compiler/output-targets/output-types.d.ts +0 -2
- package/dist/compiler/output-targets/output-utils.d.ts +0 -54
- package/dist/compiler/output-targets/output-www.d.ts +0 -2
- package/dist/compiler/plugin/plugin.d.ts +0 -6
- package/dist/compiler/prerender/crawl-urls.d.ts +0 -3
- package/dist/compiler/prerender/host-config.d.ts +0 -12
- package/dist/compiler/prerender/prerender-config.d.ts +0 -2
- package/dist/compiler/prerender/prerender-main.d.ts +0 -2
- package/dist/compiler/prerender/prerender-queue.d.ts +0 -3
- package/dist/compiler/prerender/prerender-template-html.d.ts +0 -2
- package/dist/compiler/prerender/prerendered-write-path.d.ts +0 -2
- package/dist/compiler/prerender/robots-txt.d.ts +0 -2
- package/dist/compiler/prerender/sitemap-xml.d.ts +0 -3
- package/dist/compiler/rollup-plugins/component-entry.d.ts +0 -3
- package/dist/compiler/rollup-plugins/css-transformer.d.ts +0 -3
- package/dist/compiler/rollup-plugins/global-scripts.d.ts +0 -4
- package/dist/compiler/rollup-plugins/image-plugin.d.ts +0 -3
- package/dist/compiler/rollup-plugins/in-memory-fs-read.d.ts +0 -3
- package/dist/compiler/rollup-plugins/loader.d.ts +0 -4
- package/dist/compiler/rollup-plugins/plugin-helper.d.ts +0 -5
- package/dist/compiler/rollup-plugins/rindo-build-conditionals.d.ts +0 -7
- package/dist/compiler/rollup-plugins/rindo-client.d.ts +0 -3
- package/dist/compiler/rollup-plugins/rindo-external-runtime.d.ts +0 -2
- package/dist/compiler/rollup-plugins/rindo-hydrate.d.ts +0 -3
- package/dist/compiler/rollup-plugins/rindo-public-plugin.d.ts +0 -2
- package/dist/compiler/service-worker/generate-sw.d.ts +0 -7
- package/dist/compiler/service-worker/service-worker-util.d.ts +0 -2
- package/dist/compiler/style/cached-styles.d.ts +0 -5
- package/dist/compiler/style/component-styles.d.ts +0 -2
- package/dist/compiler/style/css-imports.d.ts +0 -9
- package/dist/compiler/style/css-to-esm.d.ts +0 -5
- package/dist/compiler/style/generate-styles.d.ts +0 -2
- package/dist/compiler/style/global-styles.d.ts +0 -3
- package/dist/compiler/style/normalize-styles.d.ts +0 -2
- package/dist/compiler/style/optimize-css.d.ts +0 -2
- package/dist/compiler/style/scope-css.d.ts +0 -3
- package/dist/compiler/style/style-utils.d.ts +0 -10
- package/dist/compiler/transformers/add-component-meta-proxy.d.ts +0 -3
- package/dist/compiler/transformers/add-component-meta-static.d.ts +0 -4
- package/dist/compiler/transformers/add-imports.d.ts +0 -3
- package/dist/compiler/transformers/collections/add-external-import.d.ts +0 -2
- package/dist/compiler/transformers/collections/parse-collection-components.d.ts +0 -2
- package/dist/compiler/transformers/collections/parse-collection-deprecated.d.ts +0 -2
- package/dist/compiler/transformers/collections/parse-collection-manifest.d.ts +0 -7
- package/dist/compiler/transformers/collections/parse-collection-module.d.ts +0 -2
- package/dist/compiler/transformers/component-build-conditionals.d.ts +0 -2
- package/dist/compiler/transformers/component-hydrate/hydrate-component.d.ts +0 -3
- package/dist/compiler/transformers/component-hydrate/hydrate-runtime-cmp-meta.d.ts +0 -3
- package/dist/compiler/transformers/component-hydrate/tranform-to-hydrate-component.d.ts +0 -2
- package/dist/compiler/transformers/component-lazy/lazy-component.d.ts +0 -3
- package/dist/compiler/transformers/component-lazy/lazy-constructor.d.ts +0 -3
- package/dist/compiler/transformers/component-lazy/lazy-element-getter.d.ts +0 -3
- package/dist/compiler/transformers/component-lazy/transform-lazy-component.d.ts +0 -4
- package/dist/compiler/transformers/component-native/native-component.d.ts +0 -3
- package/dist/compiler/transformers/component-native/native-connected-callback.d.ts +0 -3
- package/dist/compiler/transformers/component-native/native-constructor.d.ts +0 -3
- package/dist/compiler/transformers/component-native/native-element-getter.d.ts +0 -3
- package/dist/compiler/transformers/component-native/native-static-style.d.ts +0 -3
- package/dist/compiler/transformers/component-native/tranform-to-native-component.d.ts +0 -4
- package/dist/compiler/transformers/core-runtime-apis.d.ts +0 -30
- package/dist/compiler/transformers/create-event.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/component-decorator.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/convert-decorators.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/decorator-utils.d.ts +0 -10
- package/dist/compiler/transformers/decorators-to-static/element-decorator.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/event-decorator.d.ts +0 -4
- package/dist/compiler/transformers/decorators-to-static/listen-decorator.d.ts +0 -6
- package/dist/compiler/transformers/decorators-to-static/method-decorator.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/prop-decorator.d.ts +0 -4
- package/dist/compiler/transformers/decorators-to-static/state-decorator.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/style-to-static.d.ts +0 -3
- package/dist/compiler/transformers/decorators-to-static/watch-decorator.d.ts +0 -3
- package/dist/compiler/transformers/define-custom-element.d.ts +0 -3
- package/dist/compiler/transformers/host-data-transform.d.ts +0 -3
- package/dist/compiler/transformers/legacy-props.d.ts +0 -3
- package/dist/compiler/transformers/remove-static-meta-properties.d.ts +0 -2
- package/dist/compiler/transformers/reserved-public-members.d.ts +0 -3
- package/dist/compiler/transformers/rindo-import-path.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/call-expression.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/class-methods.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/component.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/element-ref.d.ts +0 -2
- package/dist/compiler/transformers/static-to-meta/encapsulation.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/events.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/import.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/listeners.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/methods.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/props.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/states.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/string-literal.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/styles.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/vdom.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/visitor.d.ts +0 -3
- package/dist/compiler/transformers/static-to-meta/watchers.d.ts +0 -3
- package/dist/compiler/transformers/style-imports.d.ts +0 -3
- package/dist/compiler/transformers/transform-utils.d.ts +0 -31
- package/dist/compiler/transformers/update-component-class.d.ts +0 -3
- package/dist/compiler/transformers/update-rindo-core-import.d.ts +0 -3
- package/dist/compiler/transformers/watcher-meta-transform.d.ts +0 -3
- package/dist/compiler/transpile/compiler-options.d.ts +0 -4
- package/dist/compiler/transpile/transpile-app.d.ts +0 -2
- package/dist/compiler/transpile/transpile-module.d.ts +0 -5
- package/dist/compiler/transpile/transpile-service.d.ts +0 -3
- package/dist/compiler/transpile/transpile-to-es5-main.d.ts +0 -2
- package/dist/compiler/transpile/validate-types-main.d.ts +0 -2
- package/dist/compiler/types/generate-app-types.d.ts +0 -2
- package/dist/compiler/types/generate-component-types.d.ts +0 -8
- package/dist/compiler/types/generate-event-types.d.ts +0 -2
- package/dist/compiler/types/generate-method-types.d.ts +0 -2
- package/dist/compiler/types/generate-prop-types.d.ts +0 -2
- package/dist/compiler/types/generate-types.d.ts +0 -2
- package/dist/compiler/types/rindo-types.d.ts +0 -3
- package/dist/compiler/types/types-utils.d.ts +0 -4
- package/dist/compiler/types/update-import-refs.d.ts +0 -11
- package/dist/compiler/types/validate-package-json.d.ts +0 -9
- package/dist/declarations/assets.d.ts +0 -17
- package/dist/declarations/browser-compile.d.ts +0 -47
- package/dist/declarations/build-conditionals.d.ts +0 -91
- package/dist/declarations/build-events.d.ts +0 -19
- package/dist/declarations/build.d.ts +0 -247
- package/dist/declarations/cache.d.ts +0 -11
- package/dist/declarations/collection-manifest.d.ts +0 -106
- package/dist/declarations/collection.d.ts +0 -139
- package/dist/declarations/compiler.d.ts +0 -53
- package/dist/declarations/component-compiler-meta.d.ts +0 -198
- package/dist/declarations/component-constructor.d.ts +0 -61
- package/dist/declarations/component-interfaces.d.ts +0 -123
- package/dist/declarations/config.d.ts +0 -409
- package/dist/declarations/css-var-shim.d.ts +0 -9
- package/dist/declarations/decorators.d.ts +0 -150
- package/dist/declarations/dev-server.d.ts +0 -135
- package/dist/declarations/diagnostics.d.ts +0 -21
- package/dist/declarations/entry.d.ts +0 -28
- package/dist/declarations/events.d.ts +0 -13
- package/dist/declarations/file-system.d.ts +0 -91
- package/dist/declarations/fs-watch.d.ts +0 -15
- package/dist/declarations/host-element.d.ts +0 -53
- package/dist/declarations/hydrate.d.ts +0 -99
- package/dist/declarations/in-memory-fs.d.ts +0 -59
- package/dist/declarations/index.d.ts +0 -45
- package/dist/declarations/jsdoc.d.ts +0 -16
- package/dist/declarations/jsx.d.ts +0 -1050
- package/dist/declarations/logger.d.ts +0 -25
- package/dist/declarations/minify-js.d.ts +0 -11
- package/dist/declarations/module.d.ts +0 -35
- package/dist/declarations/optimize-css.d.ts +0 -12
- package/dist/declarations/output-targets.d.ts +0 -189
- package/dist/declarations/plugin.d.ts +0 -23
- package/dist/declarations/prerender.d.ts +0 -79
- package/dist/declarations/render.d.ts +0 -62
- package/dist/declarations/runtime.d.ts +0 -92
- package/dist/declarations/screenshots.d.ts +0 -192
- package/dist/declarations/server.d.ts +0 -19
- package/dist/declarations/style.d.ts +0 -35
- package/dist/declarations/system.d.ts +0 -174
- package/dist/declarations/testing.d.ts +0 -523
- package/dist/declarations/transpile.d.ts +0 -24
- package/dist/declarations/types.d.ts +0 -24
- package/dist/declarations/vdom.d.ts +0 -55
- package/dist/declarations/worker.d.ts +0 -33
- package/dist/dev-server/content-type-db.json +0 -1
- package/dist/dev-server/index.js +0 -887
- package/dist/dev-server/static/app-error.css +0 -257
- package/dist/dev-server/static/dev-server-client.html +0 -13
- package/dist/hydrate/index.d.ts +0 -101
- package/dist/hydrate/index.mjs +0 -1281
- package/dist/hydrate/platform.mjs +0 -347
- package/dist/index.d.ts +0 -99
- package/dist/index.js +0 -1
- package/dist/mock-doc/index.d.ts +0 -851
- package/dist/mock-doc/index.js +0 -3982
- package/dist/mock-doc/index.mjs +0 -3954
- package/dist/runtime/index.js +0 -2576
- package/dist/runtime/index.mjs +0 -2521
- package/dist/runtime/shadow-css-6ef31c68.js +0 -386
- package/dist/runtime/shadow-css-8fd1a9e4.js +0 -388
- package/dist/screenshot/index.js +0 -520
- package/dist/sys/node/graceful-fs.js +0 -975
- package/dist/sys/node/index.js +0 -33545
- package/dist/sys/node/node-fetch.js +0 -1779
- package/dist/sys/node/open-in-editor.js +0 -734
- package/dist/sys/node/sys-worker.js +0 -67035
- package/dist/sys/node/websocket.js +0 -3728
- package/dist/testing/build-conditionals.d.ts +0 -4
- package/dist/testing/build-conditionals.js +0 -43
- package/dist/testing/core.d.ts +0 -35
- package/dist/testing/core.js +0 -52
- package/dist/testing/index.js +0 -40511
- package/dist/testing/jest/jest-config.d.ts +0 -4
- package/dist/testing/mock-fetch.d.ts +0 -46
- package/dist/testing/mocks.d.ts +0 -12
- package/dist/testing/platform.d.ts +0 -23
- package/dist/testing/platform.js +0 -321
- package/dist/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
- package/dist/testing/puppeteer/puppeteer-find.d.ts +0 -5
- package/dist/testing/puppeteer/puppeteer-page.d.ts +0 -2
- package/dist/testing/puppeteer/puppeteer-screenshot.d.ts +0 -4
- package/dist/testing/spec-page.d.ts +0 -5
- package/dist/testing/task-queue.d.ts +0 -15
- package/dist/testing/test-transpile.d.ts +0 -5
- package/dist/testing/testing-fs.d.ts +0 -31
- package/dist/testing/testing-sys.d.ts +0 -19
- package/dist/testing/testing.d.ts +0 -12
- package/dist/utils/index.js +0 -1575
- package/dist/utils/index.mjs +0 -1511
- package/internal/client/css-shim.rindo-client.mjs +0 -656
- package/internal/client/index.mjs +0 -2859
- package/internal/client/polyfills/promise.js +0 -9
- package/internal/images.d.ts +0 -5
- package/runtime/package.json +0 -5
- package/screenshot/compare/build/p-020f8d73.js +0 -1
- package/screenshot/compare/build/p-09qdknbg.system.entry.js +0 -1
- package/screenshot/compare/build/p-0a13mpsc.system.entry.js +0 -1
- package/screenshot/compare/build/p-168ec2c4.system.js +0 -1
- package/screenshot/compare/build/p-2ab1fdf1.system.js +0 -1
- package/screenshot/compare/build/p-2pxcsgrj.entry.js +0 -1
- package/screenshot/compare/build/p-42fb7034.system.js +0 -1
- package/screenshot/compare/build/p-54d9d7c2.system.js +0 -1
- package/screenshot/compare/build/p-67c1f911.js +0 -1
- package/screenshot/compare/build/p-68613371.system.js +0 -1
- package/screenshot/compare/build/p-7dvsjpu0.entry.js +0 -1
- package/screenshot/compare/build/p-aa67fb06.js +0 -1
- package/screenshot/compare/build/p-aeb3cec1.system.js +0 -1
- package/screenshot/compare/build/p-b6e44a24.js +0 -1
- package/screenshot/compare/build/p-c1c25b8a.js +0 -1
- package/screenshot/compare/build/p-c9bopbjy.system.entry.js +0 -1
- package/screenshot/compare/build/p-c9iqz1pp.system.entry.js +0 -1
- package/screenshot/compare/build/p-dizjz8rg.entry.js +0 -1
- package/screenshot/compare/build/p-dnta0rwp.system.entry.js +0 -1
- package/screenshot/compare/build/p-e9670d22.system.js +0 -1
- package/screenshot/compare/build/p-ei9jkpd0.system.entry.js +0 -1
- package/screenshot/compare/build/p-ejwcppol.entry.js +0 -1
- package/screenshot/compare/build/p-f6612d5d.system.js +0 -1
- package/screenshot/compare/build/p-foiivsfc.css +0 -1
- package/screenshot/compare/build/p-gpjjyogx.entry.js +0 -1
- package/screenshot/compare/build/p-howklem2.system.entry.js +0 -1
- package/screenshot/compare/build/p-knv9wvoc.entry.js +0 -1
- package/screenshot/compare/build/p-nsqsfhhy.entry.js +0 -1
- package/screenshot/compare/build/p-ojt278pp.entry.js +0 -1
- package/screenshot/compare/build/p-oywass99.entry.js +0 -1
- package/screenshot/compare/build/p-q3ujhub6.entry.js +0 -1
- package/screenshot/compare/build/p-qw4xnmxv.entry.js +0 -1
- package/screenshot/compare/build/p-t1wvevhc.system.entry.js +0 -1
- package/screenshot/compare/build/p-tnjarrex.system.entry.js +0 -1
- package/screenshot/compare/build/p-vhfpd6kk.system.entry.js +0 -1
- package/screenshot/compare/build/p-vk6rhemd.system.entry.js +0 -1
- package/screenshot/compare/build/p-w6bnm16k.entry.js +0 -1
- package/screenshot/compare/build/p-xje6d7zl.system.entry.js +0 -1
- package/screenshot/compare/build/p-y5jlrcha.system.entry.js +0 -1
- package/screenshot/compare/build/p-yh170wkt.entry.js +0 -1
- package/testing/jest.preprocessor.js +0 -7
- /package/{dist/dev-server → dev-server}/static/favicon.ico +0 -0
- /package/{dist/sys/node → dev-server}/visualstudio.vbs +0 -0
- /package/{dist/sys/node → dev-server}/xdg-open +0 -0
- /package/{dist/compiler/polyfills.d.ts → screenshot/compare/build/index.esm.js} +0 -0
- /package/{dist/screenshot → screenshot}/pixel-match.d.ts +0 -0
- /package/{dist/testing → testing}/jest/jest-setup-test-framework.d.ts +0 -0
- /package/{dist/testing → testing}/matchers/attributes.d.ts +0 -0
- /package/{dist/testing → testing}/matchers/class-list.d.ts +0 -0
- /package/{dist/testing → testing}/matchers/html.d.ts +0 -0
- /package/{dist/testing → testing}/matchers/text.d.ts +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
es6-promise - a tiny implementation of Promises/A+.
|
|
3
|
-
Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
4
|
-
Licensed under MIT license
|
|
5
|
-
See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
6
|
-
https://cdn.jsdelivr.net/npm/es6-promise/dist/es6-promise.auto.min.js
|
|
7
|
-
v4.2.8
|
|
8
|
-
*/
|
|
9
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ES6Promise=e()}(this,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function e(t){return"function"==typeof t}function n(t){W=t}function r(t){z=t}function o(){return function(){return process.nextTick(a)}}function i(){return"undefined"!=typeof U?function(){U(a)}:c()}function s(){var t=0,e=new H(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){return t.port2.postMessage(0)}}function c(){var t=setTimeout;return function(){return t(a,1)}}function a(){for(var t=0;t<N;t+=2){var e=Q[t],n=Q[t+1];e(n),Q[t]=void 0,Q[t+1]=void 0}N=0}function f(){try{var t=Function("return this")().require("vertx");return U=t.runOnLoop||t.runOnContext,i()}catch(e){return c()}}function l(t,e){var n=this,r=new this.constructor(p);void 0===r[V]&&x(r);var o=n._state;if(o){var i=arguments[o-1];z(function(){return T(o,r,i,n._result)})}else j(n,r,t,e);return r}function h(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(p);return w(n,t),n}function p(){}function v(){return new TypeError("You cannot resolve a promise with itself")}function d(){return new TypeError("A promises callback cannot return that same promise.")}function _(t,e,n,r){try{t.call(e,n,r)}catch(o){return o}}function y(t,e,n){z(function(t){var r=!1,o=_(n,e,function(n){r||(r=!0,e!==n?w(t,n):A(t,n))},function(e){r||(r=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,S(t,o))},t)}function m(t,e){e._state===Z?A(t,e._result):e._state===$?S(t,e._result):j(e,void 0,function(e){return w(t,e)},function(e){return S(t,e)})}function b(t,n,r){n.constructor===t.constructor&&r===l&&n.constructor.resolve===h?m(t,n):void 0===r?A(t,n):e(r)?y(t,n,r):A(t,n)}function w(e,n){if(e===n)S(e,v());else if(t(n)){var r=void 0;try{r=n.then}catch(o){return void S(e,o)}b(e,n,r)}else A(e,n)}function g(t){t._onerror&&t._onerror(t._result),E(t)}function A(t,e){t._state===X&&(t._result=e,t._state=Z,0!==t._subscribers.length&&z(E,t))}function S(t,e){t._state===X&&(t._state=$,t._result=e,z(g,t))}function j(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+Z]=n,o[i+$]=r,0===i&&t._state&&z(E,t)}function E(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?T(n,r,o,i):o(i);t._subscribers.length=0}}function T(t,n,r,o){var i=e(r),s=void 0,u=void 0,c=!0;if(i){try{s=r(o)}catch(a){c=!1,u=a}if(n===s)return void S(n,d())}else s=o;n._state!==X||(i&&c?w(n,s):c===!1?S(n,u):t===Z?A(n,s):t===$&&S(n,s))}function M(t,e){try{e(function(e){w(t,e)},function(e){S(t,e)})}catch(n){S(t,n)}}function P(){return tt++}function x(t){t[V]=tt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function C(){return new Error("Array Methods must be provided an Array")}function O(t){return new et(this,t).promise}function k(t){var e=this;return new e(L(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function F(t){var e=this,n=new e(p);return S(n,t),n}function Y(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function q(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function D(){var t=void 0;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;if(n){var r=null;try{r=Object.prototype.toString.call(n.resolve())}catch(e){}if("[object Promise]"===r&&!n.cast)return}t.Promise=nt}var K=void 0;K=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var L=K,N=0,U=void 0,W=void 0,z=function(t,e){Q[N]=t,Q[N+1]=e,N+=2,2===N&&(W?W(a):R())},B="undefined"!=typeof window?window:void 0,G=B||{},H=G.MutationObserver||G.WebKitMutationObserver,I="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),J="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),R=void 0;R=I?o():H?s():J?u():void 0===B&&"function"==typeof require?f():c();var V=Math.random().toString(36).substring(2),X=void 0,Z=1,$=2,tt=0,et=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(p),this.promise[V]||x(this.promise),L(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?A(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&A(this.promise,this._result))):S(this.promise,C())}return t.prototype._enumerate=function(t){for(var e=0;this._state===X&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===h){var o=void 0,i=void 0,s=!1;try{o=t.then}catch(u){s=!0,i=u}if(o===l&&t._state!==X)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===nt){var c=new n(p);s?S(c,i):b(c,t,o),this._willSettleAt(c,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===X&&(this._remaining--,t===$?S(r,n):this._result[e]=n),0===this._remaining&&A(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;j(t,void 0,function(t){return n._settledAt(Z,e,t)},function(t){return n._settledAt($,e,t)})},t}(),nt=function(){function t(e){this[V]=P(),this._result=this._state=void 0,this._subscribers=[],p!==e&&("function"!=typeof e&&Y(),this instanceof t?M(this,e):q())}return t.prototype["catch"]=function(t){return this.then(null,t)},t.prototype["finally"]=function(t){var n=this,r=n.constructor;return e(t)?n.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})}):n.then(t,t)},t}();return nt.prototype.then=l,nt.all=O,nt.race=k,nt.resolve=h,nt.reject=F,nt._setScheduler=n,nt._setAsap=r,nt._asap=z,nt.polyfill=D,nt.Promise=nt,nt.polyfill(),nt});
|
package/internal/images.d.ts
DELETED
package/runtime/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t,n,i,e,o;(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);return n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n),!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var s=f.localName;if("link"===s&&"import"===f.getAttribute("rel")){if((r=f.import)instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}if("template"===s){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function s(t,n){t.b&&o(n,(function(n){return u(t,n)}))}function u(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function c(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):l(t,e)}}function a(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function h(t,n,i){var e=(i=void 0===i?{}:i).u||new Set,r=i.i||function(n){return l(t,n)},f=[];if(o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0),i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i),h(t,i,{u:o,i:r})}}))}else f.push(n)}),e),t.b)for(n=0;n<f.length;n++)u(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function l(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if((e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)&&(e=t.a.get(n.localName))){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}if(n.__CE_state=1,n.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}function d(t){var n=document;this.c=t,this.a=n,this.b=void 0,h(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function w(t){t.b&&t.b.disconnect()}function v(){var t=this;this.b=this.a=void 0,this.c=new Promise((function(n){t.b=n,t.a&&n(t.a)}))}function m(t){if(t.a)throw Error("Already resolved.");t.a=void 0,t.b&&t.b(void 0)}function b(t){this.c=!1,this.a=t,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new d(t)}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)},f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)},f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)},d.prototype.f=function(t){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||w(this),n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)h(this.c,i[e])},b.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback"),s=o("disconnectedCallback"),u=o("adoptedCallback"),c=o("attributeChangedCallback"),a=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}(function(t,n,i){t.a.set(n,i),t.g.set(i.constructorFunction,i)})(this.a,t,i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:s,adoptedCallback:u,attributeChangedCallback:c,observedAttributes:a,constructionStack:[]}),this.g.push(i),this.b||(this.b=!0,this.f((function(){return function(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);for(h(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}}),o=0;o<i.length;o++)l(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName,r=e.get(r.localName);for(var f=0;f<r.length;f++)l(t.a,r[f]);(o=t.j.get(o))&&m(o)}}}(e)})))},b.prototype.i=function(t){h(this.a,t)},b.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction},b.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);return i?i.c:(i=new v,this.j.set(t,i),this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&m(i),i.c)},b.prototype.s=function(t){w(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}},window.CustomElementRegistry=b,b.prototype.define=b.prototype.l,b.prototype.upgrade=b.prototype.i,b.prototype.get=b.prototype.get,b.prototype.whenDefined=b.prototype.m,b.prototype.polyfillWrapFlushCallback=b.prototype.s;var E=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,g=window.Document.prototype.importNode,y=window.Document.prototype.prepend,C=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,j=window.DocumentFragment.prototype.append,N=window.Node.prototype.cloneNode,A=window.Node.prototype.appendChild,D=window.Node.prototype.insertBefore,M=window.Node.prototype.removeChild,O=window.Node.prototype.replaceChild,S=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),k=window.Element.prototype.attachShadow,L=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,x=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,P=window.Element.prototype.setAttributeNS,R=window.Element.prototype.removeAttributeNS,$=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,B=window.Element.prototype.prepend,I=window.Element.prototype.append,U=window.Element.prototype.before,W=window.Element.prototype.after,q=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,J=window.HTMLElement,K=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Q=window.HTMLElement.prototype.insertAdjacentElement,V=window.HTMLElement.prototype.insertAdjacentHTML,X=new function(){};function Y(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],s=0;s<o.length;s++){var u=o[s];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&c(t,f)}}void 0!==e.h&&(n.prepend=o(e.h)),void 0!==e.append&&(n.append=o(e.append))}var Z,tt=window.customElements;if(!tt||tt.forcePolyfill||"function"!=typeof tt.define||"function"!=typeof tt.get){var nt=new f;Z=nt,window.HTMLElement=function(){function t(){var t=this.constructor,n=Z.g.get(t);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var i=n.constructionStack;if(0===i.length)return i=E.call(document,n.localName),Object.setPrototypeOf(i,t.prototype),i.__CE_state=1,i.__CE_definition=n,u(Z,i),i;var e=i[n=i.length-1];if(e===X)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return i[n]=X,Object.setPrototypeOf(e,t.prototype),u(Z,e),e}return t.prototype=J.prototype,Object.defineProperty(t.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),t}(),function(){var t=nt;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}return n=E.call(this,n),u(t,n),n})),r(Document.prototype,"importNode",(function(n,i){return n=g.call(this,n,!!i),this.__CE_hasRegistry?h(t,n):s(t,n),n})),r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}return n=p.call(this,n,i),u(t,n),n})),Y(t,Document.prototype,{h:y,append:C})}(),Y(nt,DocumentFragment.prototype,{h:T,append:j}),function(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var s=0;s<f;s++)o[s]=r[s]}}if(e.set.call(this,t),o)for(t=0;t<o.length;t++)a(n,o[t])}}})}var n=nt;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=D.call(this,t,e),i(this))for(e=0;e<o.length;e++)c(n,o[e]);return t}return o=i(t),e=D.call(this,t,e),o&&a(n,t),i(this)&&c(n,t),e})),r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);if(t=A.call(this,t),i(this))for(var o=0;o<e.length;o++)c(n,e[o]);return t}return e=i(t),o=A.call(this,t),e&&a(n,t),i(this)&&c(n,t),o})),r(Node.prototype,"cloneNode",(function(t){return t=N.call(this,!!t),this.ownerDocument.__CE_hasRegistry?h(n,t):s(n,t),t})),r(Node.prototype,"removeChild",(function(t){var e=i(t),o=M.call(this,t);return e&&a(n,t),o})),r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=O.call(this,t,e),i(this))for(a(n,e),e=0;e<o.length;e++)c(n,o[e]);return t}o=i(t);var r=O.call(this,t,e),f=i(this);return f&&a(n,e),o&&a(n,t),f&&c(n,t),r})),S&&S.get?t(Node.prototype,S):function(t,n){t.b=!0,t.c.push(n)}(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)M.call(this,this.firstChild);null!=t&&""!==t&&A.call(this,document.createTextNode(t))}})}))}(),function(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;if(i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)}))),n.set.call(this,t),r)for(var u=0;u<r.length;u++){var c=r[u];1===c.__CE_state&&f.disconnectedCallback(c)}return this.ownerDocument.__CE_hasRegistry?h(f,this):s(f,this),t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);return t=n.call(this,t,e),o&&a(f,e),i(t)&&c(f,e),t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)h(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}))}var f=nt;k&&r(Element.prototype,"attachShadow",(function(t){t=k.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t})),L&&L.get?t(Element.prototype,L):K&&K.get?t(HTMLElement.prototype,K):function(t,n){t.b=!0,t.f.push(n)}(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return N.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=p.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)M.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)A.call(i,t.childNodes[0])}})})),r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return H.call(this,t,n);var i=F.call(this,t);H.call(this,t,n),n=F.call(this,t),f.attributeChangedCallback(this,t,i,n,null)})),r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return P.call(this,t,n,i);var e=z.call(this,t,n);P.call(this,t,n,i),i=z.call(this,t,n),f.attributeChangedCallback(this,n,e,i,t)})),r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return x.call(this,t);var n=F.call(this,t);x.call(this,t),null!==n&&f.attributeChangedCallback(this,t,n,null,null)})),r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=z.call(this,t,n);R.call(this,t,n);var e=z.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)})),Q?n(HTMLElement.prototype,Q):$?n(Element.prototype,$):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),V?e(HTMLElement.prototype,V):_?e(Element.prototype,_):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Y(f,Element.prototype,{h:B,append:I}),function(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],s=0;s<o.length;s++){var u=o[s];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&c(t,f)}}var e=Element.prototype;void 0!==U&&(e.before=n(U)),void 0!==U&&(e.after=n(W)),void 0!==q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var s=e[f];if(s instanceof Element&&i(s)&&r.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(f=i(this),q.apply(this,e),e=0;e<r.length;e++)a(t,r[e]);if(f)for(a(t,this),e=0;e<o.length;e++)(r=o[e])instanceof Element&&c(t,r)})),void 0!==G&&r(e,"remove",(function(){var n=i(this);G.call(this),n&&a(t,this)}))}(f)}(),document.__CE_hasRegistry=!0;var it=new b(nt);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:it})}}).call(self),"string"!=typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t?t.href:document.URL}}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i},window.CustomEvent.prototype=window.Event.prototype),t=Event.prototype,n=document,i=window,t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;return this.path.push(n,i),this.path}),"function"!=typeof(e=window.Element.prototype).matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var n=0;t[n]&&t[n]!==this;)++n;return!!t[n]}),"function"!=typeof e.closest&&(e.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null}),function(t){function n(t){return t.parentNode?n(t.parentNode):t}"function"!=typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?function t(i){return 11===(i=n(i)).nodeType?t(i.host):i}(this):n(this)})}(Element.prototype),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),"classList"in(o=Element.prototype)||Object.defineProperty(o,"classList",{get:function(){var t=this,n=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function i(){n.length>0?t.setAttribute("class",n.join(" ")):t.removeAttribute("class")}return""===n[0]&&n.splice(0,1),n.toggle=function(t,e){void 0!==e?e?n.add(t):n.remove(t):-1!==n.indexOf(t)?n.splice(n.indexOf(t),1):n.push(t),i()},n.add=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1===n.indexOf(t[e])&&n.push(t[e]);i()},n.remove=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1!==n.indexOf(t[e])&&n.splice(n.indexOf(t[e]),1);i()},n.item=function(t){return n[t]},n.contains=function(t){return-1!==n.indexOf(t)},n.replace=function(t,e){-1!==n.indexOf(t)&&n.splice(n.indexOf(t),1,e),i()},n.value=t.getAttribute("class")||"",n}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-68613371.system.js","./p-168ec2c4.system.js","./p-aeb3cec1.system.js"],(function(t){"use strict";var i,e,s,r,n,a;return{setters:[function(t){i=t.r;e=t.h;s=t.g},function(t){r=t.m;n=t.q},function(t){a=t.A}],execute:function(){var c=function(t,i){if(t.charAt(0)=="/"&&i.charAt(i.length-1)=="/"){return i.slice(0,i.length-1)+t}return i+t};var o=t("rindo_route_link",function(){function t(t){i(this,t);this.unsubscribe=function(){return};this.activeClass="link-active";this.exact=false;this.strict=true;this.custom="a";this.match=null}t.prototype.componentWillLoad=function(){this.computeMatch()};t.prototype.computeMatch=function(){if(this.location){this.match=r(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})}};t.prototype.handleClick=function(t){if(n(t)||!this.history||!this.url||!this.root){return}t.preventDefault();return this.history.push(c(this.url,this.root))};t.prototype.render=function(){var t;var i={class:(t={},t[this.activeClass]=this.match!==null,t),onClick:this.handleClick.bind(this)};if(this.anchorClass){i.class[this.anchorClass]=true}if(this.custom==="a"){i=Object.assign({},i,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})}return e(this.custom,Object.assign({},i),e("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:true,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{location:["computeMatch"]}},enumerable:true,configurable:true});return t}());a.injectProps(o,["history","location","root"])}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,a,i){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function o(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?a(e.value):r(e.value).then(s,o)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;r=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];r=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-68613371.system.js","./p-54d9d7c2.system.js"],(function(e){"use strict";var t,a,i,r,n;return{setters:[function(e){t=e.r;a=e.d;i=e.h;r=e.g},function(e){n=e.s}],execute:function(){var s=l;var o={threshold:.1,includeAA:false,alpha:.1,aaColor:[255,255,0],diffColor:[255,0,0]};function l(e,t,a,i,r,n){if(!h(e)||!h(t)||a&&!h(a))throw new Error("Image data: Uint8Array, Uint8ClampedArray or Buffer expected.");if(e.length!==t.length||a&&a.length!==e.length)throw new Error("Image sizes do not match.");if(e.length!==i*r*4)throw new Error("Image data size does not match width/height.");n=Object.assign({},o,n);var s=i*r;var l=new Uint32Array(e.buffer,e.byteOffset,s);var f=new Uint32Array(t.buffer,t.byteOffset,s);var d=true;for(var m=0;m<s;m++){if(l[m]!==f[m]){d=false;break}}if(d){if(a){for(var m=0;m<s;m++)y(e,4*m,n.alpha,a)}return 0}var g=35215*n.threshold*n.threshold;var v=0;var w=n.aaColor,b=w[0],A=w[1],I=w[2];var C=n.diffColor,S=C[0],_=C[1],B=C[2];for(var E=0;E<r;E++){for(var x=0;x<i;x++){var L=(E*i+x)*4;var M=u(e,t,L,L);if(M>g){if(!n.includeAA&&(c(e,x,E,i,r,t)||c(t,x,E,i,r,e))){if(a)p(a,L,b,A,I)}else{if(a)p(a,L,S,_,B);v++}}else if(a){y(e,L,n.alpha,a)}}}return v}function h(e){return ArrayBuffer.isView(e)&&e.constructor.BYTES_PER_ELEMENT===1}function c(e,t,a,i,r,n){var s=Math.max(t-1,0);var o=Math.max(a-1,0);var l=Math.min(t+1,i-1);var h=Math.min(a+1,r-1);var c=(a*i+t)*4;var d=t===s||t===l||a===o||a===h?1:0;var m=0;var g=0;var v,p,y,w;for(var b=s;b<=l;b++){for(var A=o;A<=h;A++){if(b===t&&A===a)continue;var I=u(e,e,c,(A*i+b)*4,true);if(I===0){d++;if(d>2)return false}else if(I<m){m=I;v=b;p=A}else if(I>g){g=I;y=b;w=A}}}if(m===0||g===0)return false;return f(e,v,p,i,r)&&f(n,v,p,i,r)||f(e,y,w,i,r)&&f(n,y,w,i,r)}function f(e,t,a,i,r){var n=Math.max(t-1,0);var s=Math.max(a-1,0);var o=Math.min(t+1,i-1);var l=Math.min(a+1,r-1);var h=(a*i+t)*4;var c=t===n||t===o||a===s||a===l?1:0;for(var f=n;f<=o;f++){for(var u=s;u<=l;u++){if(f===t&&u===a)continue;var d=(u*i+f)*4;if(e[h]===e[d]&&e[h+1]===e[d+1]&&e[h+2]===e[d+2]&&e[h+3]===e[d+3])c++;if(c>2)return true}}return false}function u(e,t,a,i,r){var n=e[a+0];var s=e[a+1];var o=e[a+2];var l=e[a+3];var h=t[i+0];var c=t[i+1];var f=t[i+2];var u=t[i+3];if(l===u&&n===h&&s===c&&o===f)return 0;if(l<255){l/=255;n=v(n,l);s=v(s,l);o=v(o,l)}if(u<255){u/=255;h=v(h,u);c=v(c,u);f=v(f,u)}var p=d(n,s,o)-d(h,c,f);if(r)return p;var y=m(n,s,o)-m(h,c,f);var w=g(n,s,o)-g(h,c,f);return.5053*p*p+.299*y*y+.1957*w*w}function d(e,t,a){return e*.29889531+t*.58662247+a*.11448223}function m(e,t,a){return e*.59597799-t*.2741761-a*.32180189}function g(e,t,a){return e*.21147017-t*.52261711+a*.31114694}function v(e,t){return 255+(e-255)*t}function p(e,t,a,i,r){e[t+0]=a;e[t+1]=i;e[t+2]=r;e[t+3]=255}function y(e,t,a,i){var r=e[t+0];var n=e[t+1];var s=e[t+2];var o=v(d(r,n,s),a*e[t+3]/255);p(i,t,o,o,o)}function w(e,t,a,i,r,n){var o=-1;try{var l=document.createElement("canvas");l.width=i;l.height=r;var h=document.createElement("canvas");h.width=i;h.height=r;var c=l.getContext("2d");c.drawImage(e,0,0);var f=h.getContext("2d");f.drawImage(t,0,0);var u=document.createElement("canvas");var d=u.getContext("2d");d.drawImage(e,0,0);d.getImageData(0,0,i,r);var m=c.getImageData(0,0,i,r).data;var g=f.getImageData(0,0,i,r).data;var v=a.getContext("2d");var p=v.createImageData(i,l.height);o=s(m,g,p.data,i,r,{threshold:n});v.putImageData(p,0,0)}catch(e){console.error(e)}return o}function b(e,t,a){if(I.has(t)){a(I.get(t));return}if(A.has(t)){var i=A.get(t);i.push(a);return}A.set(t,[a]);var r=document.createElement("script");r.src=e+"screenshot_"+t+".js";document.head.appendChild(r)}window.loadScreenshot=function(e,t){var a=A.get(e);if(a){a.forEach((function(e){return e(t)}));A.delete(e)}I.set(e,t)};var A=new Map;var I=new Map;var C=e("compare_row",function(){function e(e){t(this,e);this.imageASrc=null;this.imageBSrc=null;this.imageAClass="is-loading";this.imageBClass="is-loading";this.canvasClass="is-loading";this.imagesLoaded=new Set;this.isImageALoaded=false;this.isImageBLoaded=false;this.isMismatchInitialized=false;this.hasCalculatedMismatch=false;this.compareLoaded=a(this,"compareLoaded",7)}e.prototype.componentWillLoad=function(){this.loadScreenshots()};e.prototype.componentWillUpdate=function(){this.loadScreenshots()};e.prototype.loadScreenshots=function(){var e=this;if(!this.show||!this.diff.hasIntersected){return}if(this.diff.identical){this.imageASrc=this.imagesUrl+this.diff.imageA;this.isImageALoaded=true;this.imageAClass="has-loaded";this.imageBSrc=this.imagesUrl+this.diff.imageB;this.isImageBLoaded=true;this.imageBClass="has-loaded";return}if(this.isMismatchInitialized){return}this.isMismatchInitialized=true;if(this.jsonpUrl!=null){if(this.diff.imageA!=null){b(this.jsonpUrl,this.diff.imageA,(function(t){e.imageASrc=t}))}if(this.diff.imageB!=null){b(this.jsonpUrl,this.diff.imageB,(function(t){e.imageBSrc=t}))}}else{this.imageASrc=this.imagesUrl+this.diff.imageA;this.imageBSrc=this.imagesUrl+this.diff.imageB}};e.prototype.compareImages=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.diff;if(!this.isImageALoaded||!this.isImageBLoaded||this.hasCalculatedMismatch||!e.comparable){return[2]}this.hasCalculatedMismatch=true;t=e;return[4,w(this.imageA,this.imageB,this.canvas,Math.round(e.width*e.deviceScaleFactor),Math.round(e.height*e.deviceScaleFactor),e.threshold)];case 1:t.mismatchedPixels=a.sent();this.canvasClass="has-loaded";n(e.imageA,e.imageB,e.mismatchedPixels,e.threshold);this.compareLoaded.emit(e);return[2]}}))}))};e.prototype.render=function(){var e=this;var t=this.diff;var a={width:t.width+"px",height:t.height+"px"};return[i("compare-cell",null,t.imageA!=null?i("a",{href:this.imagesUrl+t.imageA,target:"_blank"},i("img",{src:this.imageASrc,class:this.imageAClass,style:a,onLoad:this.diff.identical?null:function(){e.isImageALoaded=true;e.imageAClass="has-loaded";e.compareImages()},ref:function(t){return e.imageA=t}})):i("img",{style:a,class:"is-loading"})),i("compare-cell",null,t.imageB!=null?i("a",{href:this.imagesUrl+t.imageB,target:"_blank"},i("img",{src:this.imageBSrc,class:this.imageBClass,style:a,onLoad:this.diff.identical?null:function(){e.isImageBLoaded=true;e.imageBClass="has-loaded";e.compareImages()},ref:function(t){return e.imageB=t}})):i("img",{style:a,class:"is-loading"})),i("compare-cell",null,this.diff.identical?i("img",{style:a,src:this.imageASrc}):i("canvas",{width:Math.round(t.width*t.deviceScaleFactor),height:Math.round(t.height*t.deviceScaleFactor),class:this.canvasClass,style:a,hidden:!t.comparable,ref:function(t){return e.canvas=t}})),i("compare-cell",null,i("compare-analysis",{aId:this.aId,bId:this.bId,mismatchedPixels:this.diff.mismatchedPixels,diff:this.diff}))]};Object.defineProperty(e.prototype,"elm",{get:function(){return r(this)},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return"compare-row canvas,compare-row img{display:block;-webkit-box-shadow:var(--screenshot-box-shadow);box-shadow:var(--screenshot-box-shadow);border-radius:var(--screenshot-border-radius)}compare-row a{display:block}.is-loading{visibility:hidden}"},enumerable:true,configurable:true});return e}());var S=e("compare_thead",function(){function e(e){t(this,e)}e.prototype.render=function(){if(!this.a||!this.b||!this.diffs){return}var e=0;this.diffs.forEach((function(t){if(t.width>e){e=t.width}}));e=e-6;var t={width:e+"px"};return[i("th-cell",null,i("div",{style:t},i("a",{href:this.a.url,target:"_blank"},this.a.message))),i("th-cell",null,i("div",{style:t},i("a",{href:this.b.url,target:"_blank"},this.b.message))),i("th-cell",null,i("div",{style:t},i("a",{href:"https://github.com/navify/navify/compare/"+this.a.id+"..."+this.b.id,target:"_blank"},"Compare: ",this.a.id," - ",this.b.id))),i("th-cell",{class:"analysis"},i("div",null,"Analysis"))]};Object.defineProperty(e,"style",{get:function(){return":host{display:-ms-flexbox;display:flex}th-cell{display:block;-ms-flex:1;flex:1;font-weight:500;font-size:12px}th-cell div{padding-left:12px;padding-right:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}th-cell a{color:var(--font-color);text-decoration:none}th-cell a:hover{color:var(--analysis-data-color);text-decoration:underline}.analysis div{width:262px}"},enumerable:true,configurable:true});return e}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(r){"use strict";return{execute:function(){var e="/";var t="./";var n=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");var a=function(r,a){var u=[];var s=0;var v=0;var c="";var o=a&&a.delimiter||e;var l=a&&a.delimiters||t;var h=false;var p;while((p=n.exec(r))!==null){var d=p[0];var g=p[1];var m=p.index;c+=r.slice(v,m);v=m+d.length;if(g){c+=g[1];h=true;continue}var y="";var x=r[v];var A=p[2];var O=p[3];var b=p[4];var E=p[5];if(!h&&c.length){var R=c.length-1;if(l.indexOf(c[R])>-1){y=c[R];c=c.slice(0,R)}}if(c){u.push(c);c="";h=false}var k=y!==""&&x!==undefined&&x!==y;var w=E==="+"||E==="*";var j=E==="?"||E==="*";var _=y||o;var $=O||b;u.push({name:A||s++,prefix:y,delimiter:_,optional:j,repeat:w,partial:k,pattern:$?f($):"[^"+i(_)+"]+?"})}if(c||v<r.length){u.push(c+r.substr(v))}return u};var i=function(r){return r.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")};var f=function(r){return r.replace(/([=!:$\/()])/g,"\\$1")};var u=function(r){return r&&r.sensitive?"":"i"};var s=function(r,e){if(!e)return r;var t=r.source.match(/\((?!\?)/g);if(t){for(var n=0;n<t.length;n++){e.push({name:n,prefix:null,delimiter:null,optional:false,repeat:false,partial:false,pattern:null})}}return r};var v=function(r,e,t){var n=[];for(var a=0;a<r.length;a++){n.push(l(r[a],e,t).source)}return new RegExp("(?:"+n.join("|")+")",u(t))};var c=function(r,e,t){return o(a(r,t),e,t)};var o=function(r,n,a){a=a||{};var f=a.strict;var s=a.end!==false;var v=i(a.delimiter||e);var c=a.delimiters||t;var o=[].concat(a.endsWith||[]).map(i).concat("$").join("|");var l="";var h=false;for(var p=0;p<r.length;p++){var d=r[p];if(typeof d==="string"){l+=i(d);h=p===r.length-1&&c.indexOf(d[d.length-1])>-1}else{var g=i(d.prefix||"");var m=d.repeat?"(?:"+d.pattern+")(?:"+g+"(?:"+d.pattern+"))*":d.pattern;if(n)n.push(d);if(d.optional){if(d.partial){l+=g+"("+m+")?"}else{l+="(?:"+g+"("+m+"))?"}}else{l+=g+"("+m+")"}}}if(s){if(!f)l+="(?:"+v+")?";l+=o==="$"?"$":"(?="+o+")"}else{if(!f)l+="(?:"+v+"(?="+o+"))?";if(!h)l+="(?="+v+"|"+o+")"}return new RegExp("^"+l,u(a))};var l=function(r,e,t){if(r instanceof RegExp){return s(r,e)}if(Array.isArray(r)){return v(r,e,t)}return c(r,e,t)};var h=r("h",(function(r,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(r)}));var p=r("i",(function(r,e){return h(r,e)?r.substr(e.length):r}));var d=r("d",(function(r){return r.charAt(r.length-1)==="/"?r.slice(0,-1):r}));var g=r("e",(function(r){return r.charAt(0)==="/"?r:"/"+r}));var m=r("o",(function(r){return r.charAt(0)==="/"?r.substr(1):r}));var y=function(r){var e=r||"/";var t="";var n="";var a=e.indexOf("#");if(a!==-1){n=e.substr(a);e=e.substr(0,a)}var i=e.indexOf("?");if(i!==-1){t=e.substr(i);e=e.substr(0,i)}return{pathname:e,search:t==="?"?"":t,hash:n==="#"?"":n,query:{},key:""}};var x=r("j",(function(r){var e=r.pathname,t=r.search,n=r.hash;var a=e||"/";if(t&&t!=="?"){a+=t.charAt(0)==="?"?t:"?"+t}if(n&&n!=="#"){a+=n.charAt(0)==="#"?n:"#"+n}return a}));var A=function(r){if(!r){return{}}return(/^[?#]/.test(r)?r.slice(1):r).split("&").reduce((function(r,e){var t=e.split("="),n=t[0],a=t[1];r[n]=a?decodeURIComponent(a.replace(/\+/g," ")):"";return r}),{})};var O=function(r){return r.charAt(0)==="/"};var b=r("g",(function(r){return Math.random().toString(36).substr(2,r)}));var E=function(r,e){for(var t=e,n=t+1,a=r.length;n<a;t+=1,n+=1){r[t]=r[n]}r.pop()};var R=function(r,e){if(e===void 0){e=""}var t=e&&e.split("/")||[];var n;var a=0;var i=r&&r.split("/")||[];var f=r&&O(r);var u=e&&O(e);var s=f||u;if(r&&O(r)){t=i}else if(i.length){t.pop();t=t.concat(i)}if(!t.length){return"/"}if(t.length){var v=t[t.length-1];n=v==="."||v===".."||v===""}else{n=false}for(var c=t.length;c>=0;c--){var o=t[c];if(o==="."){E(t,c)}else if(o===".."){E(t,c);a++}else if(a){E(t,c);a--}}if(!s){for(;a--;a){t.unshift("..")}}if(s&&t[0]!==""&&(!t[0]||!O(t[0]))){t.unshift("")}var l=t.join("/");if(n&&l.substr(-1)!=="/"){l+="/"}return l};var k=function(r,e){if(r===e){return true}if(r==null||e==null){return false}if(Array.isArray(r)){return Array.isArray(e)&&r.length===e.length&&r.every((function(r,t){return k(r,e[t])}))}var t=typeof r;var n=typeof e;if(t!==n){return false}if(t==="object"){var a=r.valueOf();var i=e.valueOf();if(a!==r||i!==e){return k(a,i)}var f=Object.keys(r);var u=Object.keys(e);if(f.length!==u.length){return false}return f.every((function(t){return k(r[t],e[t])}))}return false};var w=r("p",(function(r,e){return r.pathname===e.pathname&&r.search===e.search&&r.hash===e.hash&&r.key===e.key&&k(r.state,e.state)}));var j=r("f",(function(r,e,t,n){var a;if(typeof r==="string"){a=y(r);if(e!==undefined){a.state=e}}else{a=Object.assign({pathname:""},r);if(a.search&&a.search.charAt(0)!=="?"){a.search="?"+a.search}if(a.hash&&a.hash.charAt(0)!=="#"){a.hash="#"+a.hash}if(e!==undefined&&a.state===undefined){a.state=e}}try{a.pathname=decodeURI(a.pathname)}catch(r){if(r instanceof URIError){throw new URIError('Pathname "'+a.pathname+'" could not be decoded. '+"This is likely caused by an invalid percent-encoding.")}else{throw r}}a.key=t;if(n){if(!a.pathname){a.pathname=n.pathname}else if(a.pathname.charAt(0)!=="/"){a.pathname=R(a.pathname,n.pathname)}}else{if(!a.pathname){a.pathname="/"}}a.query=A(a.search||"");return a}));var _=0;var $={};var S=1e4;var I=function(r,e){var t=""+e.end+e.strict;var n=$[t]||($[t]={});var a=JSON.stringify(r);if(n[a]){return n[a]}var i=[];var f=l(r,i,e);var u={re:f,keys:i};if(_<S){n[a]=u;_+=1}return u};var U=r("m",(function(r,e){if(e===void 0){e={}}if(typeof e==="string"){e={path:e}}var t=e.path,n=t===void 0?"/":t,a=e.exact,i=a===void 0?false:a,f=e.strict,u=f===void 0?false:f;var s=I(n,{end:i,strict:u}),v=s.re,c=s.keys;var o=v.exec(r);if(!o){return null}var l=o[0],h=o.slice(1);var p=r===l;if(i&&!p){return null}return{path:n,url:n==="/"&&l===""?"/":l,isExact:p,params:c.reduce((function(r,e,t){r[e.name]=h[t];return r}),{})}}));var C=r("a",(function(r,e){if(r==null&&e==null){return true}if(e==null){return false}return r&&e&&r.path===e.path&&r.url===e.url&&k(r.params,e.params)}));var K=r("k",(function(r,e,t){return t(r.confirm(e))}));var M=r("q",(function(r){return r.metaKey||r.altKey||r.ctrlKey||r.shiftKey}));var q=r("b",(function(r){var e=r.navigator.userAgent;if((e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1){return false}return r.history&&"pushState"in r.history}));var D=r("c",(function(r){return r.userAgent.indexOf("Trident")===-1}));var T=r("n",(function(r){return r.userAgent.indexOf("Firefox")===-1}));var N=r("l",(function(r,e){return e.state===undefined&&r.userAgent.indexOf("CriOS")===-1}));var P=r("s",(function(r,e){var t=r[e];var n="__storage_test__";try{t.setItem(n,n);t.removeItem(n);return true}catch(r){return r instanceof DOMException&&(r.code===22||r.code===1014||r.name==="QuotaExceededError"||r.name==="NS_ERROR_DOM_QUOTA_REACHED")&&t.length!==0}}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(){"use strict";return{execute:function(){(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function e(e){var n=t.has(e);e=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!n&&e}function n(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function o(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function i(t,e,n){n=void 0===n?new Set:n;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var a=r;e(a);var c=a.localName;if("link"===c&&"import"===a.getAttribute("rel")){r=a.import;if(r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)i(r,e,n);r=o(t,a);continue}else if("template"===c){r=o(t,a);continue}if(a=a.__CE_shadowRoot)for(a=a.firstChild;a;a=a.nextSibling)i(a,e,n)}r=r.firstChild?r.firstChild:o(t,r)}}function r(t,e,n){t[e]=n}function a(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1}function c(t,e,n){t.a.set(e,n);t.g.set(n.constructorFunction,n)}function l(t,e){t.b=!0;t.c.push(e)}function s(t,e){t.b=!0;t.f.push(e)}function u(t,e){t.b&&i(e,(function(e){return f(t,e)}))}function f(t,e){if(t.b&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.c.length;n++)t.c[n](e);for(n=0;n<t.f.length;n++)t.f[n](e)}}function p(t,e){var n=[];i(e,(function(t){return n.push(t)}));for(e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):m(t,o)}}function h(t,e){var n=[];i(e,(function(t){return n.push(t)}));for(e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function d(t,e,n){n=void 0===n?{}:n;var o=n.u||new Set,r=n.i||function(e){return m(t,e)},a=[];i(e,(function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0);n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(o);i.delete(n);d(t,n,{u:i,i:r})}}))}else a.push(e)}),o);if(t.b)for(e=0;e<a.length;e++)f(t,a[e]);for(e=0;e<a.length;e++)r(a[e])}function m(t,e){if(void 0===e.__CE_state){var o=e.ownerDocument;if(o.defaultView||o.__CE_isImportDocument&&o.__CE_hasRegistry)if(o=t.a.get(e.localName)){o.constructionStack.push(e);var i=o.constructorFunction;try{try{if(new i!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}e.__CE_state=1;e.__CE_definition=o;if(o.attributeChangedCallback)for(o=o.observedAttributes,i=0;i<o.length;i++){var r=o[i],a=e.getAttribute(r);null!==a&&t.attributeChangedCallback(e,r,null,a,null)}n(e)&&t.connectedCallback(e)}}}a.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)};a.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)};a.prototype.attributeChangedCallback=function(t,e,n,o,i){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(e)&&r.attributeChangedCallback.call(t,e,n,o,i)};function b(t){var e=document;this.c=t;this.a=e;this.b=void 0;d(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function y(t){t.b&&t.b.disconnect()}b.prototype.f=function(t){var e=this.a.readyState;"interactive"!==e&&"complete"!==e||y(this);for(e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)d(this.c,n[o])};function g(){var t=this;this.b=this.a=void 0;this.c=new Promise((function(e){t.b=e;t.a&&e(t.a)}))}function v(t){if(t.a)throw Error("Already resolved.");t.a=void 0;t.b&&t.b(void 0)}function w(t){this.c=!1;this.a=t;this.j=new Map;this.f=function(t){return t()};this.b=!1;this.g=[];this.o=new b(t)}w.prototype.l=function(t,n){var o=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!e(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=i("connectedCallback");var l=i("disconnectedCallback");var s=i("adoptedCallback");var u=i("attributeChangedCallback");var f=n.observedAttributes||[]}catch(t){return}finally{this.c=!1}n={localName:t,constructorFunction:n,connectedCallback:a,disconnectedCallback:l,adoptedCallback:s,attributeChangedCallback:u,observedAttributes:f,constructionStack:[]};c(this.a,t,n);this.g.push(n);this.b||(this.b=!0,this.f((function(){return E(o)})))};w.prototype.i=function(t){d(this.a,t)};function E(t){if(!1!==t.b){t.b=!1;for(var e=t.g,n=[],o=new Map,i=0;i<e.length;i++)o.set(e[i].localName,[]);d(t.a,document,{i:function(e){if(void 0===e.__CE_state){var i=e.localName,r=o.get(i);r?r.push(e):t.a.a.get(i)&&n.push(e)}}});for(i=0;i<n.length;i++)m(t.a,n[i]);for(;0<e.length;){var r=e.shift();i=r.localName;r=o.get(r.localName);for(var a=0;a<r.length;a++)m(t.a,r[a]);(i=t.j.get(i))&&v(i)}}}w.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction};w.prototype.m=function(t){if(!e(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var n=this.j.get(t);if(n)return n.c;n=new g;this.j.set(t,n);this.a.a.get(t)&&!this.g.some((function(e){return e.localName===t}))&&v(n);return n.c};w.prototype.s=function(t){y(this.o);var e=this.f;this.f=function(n){return t((function(){return e(n)}))}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.l;w.prototype.upgrade=w.prototype.i;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.m;w.prototype.polyfillWrapFlushCallback=w.prototype.s;var _=window.Document.prototype.createElement,C=window.Document.prototype.createElementNS,N=window.Document.prototype.importNode,S=window.Document.prototype.prepend,D=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,A=window.DocumentFragment.prototype.append,k=window.Node.prototype.cloneNode,O=window.Node.prototype.appendChild,j=window.Node.prototype.insertBefore,x=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,L=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),H=window.Element.prototype.attachShadow,R=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,P=window.Element.prototype.setAttribute,I=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,U=window.Element.prototype.setAttributeNS,W=window.Element.prototype.removeAttributeNS,q=window.Element.prototype.insertAdjacentElement,B=window.Element.prototype.insertAdjacentHTML,$=window.Element.prototype.prepend,V=window.Element.prototype.append,X=window.Element.prototype.before,G=window.Element.prototype.after,J=window.Element.prototype.replaceWith,K=window.Element.prototype.remove,Q=window.HTMLElement,Y=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Z=window.HTMLElement.prototype.insertAdjacentElement,tt=window.HTMLElement.prototype.insertAdjacentHTML;var et=new function(){};function nt(){var t=st;window.HTMLElement=function(){function e(){var e=this.constructor,n=t.g.get(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=_.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,f(t,o),o;n=o.length-1;var i=o[n];if(i===et)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");o[n]=et;Object.setPrototypeOf(i,e.prototype);f(t,i);return i}e.prototype=Q.prototype;Object.defineProperty(e.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e});return e}()}function ot(t,e,o){function i(e){return function(o){for(var i=[],r=0;r<arguments.length;++r)i[r]=arguments[r];r=[];for(var a=[],c=0;c<i.length;c++){var l=i[c];l instanceof Element&&n(l)&&a.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}e.apply(this,i);for(i=0;i<a.length;i++)h(t,a[i]);if(n(this))for(i=0;i<r.length;i++)a=r[i],a instanceof Element&&p(t,a)}}void 0!==o.h&&(e.prepend=i(o.h));void 0!==o.append&&(e.append=i(o.append))}function it(){var t=st;r(Document.prototype,"createElement",(function(e){if(this.__CE_hasRegistry){var n=t.a.get(e);if(n)return new n.constructorFunction}e=_.call(this,e);f(t,e);return e}));r(Document.prototype,"importNode",(function(e,n){e=N.call(this,e,!!n);this.__CE_hasRegistry?d(t,e):u(t,e);return e}));r(Document.prototype,"createElementNS",(function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.a.get(n);if(o)return new o.constructorFunction}e=C.call(this,e,n);f(t,e);return e}));ot(t,Document.prototype,{h:S,append:D})}function rt(){function t(t,o){Object.defineProperty(t,"textContent",{enumerable:o.enumerable,configurable:!0,get:o.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)o.set.call(this,t);else{var i=void 0;if(this.firstChild){var r=this.childNodes,a=r.length;if(0<a&&n(this)){i=Array(a);for(var c=0;c<a;c++)i[c]=r[c]}}o.set.call(this,t);if(i)for(t=0;t<i.length;t++)h(e,i[t])}}})}var e=st;r(Node.prototype,"insertBefore",(function(t,o){if(t instanceof DocumentFragment){var i=Array.prototype.slice.apply(t.childNodes);t=j.call(this,t,o);if(n(this))for(o=0;o<i.length;o++)p(e,i[o]);return t}i=n(t);o=j.call(this,t,o);i&&h(e,t);n(this)&&p(e,t);return o}));r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);t=O.call(this,t);if(n(this))for(var i=0;i<o.length;i++)p(e,o[i]);return t}o=n(t);i=O.call(this,t);o&&h(e,t);n(this)&&p(e,t);return i}));r(Node.prototype,"cloneNode",(function(t){t=k.call(this,!!t);this.ownerDocument.__CE_hasRegistry?d(e,t):u(e,t);return t}));r(Node.prototype,"removeChild",(function(t){var o=n(t),i=x.call(this,t);o&&h(e,t);return i}));r(Node.prototype,"replaceChild",(function(t,o){if(t instanceof DocumentFragment){var i=Array.prototype.slice.apply(t.childNodes);t=M.call(this,t,o);if(n(this))for(h(e,o),o=0;o<i.length;o++)p(e,i[o]);return t}i=n(t);var r=M.call(this,t,o),a=n(this);a&&h(e,o);i&&h(e,t);a&&p(e,t);return r}));L&&L.get?t(Node.prototype,L):l(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++){var n=this.childNodes[e];n.nodeType!==Node.COMMENT_NODE&&t.push(n.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)x.call(this,this.firstChild);null!=t&&""!==t&&O.call(this,document.createTextNode(t))}})}))}function at(t){function e(e){return function(o){for(var i=[],r=0;r<arguments.length;++r)i[r]=arguments[r];r=[];for(var a=[],c=0;c<i.length;c++){var l=i[c];l instanceof Element&&n(l)&&a.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}e.apply(this,i);for(i=0;i<a.length;i++)h(t,a[i]);if(n(this))for(i=0;i<r.length;i++)a=r[i],a instanceof Element&&p(t,a)}}var o=Element.prototype;void 0!==X&&(o.before=e(X));void 0!==X&&(o.after=e(G));void 0!==J&&r(o,"replaceWith",(function(e){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var r=[],a=0;a<o.length;a++){var c=o[a];c instanceof Element&&n(c)&&r.push(c);if(c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}a=n(this);J.apply(this,o);for(o=0;o<r.length;o++)h(t,r[o]);if(a)for(h(t,this),o=0;o<i.length;o++)r=i[o],r instanceof Element&&p(t,r)}));void 0!==K&&r(o,"remove",(function(){var e=n(this);K.call(this);e&&h(t,this)}))}function ct(){function t(t,e){Object.defineProperty(t,"innerHTML",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){var o=this,r=void 0;n(this)&&(r=[],i(this,(function(t){t!==o&&r.push(t)})));e.set.call(this,t);if(r)for(var c=0;c<r.length;c++){var l=r[c];1===l.__CE_state&&a.disconnectedCallback(l)}this.ownerDocument.__CE_hasRegistry?d(a,this):u(a,this);return t}})}function e(t,e){r(t,"insertAdjacentElement",(function(t,o){var i=n(o);t=e.call(this,t,o);i&&h(a,o);n(t)&&p(a,o);return t}))}function o(t,e){function n(t,e){for(var n=[];t!==e;t=t.nextSibling)n.push(t);for(e=0;e<n.length;e++)d(a,n[e])}r(t,"insertAdjacentHTML",(function(t,o){t=t.toLowerCase();if("beforebegin"===t){var i=this.previousSibling;e.call(this,t,o);n(i||this.parentNode.firstChild,this)}else if("afterbegin"===t)i=this.firstChild,e.call(this,t,o),n(this.firstChild,i);else if("beforeend"===t)i=this.lastChild,e.call(this,t,o),n(i||this.firstChild,null);else if("afterend"===t)i=this.nextSibling,e.call(this,t,o),n(this.nextSibling,i);else throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}))}var a=st;H&&r(Element.prototype,"attachShadow",(function(t){t=H.call(this,t);var e=a;if(e.b&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.c.length;n++)e.c[n](t)}return this.__CE_shadowRoot=t}));R&&R.get?t(Element.prototype,R):Y&&Y.get?t(HTMLElement.prototype,Y):s(a,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return k.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,o=C.call(document,this.namespaceURI,this.localName);for(o.innerHTML=t;0<n.childNodes.length;)x.call(n,n.childNodes[0]);for(t=e?o.content:o;0<t.childNodes.length;)O.call(n,t.childNodes[0])}})}));r(Element.prototype,"setAttribute",(function(t,e){if(1!==this.__CE_state)return P.call(this,t,e);var n=F.call(this,t);P.call(this,t,e);e=F.call(this,t);a.attributeChangedCallback(this,t,n,e,null)}));r(Element.prototype,"setAttributeNS",(function(t,e,n){if(1!==this.__CE_state)return U.call(this,t,e,n);var o=z.call(this,t,e);U.call(this,t,e,n);n=z.call(this,t,e);a.attributeChangedCallback(this,e,o,n,t)}));r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return I.call(this,t);var e=F.call(this,t);I.call(this,t);null!==e&&a.attributeChangedCallback(this,t,e,null,null)}));r(Element.prototype,"removeAttributeNS",(function(t,e){if(1!==this.__CE_state)return W.call(this,t,e);var n=z.call(this,t,e);W.call(this,t,e);var o=z.call(this,t,e);n!==o&&a.attributeChangedCallback(this,e,n,o,t)}));Z?e(HTMLElement.prototype,Z):q?e(Element.prototype,q):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");tt?o(HTMLElement.prototype,tt):B?o(Element.prototype,B):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");ot(a,Element.prototype,{h:$,append:V});at(a)}var lt=window.customElements;if(!lt||lt.forcePolyfill||"function"!=typeof lt.define||"function"!=typeof lt.get){var st=new a;nt();it();ot(st,DocumentFragment.prototype,{h:T,append:A});rt();ct();document.__CE_hasRegistry=!0;var ut=new w(st);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:ut})}}).call(self);if(typeof document.baseURI!=="string"){Object.defineProperty(Document.prototype,"baseURI",{enumerable:true,configurable:true,get:function(){var t=document.querySelector("base");if(t){return t.href}return document.URL}})}if(typeof window.CustomEvent!=="function"){window.CustomEvent=function t(e,n){n=n||{bubbles:false,cancelable:false,detail:undefined};var o=document.createEvent("CustomEvent");o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail);return o};window.CustomEvent.prototype=window.Event.prototype}(function(t,e,n){if(!t.composedPath){t.composedPath=function(){if(this.path){return this.path}var t=this.target;this.path=[];while(t.parentNode!==null){this.path.push(t);t=t.parentNode}this.path.push(e,n);return this.path}}})(Event.prototype,document,window);(function(t){"function"!==typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var e=0;t[e]&&t[e]!==this;)++e;return!!t[e]});"function"!==typeof t.closest&&(t.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null})})(window.Element.prototype);(function(t){function e(t){t=n(t);return 11===t.nodeType?e(t.host):t}function n(t){return t.parentNode?n(t.parentNode):t}"function"!==typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?e(this):n(this)})})(Element.prototype);(function(t){t.forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);!function(t){"classList"in t||Object.defineProperty(t,"classList",{get:function(){var t=this,e=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){e.length>0?t.setAttribute("class",e.join(" ")):t.removeAttribute("class")}return""===e[0]&&e.splice(0,1),e.toggle=function(t,o){void 0!==o?o?e.add(t):e.remove(t):-1!==e.indexOf(t)?e.splice(e.indexOf(t),1):e.push(t),n()},e.add=function(){for(var t=[].slice.call(arguments),o=0,i=t.length;o<i;o++)-1===e.indexOf(t[o])&&e.push(t[o]);n()},e.remove=function(){for(var t=[].slice.call(arguments),o=0,i=t.length;o<i;o++)-1!==e.indexOf(t[o])&&e.splice(e.indexOf(t[o]),1);n()},e.item=function(t){return e[t]},e.contains=function(t){return-1!==e.indexOf(t)},e.replace=function(t,o){-1!==e.indexOf(t)&&e.splice(e.indexOf(t),1,o),n()},e.value=t.getAttribute("class")||"",e}})}(Element.prototype)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,d as s,h as i,g as e}from"./p-b6e44a24.js";import{s as n}from"./p-113f7459.js";const h={threshold:.1,includeAA:!1,alpha:.1,aaColor:[255,255,0],diffColor:[255,0,0]};function r(t){return ArrayBuffer.isView(t)&&1===t.constructor.BYTES_PER_ELEMENT}function o(t,s,i,e,n,h){const r=Math.max(s-1,0),o=Math.max(i-1,0),c=Math.min(s+1,e-1),u=Math.min(i+1,n-1),d=4*(i*e+s);let f,m,p,g,y=s===r||s===c||i===o||i===u?1:0,w=0,M=0;for(let n=r;n<=c;n++)for(let h=o;h<=u;h++){if(n===s&&h===i)continue;const r=l(t,t,d,4*(h*e+n),!0);if(0===r){if(++y>2)return!1}else r<w?(w=r,f=n,m=h):r>M&&(M=r,p=n,g=h)}return 0!==w&&0!==M&&(a(t,f,m,e,n)&&a(h,f,m,e,n)||a(t,p,g,e,n)&&a(h,p,g,e,n))}function a(t,s,i,e,n){const h=Math.max(s-1,0),r=Math.max(i-1,0),o=Math.min(s+1,e-1),a=Math.min(i+1,n-1),l=4*(i*e+s);let c=s===h||s===o||i===r||i===a?1:0;for(let n=h;n<=o;n++)for(let h=r;h<=a;h++){if(n===s&&h===i)continue;const r=4*(h*e+n);if(t[l]===t[r]&&t[l+1]===t[r+1]&&t[l+2]===t[r+2]&&t[l+3]===t[r+3]&&c++,c>2)return!0}return!1}function l(t,s,i,e,n){let h=t[i+0],r=t[i+1],o=t[i+2],a=t[i+3],l=s[e+0],m=s[e+1],p=s[e+2],g=s[e+3];if(a===g&&h===l&&r===m&&o===p)return 0;a<255&&(h=f(h,a/=255),r=f(r,a),o=f(o,a)),g<255&&(l=f(l,g/=255),m=f(m,g),p=f(p,g));const y=c(h,r,o)-c(l,m,p);if(n)return y;const w=u(h,r,o)-u(l,m,p),M=d(h,r,o)-d(l,m,p);return.5053*y*y+.299*w*w+.1957*M*M}function c(t,s,i){return.29889531*t+.58662247*s+.11448223*i}function u(t,s,i){return.59597799*t-.2741761*s-.32180189*i}function d(t,s,i){return.21147017*t-.52261711*s+.31114694*i}function f(t,s){return 255+(t-255)*s}function m(t,s,i,e,n){t[s+0]=i,t[s+1]=e,t[s+2]=n,t[s+3]=255}function p(t,s,i,e){const n=f(c(t[s+0],t[s+1],t[s+2]),i*t[s+3]/255);m(e,s,n,n,n)}function g(t,s,i){if(w.has(s))return void i(w.get(s));if(y.has(s))return void y.get(s).push(i);y.set(s,[i]);const e=document.createElement("script");e.src=`${t}screenshot_${s}.js`,document.head.appendChild(e)}window.loadScreenshot=(t,s)=>{const i=y.get(t);i&&(i.forEach(t=>t(s)),y.delete(t)),w.set(t,s)};const y=new Map,w=new Map,M=class{constructor(i){t(this,i),this.imageASrc=null,this.imageBSrc=null,this.imageAClass="is-loading",this.imageBClass="is-loading",this.canvasClass="is-loading",this.imagesLoaded=new Set,this.isImageALoaded=!1,this.isImageBLoaded=!1,this.isMismatchInitialized=!1,this.hasCalculatedMismatch=!1,this.compareLoaded=s(this,"compareLoaded",7)}componentWillLoad(){this.loadScreenshots()}componentWillUpdate(){this.loadScreenshots()}loadScreenshots(){if(this.show&&this.diff.hasIntersected)return this.diff.identical?(this.imageASrc=this.imagesUrl+this.diff.imageA,this.isImageALoaded=!0,this.imageAClass="has-loaded",this.imageBSrc=this.imagesUrl+this.diff.imageB,this.isImageBLoaded=!0,void(this.imageBClass="has-loaded")):void(this.isMismatchInitialized||(this.isMismatchInitialized=!0,null!=this.jsonpUrl?(null!=this.diff.imageA&&g(this.jsonpUrl,this.diff.imageA,t=>{this.imageASrc=t}),null!=this.diff.imageB&&g(this.jsonpUrl,this.diff.imageB,t=>{this.imageBSrc=t})):(this.imageASrc=this.imagesUrl+this.diff.imageA,this.imageBSrc=this.imagesUrl+this.diff.imageB)))}async compareImages(){const t=this.diff;this.isImageALoaded&&this.isImageBLoaded&&!this.hasCalculatedMismatch&&t.comparable&&(this.hasCalculatedMismatch=!0,t.mismatchedPixels=await function(t,s,i,e,n,a){let c=-1;try{const u=document.createElement("canvas");u.width=e,u.height=n;const d=document.createElement("canvas");d.width=e,d.height=n;const f=u.getContext("2d");f.drawImage(t,0,0);const g=d.getContext("2d");g.drawImage(s,0,0);const y=document.createElement("canvas").getContext("2d");y.drawImage(t,0,0),y.getImageData(0,0,e,n);const w=f.getImageData(0,0,e,n).data,M=g.getImageData(0,0,e,n).data,v=i.getContext("2d"),_=v.createImageData(e,u.height);c=function(t,s,i,e,n,a){if(!r(t)||!r(s)||i&&!r(i))throw new Error("Image data: Uint8Array, Uint8ClampedArray or Buffer expected.");if(t.length!==s.length||i&&i.length!==t.length)throw new Error("Image sizes do not match.");if(t.length!==e*n*4)throw new Error("Image data size does not match width/height.");a=Object.assign({},h,a);const c=e*n,u=new Uint32Array(t.buffer,t.byteOffset,c),d=new Uint32Array(s.buffer,s.byteOffset,c);let f=!0;for(let t=0;t<c;t++)if(u[t]!==d[t]){f=!1;break}if(f){if(i)for(let s=0;s<c;s++)p(t,4*s,a.alpha,i);return 0}const g=35215*a.threshold*a.threshold;let y=0;const[w,M,v]=a.aaColor,[_,E,b]=a.diffColor;for(let h=0;h<n;h++)for(let r=0;r<e;r++){const c=4*(h*e+r);l(t,s,c,c)>g?a.includeAA||!o(t,r,h,e,n,s)&&!o(s,r,h,e,n,t)?(i&&m(i,c,_,E,b),y++):i&&m(i,c,w,M,v):i&&p(t,c,a.alpha,i)}return y}(w,M,_.data,e,n,{threshold:a}),v.putImageData(_,0,0)}catch(t){console.error(t)}return c}(this.imageA,this.imageB,this.canvas,Math.round(t.width*t.deviceScaleFactor),Math.round(t.height*t.deviceScaleFactor),t.threshold),this.canvasClass="has-loaded",n(t.imageA,t.imageB,t.mismatchedPixels,t.threshold),this.compareLoaded.emit(t))}render(){const t=this.diff,s={width:t.width+"px",height:t.height+"px"};return[i("compare-cell",null,null!=t.imageA?i("a",{href:this.imagesUrl+t.imageA,target:"_blank"},i("img",{src:this.imageASrc,class:this.imageAClass,style:s,onLoad:this.diff.identical?null:()=>{this.isImageALoaded=!0,this.imageAClass="has-loaded",this.compareImages()},ref:t=>this.imageA=t})):i("img",{style:s,class:"is-loading"})),i("compare-cell",null,null!=t.imageB?i("a",{href:this.imagesUrl+t.imageB,target:"_blank"},i("img",{src:this.imageBSrc,class:this.imageBClass,style:s,onLoad:this.diff.identical?null:()=>{this.isImageBLoaded=!0,this.imageBClass="has-loaded",this.compareImages()},ref:t=>this.imageB=t})):i("img",{style:s,class:"is-loading"})),i("compare-cell",null,this.diff.identical?i("img",{style:s,src:this.imageASrc}):i("canvas",{width:Math.round(t.width*t.deviceScaleFactor),height:Math.round(t.height*t.deviceScaleFactor),class:this.canvasClass,style:s,hidden:!t.comparable,ref:t=>this.canvas=t})),i("compare-cell",null,i("compare-analysis",{aId:this.aId,bId:this.bId,mismatchedPixels:this.diff.mismatchedPixels,diff:this.diff}))]}get elm(){return e(this)}static get style(){return"compare-row canvas,compare-row img{display:block;-webkit-box-shadow:var(--screenshot-box-shadow);box-shadow:var(--screenshot-box-shadow);border-radius:var(--screenshot-border-radius)}compare-row a{display:block}.is-loading{visibility:hidden}"}},v=class{constructor(s){t(this,s)}render(){if(!this.a||!this.b||!this.diffs)return;let t=0;this.diffs.forEach(s=>{s.width>t&&(t=s.width)});const s={width:(t-=6)+"px"};return[i("th-cell",null,i("div",{style:s},i("a",{href:this.a.url,target:"_blank"},this.a.message))),i("th-cell",null,i("div",{style:s},i("a",{href:this.b.url,target:"_blank"},this.b.message))),i("th-cell",null,i("div",{style:s},i("a",{href:`https://github.com/navify/navify/compare/${this.a.id}...${this.b.id}`,target:"_blank"},"Compare: ",this.a.id," - ",this.b.id))),i("th-cell",{class:"analysis"},i("div",null,"Analysis"))]}static get style(){return":host{display:-ms-flexbox;display:flex}th-cell{display:block;-ms-flex:1;flex:1;font-weight:500;font-size:12px}th-cell div{padding-left:12px;padding-right:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}th-cell a{color:var(--font-color);text-decoration:none}th-cell a:hover{color:var(--analysis-data-color);text-decoration:underline}.analysis div{width:262px}"}};export{M as compare_row,v as compare_thead};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var n=Array(r),a=0,e=0;e<t;e++)for(var s=arguments[e],c=0,o=s.length;c<o;c++,a++)n[a]=s[c];return n};System.register([],(function(r){"use strict";return{execute:function(){var e=function(r){var e=[];var t=0;var n;r=r.replace(/(\[[^\]]*\])/g,(function(r,n){var a="__ph-"+t+"__";e.push(n);t++;return a}));n=r.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(r,n,a){var s="__ph-"+t+"__";e.push(a);t++;return n+s}));var a={content:n,placeholders:e};return a};var t=function(r,e){return e.replace(/__ph-(\d+)__/g,(function(e,t){return r[+t]}))};var n="-shadowcsshost";var a="-shadowcssslotted";var s="-shadowcsscontext";var c=")(?:\\(("+"(?:\\([^)(]*\\)|[^)(]*)+?"+")\\))?([^,{]*)";var o=new RegExp("("+n+c,"gim");var i=new RegExp("("+s+c,"gim");var v=new RegExp("("+a+c,"gim");var u=n+"-no-combinator";var l=/-shadowcsshost-no-combinator([^\s]*)/;var f=[/::shadow/g,/::content/g];var p="([>\\s~+[.,{:][\\s\\S]*)?$";var h=/-shadowcsshost/gim;var g=/:host/gim;var d=/::slotted/gim;var m=/:host-context/gim;var _=/\/\*\s*[\s\S]*?\*\//g;var x=function(r){return r.replace(_,"")};var w=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var W=function(r){return r.match(w)||[]};var b=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;var O=/([{}])/g;var j="{";var S="}";var y="%BLOCK%";var E=function(r,e){var t=R(r);var n=0;return t.escapedString.replace(b,(function(){var r=[];for(var a=0;a<arguments.length;a++){r[a]=arguments[a]}var s=r[2];var c="";var o=r[4];var i="";if(o&&o.startsWith("{"+y)){c=t.blocks[n++];o=o.substring(y.length+1);i="{"}var v={selector:s,content:c};var u=e(v);return""+r[1]+u.selector+r[3]+i+u.content+o}))};var R=function(r){var e=r.split(O);var t=[];var n=[];var a=0;var s=[];for(var c=0;c<e.length;c++){var o=e[c];if(o===S){a--}if(a>0){s.push(o)}else{if(s.length>0){n.push(s.join(""));t.push(y);s=[]}t.push(o)}if(o===j){a++}}if(s.length>0){n.push(s.join(""));t.push(y)}var i={escapedString:t.join(""),blocks:n};return i};var A=function(r){r=r.replace(m,s).replace(g,n).replace(d,a);return r};var k=function(r,e,t){return r.replace(e,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}if(r[2]){var n=r[2].split(",");var a=[];for(var s=0;s<n.length;s++){var c=n[s].trim();if(!c)break;a.push(t(u,c,r[3]))}return a.join(",")}else{return u+r[3]}}))};var C=function(r,e,t){return r+e.replace(n,"")+t};var L=function(r){return k(r,o,C)};var B=function(r,e,t){if(e.indexOf(n)>-1){return C(r,e,t)}else{return r+e+t+", "+e+" "+r+t}};var I=function(r,e){var t=v;return r.replace(t,(function(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}if(r[2]){var n=r[2].trim();var a=r[3];var s="."+e+" > "+n+a;return s}else{return u+r[3]}}))};var K=function(r){return k(r,i,B)};var $=function(r){return f.reduce((function(r,e){return r.replace(e," ")}),r)};var M=function(r){var e=/\[/g;var t=/\]/g;r=r.replace(e,"\\[").replace(t,"\\]");return new RegExp("^("+r+")"+p,"m")};var U=function(r,e){var t=M(e);return!t.test(r)};var q=function(r,e,t){h.lastIndex=0;if(h.test(r)){var n="."+t;return r.replace(l,(function(r,e){return e.replace(/([^:]*)(:*)(.*)/,(function(r,e,t,a){return e+n+t+a}))})).replace(h,n+" ")}return e+" "+r};var z=function(r,n,a){var s=/\[is=([^\]]*)\]/g;n=n.replace(s,(function(r){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return e[0]}));var c="."+n;var o=function(r){var e=r.trim();if(!e){return""}if(r.indexOf(u)>-1){e=q(r,n,a)}else{var t=r.replace(h,"");if(t.length>0){var s=t.match(/([^:]*)(:*)(.*)/);if(s){e=s[1]+c+s[2]+s[3]}}}return e};var i=e(r);r=i.content;var v="";var l=0;var f;var p=/( |>|\+|~(?!=))\s*/g;var g=r.indexOf(u)>-1;var d=!g;while((f=p.exec(r))!==null){var m=f[1];var _=r.slice(l,f.index).trim();d=d||_.indexOf(u)>-1;var x=d?o(_):_;v+=x+" "+m+" ";l=p.lastIndex}var w=r.substring(l);d=d||w.indexOf(u)>-1;v+=d?o(w):w;return t(i.placeholders,v)};var D=function(r,e,t,n){return r.split(",").map((function(r){if(n&&r.indexOf("."+n)>-1){return r.trim()}if(U(r,e)){return z(r,e,t).trim()}else{return r.trim()}})).join(", ")};var F=function(r,e,t,n,a){return E(r,(function(r){var a=r.selector;var s=r.content;if(r.selector[0]!=="@"){a=D(r.selector,e,t,n)}else if(r.selector.startsWith("@media")||r.selector.startsWith("@supports")||r.selector.startsWith("@page")||r.selector.startsWith("@document")){s=F(r.content,e,t,n)}var c={selector:a.replace(/\s{2,}/g," ").trim(),content:s};return c}))};var G=function(r,e,t,n,a){r=A(r);r=L(r);r=K(r);r=I(r,n);r=$(r);if(e){r=F(r,e,t,n)}r=r.replace(/-shadowcsshost-no-combinator/g,"."+t);r=r.replace(/>\s*\*\s+([^{, ]+)/gm," $1 ");return r.trim()};var H=r("scopeCss",(function(r,e,t){var n=e+"-h";var a=e+"-s";var s=W(r);r=x(r);var c=[];if(t){var o=function(r){var e="/*!@___"+c.length+"___*/";var t="/*!@"+r.selector+"*/";c.push({placeholder:e,comment:t});r.selector=e+r.selector;return r};r=E(r,(function(r){if(r.selector[0]!=="@"){return o(r)}else if(r.selector.startsWith("@media")||r.selector.startsWith("@supports")||r.selector.startsWith("@page")||r.selector.startsWith("@document")){r.content=E(r.content,o);return r}return r}))}var i=G(r,e,n,a);r=__spreadArrays([i],s).join("\n");if(t){c.forEach((function(e){var t=e.placeholder,n=e.comment;r=r.replace(t,n)}))}return r}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(t){"use strict";return{execute:function(){t({g:e,s:r});function e(t,e,r){var i=n(t,e,r);var s=localStorage.getItem(i);if(typeof s==="string"){var u=parseInt(s,10);if(!isNaN(u)){return u}}return null}function r(t,e,r,i){var s=n(t,e,r);localStorage.setItem(s,String(i))}function n(t,e,r){return"screenshot_mismatch_"+t+"_"+e+"_"+r}}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};var r={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},t="{",i="}",e={comments:/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},u="--",o="@media",s="@";function a(n,r,t){n.lastIndex=0;var i=r.substring(t).match(n);if(i){var e=t+i.index;return{start:e,end:e+i[0].length}}return null}var f=/\bvar\(/,c=/\B--[\w-]+\s*:/,v=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,h=/^[\t ]+\n/gm;function l(n,r,t){var i=function(n,r){var t=a(f,n,r);if(!t)return null;var i=function(n,r){for(var t=0,i=r;i<n.length;i++){var e=n[i];if("("===e)t++;else if(")"===e&&--t<=0)return i+1}return i}(n,t.start),e=n.substring(t.end,i-1).split(","),u=e[0],o=e.slice(1);return{start:t.start,end:i,propName:u.trim(),fallback:o.length>0?o.join(",").trim():void 0}}(n,t);if(!i)return r.push(n.substring(t,n.length)),n.length;var e=i.propName,u=null!=i.fallback?d(i.fallback):void 0;return r.push(n.substring(t,i.start),(function(n){return function(n,r,t){return n[r]?n[r]:t?m(t,n):""}(n,e,u)})),i.end}function m(n,r){for(var t="",i=0;i<n.length;i++){var e=n[i];t+="string"==typeof e?e:e(r)}return t}function p(n,r){for(var t=!1,i=!1,e=r;e<n.length;e++){var u=n[e];if(t)i&&'"'===u&&(t=!1),i||"'"!==u||(t=!1);else if('"'===u)t=!0,i=!0;else if("'"===u)t=!0,i=!1;else{if(";"===u)return e+1;if("}"===u)return e}}return e}function d(n){var r=0;n=function(n){for(var r="",t=0;;){var i=a(c,n,t),e=i?i.start:n.length;if(r+=n.substring(t,e),!i)break;t=p(n,e)}return r}(n=n.replace(v,"")).replace(h,"");for(var t=[];r<n.length;)r=l(n,t,r);return t}function g(n){var r={};n.forEach((function(n){n.declarations.forEach((function(n){r[n.prop]=n.value}))}));for(var t={},i=Object.entries(r),e=function(){var n=!1;if(i.forEach((function(r){var i=r[0],e=m(r[1],t);e!==t[i]&&(t[i]=e,n=!0)})),!n)return"break"},u=0;u<10&&"break"!==e();u++);return t}function y(n,t){if(void 0===t&&(t=0),!n.rules)return[];var i=[];return n.rules.filter((function(n){return n.type===r.STYLE_RULE})).forEach((function(n){var r=function(n){for(var r,t=[];r=b.exec(n.trim());){var i=E(r[2]),e=i.value,u=i.important;t.push({prop:r[1].trim(),value:d(e),important:u})}return t}(n.cssText);r.length>0&&n.parsedSelector.split(",").forEach((function(n){n=n.trim(),i.push({selector:n,declarations:r,specificity:1,nu:t})})),t++})),i}var w="!important",b=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function E(n){var r=(n=n.replace(/\s+/gim," ").trim()).endsWith(w);return r&&(n=n.substr(0,n.length-w.length).trim()),{value:n,important:r}}function k(n){var r=[];return n.forEach((function(n){r.push.apply(r,n.selectors)})),r}function R(a){var f,c=function n(t,i){var a=i.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=a.trim(),t.parent){a=(a=(a=function(n){return n.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var n=arguments[1],r=6-n.length;r--;)n="0"+n;return"\\"+n}))}(a=i.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(e.multipleSpaces," ")).substring(a.lastIndexOf(";")+1);var f=t.parsedSelector=t.selector=a.trim();t.atRule=0===f.indexOf(s),t.atRule?0===f.indexOf(o)?t.type=r.MEDIA_RULE:f.match(e.keyframesRule)&&(t.type=r.KEYFRAMES_RULE,t.keyframesName=t.selector.split(e.multipleSpaces).pop()):t.type=0===f.indexOf(u)?r.MIXIN_RULE:r.STYLE_RULE}var c=t.rules;if(c)for(var v=0,h=c.length,l=void 0;v<h&&(l=c[v]);v++)n(l,i);return t}(function(r){var e=new n;e.start=0,e.end=r.length;for(var u=e,o=0,s=r.length;o<s;o++)if(r[o]===t){u.rules||(u.rules=[]);var a=u,f=a.rules[a.rules.length-1]||null;(u=new n).start=o+1,u.parent=a,u.previous=f,a.rules.push(u)}else r[o]===i&&(u.end=o+1,u=u.parent||e);return e}(f=(f=a).replace(e.comments,"").replace(e.port,"")),f),v=d(a);return{original:a,template:v,selectors:y(c),usesCssVars:v.length>1}}function M(n,r){var t=R(r.innerHTML);t.styleEl=r,n.push(t)}function $(n,r,t){var i;return i="."+t,n.replace(new RegExp("\\."+r,"g"),i)}function j(n,r,t){var i=t.href;return fetch(i).then((function(n){return n.text()})).then((function(e){if(((o=e).indexOf("var(")>-1||A.test(o))&&t.parentNode){(function(n){return L.lastIndex=0,L.test(n)})(e)&&(e=function(n,r){var t=r.replace(/[^\/]*$/,"");return n.replace(L,(function(n,r){return n.replace(r,t+r)}))}(e,i));var u=n.createElement("style");u.setAttribute("data-styles",""),u.innerHTML=e,M(r,u),t.parentNode.insertBefore(u,t),t.remove()}var o})).catch((function(n){console.error(n)}))}var A=/[\s;{]--[-a-zA-Z0-9]+\s*:/m,L=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim,O=function(){function n(n,r){this.win=n,this.doc=r,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map}return n.prototype.initShim=function(){var n=this;return new Promise((function(r){n.win.requestAnimationFrame((function(){var t,i;(t=n.doc,i=n.globalScopes,function(n,r){for(var t=n.querySelectorAll("style:not([data-styles])"),i=0;i<t.length;i++)M(r,t[i])}(t,i),function(n,r){for(var t=[],i=n.querySelectorAll('link[rel="stylesheet"][href]'),e=0;e<i.length;e++)t.push(j(n,r,i[e]));return Promise.all(t)}(t,i)).then((function(){return r()}))}))}))},n.prototype.addLink=function(n){var r=this;return j(this.doc,this.globalScopes,n).then((function(){r.updateGlobal()}))},n.prototype.addGlobalStyle=function(n){M(this.globalScopes,n),this.updateGlobal()},n.prototype.createHostStyle=function(n,r,t,i){if(this.hostScopeMap.has(n))throw new Error("host style already created");var e,u,o,s,a=this.registerHostTemplate(t,r,i),f=this.doc.createElement("style");return a.usesCssVars?i?(f["s-sc"]=r=a.scopeId+"-"+this.count,f.innerHTML="/*needs update*/",this.hostStyleMap.set(n,f),this.hostScopeMap.set(n,(u=r,o=(e=a).template.map((function(n){return"string"==typeof n?$(n,e.scopeId,u):n})),s=e.selectors.map((function(n){return Object.assign(Object.assign({},n),{selector:$(n.selector,e.scopeId,u)})})),Object.assign(Object.assign({},e),{template:o,selectors:s,scopeId:u}))),this.count++):(a.styleEl=f,a.usesCssVars||(f.innerHTML=m(a.template,{})),this.globalScopes.push(a),this.updateGlobal(),this.hostScopeMap.set(n,a)):f.innerHTML=t,f},n.prototype.removeHost=function(n){var r=this.hostStyleMap.get(n);r&&r.remove(),this.hostStyleMap.delete(n),this.hostScopeMap.delete(n)},n.prototype.updateHost=function(n){var r=this.hostScopeMap.get(n);if(r&&r.usesCssVars&&r.isScoped){var t=this.hostStyleMap.get(n);if(t){var i=g(function(n,r,t){var i,e=[],u=function(n,r){for(var t=[];r;){var i=n.get(r);i&&t.push(i),r=r.parentElement}return t}(r,n);return t.forEach((function(n){return e.push(n)})),u.forEach((function(n){return e.push(n)})),(i=k(e).filter((function(r){return function(n,r){return":root"===r||"html"===r||n.matches(r)}(n,r.selector)}))).sort((function(n,r){return n.specificity===r.specificity?n.nu-r.nu:n.specificity-r.specificity})),i}(n,this.hostScopeMap,this.globalScopes));t.innerHTML=m(r.template,i)}}},n.prototype.updateGlobal=function(){var n,r;r=g(k(n=this.globalScopes)),n.forEach((function(n){n.usesCssVars&&(n.styleEl.innerHTML=m(n.template,r))}))},n.prototype.registerHostTemplate=function(n,r,t){var i=this.scopesMap.get(r);return i||((i=R(n)).scopeId=r,i.isScoped=t,this.scopesMap.set(r,i)),i},n}(),I=window;I.__rindo_cssshim||I.CSS&&I.CSS.supports&&I.CSS.supports("color","var(--c)")||(I.__rindo_cssshim=new O(I,document));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(r.hasOwnProperty(t))e[t]=r[t]};return e(r,t)};return function(r,t){e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?t(e.value):a(e.value).then(s,o)}l((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(r){return l([e,r])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,r=0,t=arguments.length;r<t;r++)e+=arguments[r].length;for(var n=Array(e),a=0,r=0;r<t;r++)for(var i=arguments[r],s=0,o=i.length;s<o;s++,a++)n[a]=i[s];return n};System.register([],(function(e,r){"use strict";return{execute:function(){var t=this;var n="app";var a=0;var i=false;var s;var o;var l;var f=false;var $=false;var u=false;var c=false;var v=window;var d=document;var h={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)}};var m=function(){return!!d.documentElement.attachShadow}();var p=function(){var e=false;try{d.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var g=function(){try{new CSSStyleSheet;return true}catch(e){}return false}();var y={};var b=new WeakMap;var w=function(e){return b.get(e)};var R=e("r",(function(e,r){return b.set(r.$lazyInstance$=e,r)}));var _=function(e){{var r={$flags$:0,$hostElement$:e,$instanceValues$:new Map};r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));return b.set(e,r)}};var S=function(e,r){return r in e};var x=function(e){return console.error(e)};var N=new Map;var E=function(e,t,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleIds$;var s=N.get(i);if(s){return s[a]}return r.import("./"+i+".entry.js"+"").then((function(e){{N.set(i,e)}return e[a]}),x)};var L=new Map;var T=function(){return v.__rindo_cssshim}();var k=[];var C=[];var j=[];var U=function(e,r){return function(t){e.push(t);if(!i){i=true;if(r&&h.$flags$&4){B(O)}else{h.raf(O)}}}};var A=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){x(e)}}e.length=0};var P=function(e,r){var t=0;var n=0;while(t<e.length&&(n=performance.now())<r){try{e[t++](n)}catch(e){x(e)}}if(t===e.length){e.length=0}else if(t!==0){e.splice(0,t)}};var O=function(){a++;A(k);var e=(h.$flags$&6)===2?performance.now()+10*Math.ceil(a*(1/22)):Infinity;P(C,e);P(j,e);if(C.length>0){j.push.apply(j,C);C.length=0}if(i=k.length+C.length+j.length>0){h.raf(O)}else{a=0}};var B=function(e){return Promise.resolve().then(e)};var I=U(k,false);var z=U(C,true);var M={};var q=function(e){return e!=null};var H=function(e){e=typeof e;return e==="object"||e==="function"};var V=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var W=e("a",(function(){if(!(v.CSS&&v.CSS.supports&&v.CSS.supports("color","var(--c)"))){return r.import("./p-f6612d5d.system.js")}return Promise.resolve()}));var D=e("p",(function(){return __awaiter(t,void 0,void 0,(function(){var e,t,a,i,s;return __generator(this,(function(o){switch(o.label){case 0:e=r.meta.url;t=new RegExp("/"+n+"(\\.esm)?\\.js($|\\?|#)");a=Array.from(d.querySelectorAll("script")).find((function(e){return t.test(e.src)||e.getAttribute("data-rindo-namespace")===n}));i=a["data-opts"];if(!(e!==""))return[3,1];return[2,Object.assign(Object.assign({},i),{resourcesUrl:new URL(".",e).href})];case 1:s=new URL(".",new URL(a.getAttribute("data-resources-url")||a.src,v.location.href));F(s.href);if(!!window.customElements)return[3,3];return[4,r.import("./p-2ab1fdf1.system.js")];case 2:o.sent();o.label=3;case 3:return[2,Object.assign(Object.assign({},i),{resourcesUrl:s.href})]}}))}))}));var F=function(e){var r=V(n);try{v[r]=new Function("w","return import(w);//"+Math.random())}catch(n){var t=new Map;v[r]=function(n){var a=new URL(n,e).href;var i=t.get(a);if(!i){var s=d.createElement("script");s.type="module";s.src=URL.createObjectURL(new Blob(["import * as m from '"+a+"'; window."+r+".m = m;"],{type:"application/javascript"}));i=new Promise((function(e){s.onload=function(){e(v[r].m);s.remove()}}));t.set(a,i);d.head.appendChild(s)}return i}}};var G=function(e,r){if(e!=null&&!H(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var Q="hydrated";var J=new WeakMap;var K=function(e,r,t){var n=L.get(e);if(g&&t){n=n||new CSSStyleSheet;n.replace(r)}else{n=r}L.set(e,n)};var X=function(e,r,t,n){var a=Z(r.$tagName$);var i=L.get(a);e=e.nodeType===11?e:d;if(i){if(typeof i==="string"){e=e.head||e;var s=J.get(e);var o=void 0;if(!s){J.set(e,s=new Set)}if(!s.has(a)){{if(T){o=T.createHostStyle(n,a,i,!!(r.$flags$&10));var l=o["s-sc"];if(l){a=l;s=null}}else{o=d.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArrays(e.adoptedStyleSheets,[i])}}return a};var Y=function(e,r,t){var n=X(m&&e.shadowRoot?e.shadowRoot:e.getRootNode(),r,t,e);if(r.$flags$&10){e["s-sc"]=n;e.classList.add(n+"-h")}};var Z=function(e,r){return"sc-"+e};var ee=e("h",(function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=false;var s=false;var o;var l;var f=[];var $=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!H(a)){a=String(a)}if(i&&s){f[f.length-1].$text$+=a}else{f.push(i?{$flags$:0,$text$:a}:a)}s=i}}};$(t);if(r){{o=r.key||undefined}{l=r.name}{var u=r.className||r.class;if(u){r.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(r,f,ne)}var c={$flags$:0,$tag$:e,$children$:f.length>0?f:null,$elm$:undefined,$attrs$:r};{c.$key$=o}{c.$name$=l}return c}));var re={};var te=function(e){return e&&e.$tag$===re};var ne={forEach:function(e,r){return e.map(ae).forEach(r)},map:function(e,r){return e.map(ae).map(r).map(ie)}};var ae=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var ie=function(e){return{$flags$:0,$attrs$:e.vattrs,$children$:e.vchildren,$key$:e.vkey,$name$:e.vname,$tag$:e.vtag,$text$:e.vtext}};var se=function(e,r,t,n,a,i){if(t===n){return}var s=S(e,r);var o=r.toLowerCase();if(r==="class"){var l=e.classList;oe(t).forEach((function(e){return l.remove(e)}));oe(n).forEach((function(e){return l.add(e)}))}else if(r==="style"){{for(var f in t){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!t||n[f]!==t[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.substr(3)}else if(S(e,o)){r=o.substr(2)}else{r=o[2]+r.substr(3)}if(t){h.rel(e,r,t,false)}if(n){h.ael(e,r,n,false)}}else{var $=H(n);var u=null;if((s||$&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var c=n==null?"":n;if(t==null||e[r]!==(c=String(c))){e[r]=c}}else{e[r]=n}}catch(e){}}if(n==null||n===false){e.removeAttributeNS(u,o)}else if((!s||i&4||a)&&!$){n=n===true?"":n;e.setAttributeNS(u,o,n)}}};var oe=function(e){return!e?[]:e.split(/\s+/).filter((function(e){return e}))};var le=function(e,r,t,n){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||M;var s=r.$attrs$||M;{for(n in i){if(!(n in s)){se(a,n,i[n],undefined,t,r.$flags$)}}}for(n in s){se(a,n,i[n],s[n],t,r.$flags$)}};var fe=function(e,r,t,n){var a=r.$children$[t];var i=0;var $;var v;var h;if(!f){u=true;if(a.$tag$==="slot"){if(s){n.classList.add(s+"-s")}if(!a.$children$){a.$flags$|=1}else{a.$flags$|=2}}}if(q(a.$text$)){a.$elm$=d.createTextNode(a.$text$)}else if(a.$flags$&1){a.$elm$=d.createTextNode("")}else{$=a.$elm$=d.createElement(a.$flags$&2?"slot-fb":a.$tag$);{le(null,a,c)}if(q(s)&&$["s-si"]!==s){$.classList.add($["s-si"]=s)}if(a.$children$){for(i=0;i<a.$children$.length;++i){v=fe(e,a,i,$);if(v){$.appendChild(v)}}}}{a.$elm$["s-hn"]=l;if(a.$flags$&(2|1)){a.$elm$["s-sr"]=true;a.$elm$["s-cr"]=o;a.$elm$["s-sn"]=a.$name$||"";h=e&&e.$children$&&e.$children$[t];if(h&&h.$tag$===a.$tag$&&e.$elm$){$e(e.$elm$,false)}}}return a.$elm$};var $e=function(e,r){h.$flags$|=1;var t=e.childNodes;for(var n=t.length-1;n>=0;n--){var a=t[n];if(a["s-hn"]!==l&&a["s-ol"]){me(a).insertBefore(a,he(a));a["s-ol"].remove();a["s-ol"]=undefined;u=true}if(r){$e(a,r)}}h.$flags$&=~1};var ue=function(e,r,t,n,a,i){var s=e["s-cr"]&&e["s-cr"].parentNode||e;var o;if(s.shadowRoot&&s.tagName===l){s=s.shadowRoot}for(;a<=i;++a){if(n[a]){o=fe(null,t,a,e);if(o){n[a].$elm$=o;s.insertBefore(o,he(r))}}}};var ce=function(e,r,t,n){for(;r<=t;++r){if(q(e[r])){n=e[r].$elm$;we(e[r],true);{$=true;if(n["s-ol"]){n["s-ol"].remove()}else{$e(n,true)}}n.remove()}}};var ve=function(e,r,t,n){var a=0;var i=0;var s=0;var o=0;var l=r.length-1;var f=r[0];var $=r[l];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=l&&i<=u){if(f==null){f=r[++a]}else if($==null){$=r[--l]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(de(f,c)){pe(f,c);f=r[++a];c=n[++i]}else if(de($,v)){pe($,v);$=r[--l];v=n[--u]}else if(de(f,v)){if(f.$tag$==="slot"||v.$tag$==="slot"){$e(f.$elm$.parentNode,false)}pe(f,v);e.insertBefore(f.$elm$,$.$elm$.nextSibling);f=r[++a];v=n[--u]}else if(de($,c)){if(f.$tag$==="slot"||v.$tag$==="slot"){$e($.$elm$.parentNode,false)}pe($,c);e.insertBefore($.$elm$,f.$elm$);$=r[--l];c=n[++i]}else{s=-1;{for(o=a;o<=l;++o){if(r[o]&&q(r[o].$key$)&&r[o].$key$===c.$key$){s=o;break}}}if(s>=0){h=r[s];if(h.$tag$!==c.$tag$){d=fe(r&&r[i],t,s,e)}else{pe(h,c);r[s]=undefined;d=h.$elm$}c=n[++i]}else{d=fe(r&&r[i],t,i,e);c=n[++i]}if(d){{me(f.$elm$).insertBefore(d,he(f.$elm$))}}}}if(a>l){ue(e,n[u+1]==null?null:n[u+1].$elm$,t,n,i,u)}else if(i>u){ce(r,a,l)}};var de=function(e,r){if(e.$tag$===r.$tag$){if(e.$tag$==="slot"){return e.$name$===r.$name$}{return e.$key$===r.$key$}return true}return false};var he=function(e){return e&&e["s-ol"]||e};var me=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var pe=function(e,r){var t=r.$elm$=e.$elm$;var n=e.$children$;var a=r.$children$;var i;if(!q(r.$text$)){{if(r.$tag$==="slot");else{le(e,r,c)}}if(q(n)&&q(a)){ve(t,n,r,a)}else if(q(a)){if(q(e.$text$)){t.textContent=""}ue(t,null,r,a,0,a.length-1)}else if(q(n)){ce(n,0,n.length-1)}}else if(i=t["s-cr"]){i.parentNode.textContent=r.$text$}else if(e.$text$!==r.$text$){t.textContent=r.$text$}};var ge=function(e,r,t,n,a,i,s,o){t=e.childNodes;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){s=r["s-sn"];r.hidden=false;for(i=0;i<a;i++){if(t[i]["s-hn"]!==r["s-hn"]){o=t[i].nodeType;if(s!==""){if(o===1&&s===t[i].getAttribute("slot")){r.hidden=true;break}}else{if(o===1||o===3&&t[i].textContent.trim()!==""){r.hidden=true;break}}}}}ge(r)}}};var ye=[];var be=function(e){var r=e.childNodes;var t=r.length;var n=0;var a=0;var i=0;var s;var o;var l;var f;for(t=r.length;n<t;n++){s=r[n];if(s["s-sr"]&&(o=s["s-cr"])){l=o.parentNode.childNodes;f=s["s-sn"];for(a=l.length-1;a>=0;a--){o=l[a];if(!o["s-cn"]&&!o["s-nr"]&&o["s-hn"]!==s["s-hn"]){i=o.nodeType;if((i===3||i===8)&&f===""||i===1&&o.getAttribute("slot")===null&&f===""||i===1&&o.getAttribute("slot")===f){if(!ye.some((function(e){return e.$nodeToRelocate$===o}))){$=true;o["s-sn"]=f;ye.push({$slotRefNode$:s,$nodeToRelocate$:o})}}}}}if(s.nodeType===1){be(s)}}};var we=function(e,r){if(e){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(r?null:e.$elm$);e.$children$&&e.$children$.forEach((function(e){we(e,r)}))}};var Re=function(e,r,t,n){l=e.tagName;var a=r.$vnode$||{$flags$:0};var i=te(n)?n:ee(null,null,n);if(t.$attrsToReflect$){i.$attrs$=i.$attrs$||{};t.$attrsToReflect$.forEach((function(r){var t=r[0],n=r[1];return i.$attrs$[n]=e[t]}))}i.$tag$=null;i.$flags$|=4;r.$vnode$=i;i.$elm$=a.$elm$=e.shadowRoot||e;{s=e["s-sc"]}{o=e["s-cr"];f=m&&(t.$flags$&1)!==0;u=$=false}pe(a,i);{if(u){be(i.$elm$);for(var c=0;c<ye.length;c++){var v=ye[c];if(!v.$nodeToRelocate$["s-ol"]){var p=d.createTextNode("");p["s-nr"]=v.$nodeToRelocate$;v.$nodeToRelocate$.parentNode.insertBefore(v.$nodeToRelocate$["s-ol"]=p,v.$nodeToRelocate$)}}h.$flags$|=1;for(var c=0;c<ye.length;c++){var v=ye[c];var g=v.$slotRefNode$.parentNode;var y=v.$slotRefNode$.nextSibling;var p=v.$nodeToRelocate$["s-ol"];while(p=p.previousSibling){var b=p["s-nr"];if(b&&b["s-sn"]===v.$nodeToRelocate$["s-sn"]&&g===b.parentNode){b=b.nextSibling;if(!b||!b["s-nr"]){y=b;break}}}if(!y&&g!==v.$nodeToRelocate$.parentNode||v.$nodeToRelocate$.nextSibling!==y){if(v.$nodeToRelocate$!==y){g.insertBefore(v.$nodeToRelocate$,y)}}}h.$flags$&=~1}if($){ge(i.$elm$)}ye.length=0}};var _e=function(e,r,t,n){{r.$flags$|=16}var a=r.$lazyInstance$;var i=function(){return Se(e,r,t,a,n)};var s;if(n){{r.$flags$|=256}if(r.$queuedListeners$){r.$queuedListeners$.forEach((function(e){var r=e[0],t=e[1];return Le(a,r,t)}));r.$queuedListeners$=null}{s=Le(a,"componentWillLoad")}}else{{s=Le(a,"componentWillUpdate")}}return Te(s,(function(){return z(i)}))};var Se=function(e,r,t,n,a){{r.$flags$&=~16}{e["s-lr"]=false}if(a){Y(e,t,r.$modeName$)}{{r.$flags$|=4;try{Re(e,r,t,n.render&&n.render())}catch(e){x(e)}r.$flags$&=~4}}if(T){T.updateHost(e)}{e["s-lr"]=true}{r.$flags$|=2}if(e["s-rc"].length>0){e["s-rc"].forEach((function(e){return e()}));e["s-rc"].length=0}xe(e,r)};var xe=function(e,r,t){if(!e["s-al"]){var n=r.$lazyInstance$;var a=r.$ancestorComponent$;if(!(r.$flags$&64)){r.$flags$|=64;{e.classList.add(Q)}{Le(n,"componentDidLoad")}{r.$onReadyResolve$(e)}if(!a){Ee()}}else{{Le(n,"componentDidUpdate")}}if(a){if(t=a["s-al"]){t.delete(e);if(t.size===0){a["s-al"]=undefined;a["s-init"]()}}r.$ancestorComponent$=undefined}}};var Ne=function(e,r){{var t=w(e);if(t.$flags$&2){_e(e,t,r,false)}}};var Ee=function(){{d.documentElement.classList.add(Q)}{h.$flags$|=2}};var Le=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){x(e)}}return undefined};var Te=function(e,r){return e&&e.then?e.then(r):r()};var ke=function(e,r){return w(e).$instanceValues$.get(r)};var Ce=function(e,r,t,n){var a=w(e);var i=a.$hostElement$;var s=a.$instanceValues$.get(r);var o=a.$flags$;var l=a.$lazyInstance$;t=G(t,n.$members$[r][0]);if(t!==s&&(!(o&8)||s===undefined)){a.$instanceValues$.set(r,t);if(l){if(n.$watchers$&&o&128){var f=n.$watchers$[r];if(f){f.forEach((function(e){try{l[e](t,s,r)}catch(e){x(e)}}))}}if((o&(4|2|16))===2){_e(i,a,n,false)}}}};var je=function(e,r,t){if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var n=Object.entries(r.$members$);var a=e.prototype;n.forEach((function(e){var n=e[0],i=e[1][0];if(i&31||t&2&&i&32){Object.defineProperty(a,n,{get:function(){return ke(this,n)},set:function(e){Ce(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var i=new Map;a.attributeChangedCallback=function(e,r,t){var n=this;h.jmp((function(){var r=i.get(e);n[r]=t===null&&typeof n[r]==="boolean"?false:t}))};e.observedAttributes=n.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a=n[1]||t;i.set(a,t);if(n[0]&512){r.$attrsToReflect$.push([t,a])}return a}))}}return e};var Ue=function(e,r,t){r.$queuedListeners$=r.$queuedListeners$||[];var n=t.map((function(t){var n=t[0],a=t[1],i=t[2];var s=e;var o=Ae(r,i);var l=Pe(n);h.ael(s,a,o,l);return function(){return h.rel(s,a,o,l)}}));return function(){return n.forEach((function(e){return e()}))}};var Ae=function(e,r){return function(t){{if(e.$flags$&256){e.$lazyInstance$[r](t)}else{e.$queuedListeners$.push([r,t])}}}};var Pe=function(e){return p?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var Oe=function(e,n,a,i,s){return __awaiter(t,void 0,void 0,(function(){var t,i,o,l;return __generator(this,(function(f){switch(f.label){case 0:if(!((n.$flags$&32)===0))return[3,5];n.$flags$|=32;s=E(a);if(!s.then)return[3,2];return[4,s];case 1:s=f.sent();f.label=2;case 2:if(!s.isProxied){{a.$watchers$=s.watchers}je(s,a,2);s.isProxied=true}{n.$flags$|=8}try{new s(n)}catch(e){x(e)}{n.$flags$&=~8}{n.$flags$|=128}Be(n.$lazyInstance$);t=Z(a.$tagName$);if(!(!L.has(t)&&s.style))return[3,5];i=s.style;if(!(a.$flags$&8))return[3,4];return[4,r.import("./p-42fb7034.system.js").then((function(e){return e.scopeCss(i,t,false)}))];case 3:i=f.sent();f.label=4;case 4:K(t,i,!!(a.$flags$&1));f.label=5;case 5:o=n.$ancestorComponent$;l=function(){return _e(e,n,a,true)};if(o&&o["s-lr"]===false&&o["s-rc"]){o["s-rc"].push(l)}else{l()}return[2]}}))}))};var Be=function(e){{Le(e,"connectedCallback")}};var Ie=function(e,r){if((h.$flags$&1)===0){var t=w(e);if(r.$listeners$){t.$rmListeners$=Ue(e,t,r.$listeners$)}if(!(t.$flags$&1)){t.$flags$|=1;var n=void 0;if(!n){if(r.$flags$&4||r.$flags$&8){ze(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-init"]&&a["s-lr"]===false){t.$ancestorComponent$=a;(a["s-al"]=a["s-al"]||new Set).add(e);break}}}if(r.$members$){Object.entries(r.$members$).forEach((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{B((function(){return Oe(e,t,r)}))}}Be(t.$lazyInstance$)}};var ze=function(e,r){r=e["s-cr"]=d.createComment("");r["s-cn"]=true;e.insertBefore(r,e.firstChild)};var Me=function(e){if((h.$flags$&1)===0){var r=w(e);var t=r.$lazyInstance$;{if(r.$rmListeners$){r.$rmListeners$();r.$rmListeners$=undefined}}if(T){T.removeHost(e)}{Le(t,"disconnectedCallback")}{Le(t,"componentDidUnload")}}};var qe=e("b",(function(e,r){if(r===void 0){r={}}var t=[];var n=r.exclude||[];var a=d.head;var i=v.customElements;var s=a.querySelector("meta[charset]");var o=d.createElement("style");var l;Object.assign(h,r);h.$resourcesUrl$=new URL(r.resourcesUrl||"./",d.baseURI).href;if(r.syncQueue){h.$flags$|=4}e.forEach((function(e){return e[1].forEach((function(r){var a={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{a.$attrsToReflect$=[]}{a.$watchers$={}}if(!m&&a.$flags$&1){a.$flags$|=8}var s=a.$tagName$;var o=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;{t["s-lr"]=false;t["s-rc"]=[]}_(r);if(a.$flags$&1){if(m){r.attachShadow({mode:"open"})}else if(!("shadowRoot"in r)){r.shadowRoot=r}}return t}r.prototype.connectedCallback=function(){var e=this;if(l){clearTimeout(l);l=null}h.jmp((function(){return Ie(e,a)}))};r.prototype.disconnectedCallback=function(){var e=this;h.jmp((function(){return Me(e)}))};r.prototype["s-init"]=function(){var e=w(this);if(e.$lazyInstance$){xe(this,e)}};r.prototype["s-hmr"]=function(e){};r.prototype.forceUpdate=function(){Ne(this,a)};r.prototype.componentOnReady=function(){return w(this).$onReadyPromise$};return r}(HTMLElement);a.$lazyBundleIds$=e[0];if(!n.includes(s)&&!i.get(s)){t.push(s);i.define(s,je(o,a,1))}}))}));o.innerHTML=t+"{visibility:hidden}.hydrated{visibility:inherit}";o.setAttribute("data-styles","");a.insertBefore(o,s?s.nextSibling:a.firstChild);h.jmp((function(){return l=setTimeout(Ee,30)}))}));var He=e("d",(function(e,r,t){var n=De(e);return{emit:function(e){return n.dispatchEvent(new CustomEvent(r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e}))}}}));var Ve=function(e){var r=new URL(e,h.$resourcesUrl$);return r.origin!==v.location.origin?r.href:r.pathname};var We=e("c",(function(e,r){if(r in y){return y[r]}else if(r==="window"){return v}else if(r==="document"){return d}else if(r==="isServer"||r==="isPrerender"){return false}else if(r==="isClient"){return true}else if(r==="resourcesUrl"||r==="publicPath"){return Ve(".")}else if(r==="queue"){return{write:z,read:I,tick:{then:function(e){return B(e)}}}}return undefined}));var De=e("g",(function(e){return w(e).$hostElement$}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,g as e}from"./p-b6e44a24.js";import{A as s}from"./p-efb0eac6.js";const i=class{constructor(e){t(this,e),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return e(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};s.injectProps(i,["titleSuffix"]);export{i as rindo_route_title};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g"),r=e=>e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1"),t=e=>e.replace(/([=!:$\/()])/g,"\\$1"),n=e=>e&&e.sensitive?"":"i",a=(e,t,a)=>{for(var o=(a=a||{}).strict,s=!1!==a.end,i=r(a.delimiter||"/"),l=a.delimiters||"./",c=[].concat(a.endsWith||[]).map(r).concat("$").join("|"),u="",f=!1,p=0;p<e.length;p++){var d=e[p];if("string"==typeof d)u+=r(d),f=p===e.length-1&&l.indexOf(d[d.length-1])>-1;else{var h=r(d.prefix||""),v=d.repeat?"(?:"+d.pattern+")(?:"+h+"(?:"+d.pattern+"))*":d.pattern;t&&t.push(d),u+=d.optional?d.partial?h+"("+v+")?":"(?:"+h+"("+v+"))?":h+"("+v+")"}}return s?(o||(u+="(?:"+i+")?"),u+="$"===c?"$":"(?="+c+")"):(o||(u+="(?:"+i+"(?="+c+"))?"),f||(u+="(?="+i+"|"+c+")")),new RegExp("^"+u,n(a))},o=(s,i,l)=>s instanceof RegExp?((e,r)=>{if(!r)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var n=0;n<t.length;n++)r.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e})(s,i):Array.isArray(s)?((e,r,t)=>{for(var a=[],s=0;s<e.length;s++)a.push(o(e[s],r,t).source);return new RegExp("(?:"+a.join("|")+")",n(t))})(s,i,l):((n,o,s)=>a(((n,a)=>{for(var o,s=[],i=0,l=0,c="",u=a&&a.delimiter||"/",f=a&&a.delimiters||"./",p=!1;null!==(o=e.exec(n));){var d=o[0],h=o[1],v=o.index;if(c+=n.slice(l,v),l=v+d.length,h)c+=h[1],p=!0;else{var g="",y=n[l],E=o[2],x=o[3],R=o[4],m=o[5];if(!p&&c.length){var $=c.length-1;f.indexOf(c[$])>-1&&(g=c[$],c=c.slice(0,$))}c&&(s.push(c),c="",p=!1);var O=g||u,_=x||R;s.push({name:E||i++,prefix:g,delimiter:O,optional:"?"===m||"*"===m,repeat:"+"===m||"*"===m,partial:""!==g&&void 0!==y&&y!==g,pattern:_?t(_):"[^"+r(O)+"]+?"})}}return(c||l<n.length)&&s.push(c+n.substr(l)),s})(n,s),o,s))(s,i,l),s=(e,r)=>new RegExp("^"+r+"(\\/|\\?|#|$)","i").test(e),i=(e,r)=>s(e,r)?e.substr(r.length):e,l=e=>"/"===e.charAt(e.length-1)?e.slice(0,-1):e,c=e=>"/"===e.charAt(0)?e:"/"+e,u=e=>"/"===e.charAt(0)?e.substr(1):e,f=e=>{const{pathname:r,search:t,hash:n}=e;let a=r||"/";return t&&"?"!==t&&(a+="?"===t.charAt(0)?t:`?${t}`),n&&"#"!==n&&(a+="#"===n.charAt(0)?n:`#${n}`),a},p=e=>"/"===e.charAt(0),d=e=>Math.random().toString(36).substr(2,e),h=(e,r)=>{for(let t=r,n=t+1,a=e.length;n<a;t+=1,n+=1)e[t]=e[n];e.pop()},v=(e,r)=>{if(e===r)return!0;if(null==e||null==r)return!1;if(Array.isArray(e))return Array.isArray(r)&&e.length===r.length&&e.every((e,t)=>v(e,r[t]));const t=typeof e;if(t!==typeof r)return!1;if("object"===t){const t=e.valueOf(),n=r.valueOf();if(t!==e||n!==r)return v(t,n);const a=Object.keys(e),o=Object.keys(r);return a.length===o.length&&a.every(t=>v(e[t],r[t]))}return!1},g=(e,r)=>e.pathname===r.pathname&&e.search===r.search&&e.hash===r.hash&&e.key===r.key&&v(e.state,r.state),y=(e,r,t,n)=>{let a;"string"==typeof e?(a=(e=>{let r=e||"/",t="",n="";const a=r.indexOf("#");-1!==a&&(n=r.substr(a),r=r.substr(0,a));const o=r.indexOf("?");return-1!==o&&(t=r.substr(o),r=r.substr(0,o)),{pathname:r,search:"?"===t?"":t,hash:"#"===n?"":n,query:{},key:""}})(e),void 0!==r&&(a.state=r)):((a=Object.assign({pathname:""},e)).search&&"?"!==a.search.charAt(0)&&(a.search="?"+a.search),a.hash&&"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash),void 0!==r&&void 0===a.state&&(a.state=r));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return a.key=t,n?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=((e,r="")=>{let t,n=r&&r.split("/")||[],a=0;const o=e&&e.split("/")||[],s=e&&p(e),i=r&&p(r),l=s||i;if(e&&p(e)?n=o:o.length&&(n.pop(),n=n.concat(o)),!n.length)return"/";if(n.length){const e=n[n.length-1];t="."===e||".."===e||""===e}else t=!1;for(let e=n.length;e>=0;e--){const r=n[e];"."===r?h(n,e):".."===r?(h(n,e),a++):a&&(h(n,e),a--)}if(!l)for(;a--;a)n.unshift("..");!l||""===n[0]||n[0]&&p(n[0])||n.unshift("");let c=n.join("/");return t&&"/"!==c.substr(-1)&&(c+="/"),c})(a.pathname,n.pathname)):a.pathname=n.pathname:a.pathname||(a.pathname="/"),a.query=(e=>e?(/^[?#]/.test(e)?e.slice(1):e).split("&").reduce((e,r)=>{let[t,n]=r.split("=");return e[t]=n?decodeURIComponent(n.replace(/\+/g," ")):"",e},{}):{})(a.search||""),a};let E=0;const x={},R=(e,r={})=>{"string"==typeof r&&(r={path:r});const{path:t="/",exact:n=!1,strict:a=!1}=r,{re:s,keys:i}=((e,r)=>{const t=`${r.end}${r.strict}`,n=x[t]||(x[t]={}),a=JSON.stringify(e);if(n[a])return n[a];const s=[],i={re:o(e,s,r),keys:s};return E<1e4&&(n[a]=i,E+=1),i})(t,{end:n,strict:a}),l=s.exec(e);if(!l)return null;const[c,...u]=l,f=e===c;return n&&!f?null:{path:t,url:"/"===t&&""===c?"/":c,isExact:f,params:i.reduce((e,r,t)=>(e[r.name]=u[t],e),{})}},m=(e,r)=>null==e&&null==r||null!=r&&e&&r&&e.path===r.path&&e.url===r.url&&v(e.params,r.params),$=(e,r,t)=>t(e.confirm(r)),O=e=>e.metaKey||e.altKey||e.ctrlKey||e.shiftKey,_=e=>{const r=e.navigator.userAgent;return(-1===r.indexOf("Android 2.")&&-1===r.indexOf("Android 4.0")||-1===r.indexOf("Mobile Safari")||-1!==r.indexOf("Chrome")||-1!==r.indexOf("Windows Phone"))&&e.history&&"pushState"in e.history},b=e=>-1===e.userAgent.indexOf("Trident"),w=e=>-1===e.userAgent.indexOf("Firefox"),A=(e,r)=>void 0===r.state&&-1===e.userAgent.indexOf("CriOS"),j=(e,r)=>{const t=e[r],n="__storage_test__";try{return t.setItem(n,n),t.removeItem(n),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==t.length}};export{m as a,_ as b,b as c,l as d,c as e,y as f,d as g,s as h,i,f as j,$ as k,A as l,R as m,w as n,u as o,g as p,O as q,j as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),a=0,t=0;t<e;t++)for(var i=arguments[t],c=0,o=i.length;c<o;c++,a++)n[a]=i[c];return n};System.register(["./p-68613371.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.h}],execute:function(){var e=function(r,t){var e=new Map;var n=r;var a=function(r,t){if(Array.isArray(r)){__spreadArrays(r).forEach((function(r){t[r]=n[r]}))}else{t[r]=Object.assign({},n)}};var i=function(r,t){if(!e.has(r)){e.set(r,t);a(t,r)}return function(){if(e.has(r)){e.delete(r)}}};var c=function(r,t){var i=r.state;n=i;e.forEach(a);return t};var o=function(r,e){return t(i,e[0])};var s=function(r,t){var n=r.prototype;var a=n.connectedCallback;var c=n.disconnectedCallback;n.connectedCallback=function(){i(this,t);if(a){return a.call(this)}};n.disconnectedCallback=function(){e.delete(this);if(c){c.call(this)}}};return{Provider:c,Consumer:o,injectProps:s}};var n=r("A",e({historyType:"browser",location:{pathname:"",query:{},key:""},titleSuffix:"",root:"/",routeViewsUpdated:function(){}},(function(r,e){return t("context-consumer",{subscribe:r,renderer:e})})))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e,t,n,s=0,o=!1,l=!1,r=!1,i=!1;const c=window,a=document,f={t:0,s:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s)},u=(()=>!!a.documentElement.attachShadow)(),p=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),$={},d=new WeakMap,m=e=>d.get(e),h=(e,t)=>d.set(t.o=e,t),w=(e,t)=>t in e,y=e=>console.error(e),b=new Map,v=new Map,_=[],g=[],j=[],k=(e,t)=>n=>{e.push(n),o||(o=!0,t&&4&f.t?R(U):f.raf(U))},S=(e,t)=>{let n=0,s=0;for(;n<e.length&&(s=performance.now())<t;)try{e[n++](s)}catch(e){y(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},U=()=>{s++,(e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){y(e)}e.length=0})(_);const e=2==(6&f.t)?performance.now()+10*Math.ceil(s*(1/22)):1/0;S(g,e),S(j,e),g.length>0&&(j.push(...g),g.length=0),(o=_.length+g.length+j.length>0)?f.raf(U):s=0},R=e=>Promise.resolve().then(e),M=k(_,!1),L=k(g,!0),C={},O=e=>null!=e,x=e=>"object"==(e=typeof e)||"function"===e,E=()=>c.CSS&&c.CSS.supports&&c.CSS.supports("color","var(--c)")?Promise.resolve():__sc_import_app("./p-67c1f911.js"),P=async()=>{const e=new RegExp("/app(\\.esm)?\\.js($|\\?|#)"),t=Array.from(a.querySelectorAll("script")).find(t=>e.test(t.src)||"app"===t.getAttribute("data-rindo-namespace")),n=t["data-opts"];{const e=new URL(".",new URL(t.getAttribute("data-resources-url")||t.src,c.location.href));return T(e.href),window.customElements||await __sc_import_app("./p-020f8d73.js"),Object.assign(Object.assign({},n),{resourcesUrl:e.href})}},T=e=>{const t=(()=>`__sc_import_${"app".replace(/\s|-/g,"_")}`)();try{c[t]=new Function("w",`return import(w);//${Math.random()}`)}catch(n){const s=new Map;c[t]=n=>{const o=new URL(n,e).href;let l=s.get(o);if(!l){const e=a.createElement("script");e.type="module",e.src=URL.createObjectURL(new Blob([`import * as m from '${o}'; window.${t}.m = m;`],{type:"application/javascript"})),l=new Promise(n=>{e.onload=()=>{n(c[t].m),e.remove()}}),s.set(o,l),a.head.appendChild(e)}return l}}},W=new WeakMap,A=e=>"sc-"+e,D=(e,t,...n)=>{let s,o,l=null,r=!1,i=!1,c=[];const a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((r="function"!=typeof e&&!x(l))&&(l=String(l)),r&&i?c[c.length-1].l+=l:c.push(r?{t:0,l}:l),i=r)};if(a(n),t){s=t.key||void 0,o=t.name;{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(t,c,q);const f={t:0,i:e,u:c.length>0?c:null,p:void 0,$:t};return f.h=s,f.v=o,f},F={},q={forEach:(e,t)=>e.map(H).forEach(t),map:(e,t)=>e.map(H).map(t).map(N)},H=e=>({vattrs:e.$,vchildren:e.u,vkey:e.h,vname:e.v,vtag:e.i,vtext:e.l}),N=e=>({t:0,$:e.vattrs,u:e.vchildren,h:e.vkey,v:e.vname,i:e.vtag,l:e.vtext}),B=(e,t,n,s,o,l)=>{if(n===s)return;let r=w(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList;V(n).forEach(e=>t.remove(e)),V(s).forEach(e=>t.add(e))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const c=x(s),a=null;if((r||c&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{let o=null==s?"":s;null!=n&&e[t]===(o=String(o))||(e[t]=o)}}catch(e){}null==s||!1===s?e.removeAttributeNS(a,i):(!r||4&l||o)&&!c&&e.setAttributeNS(a,i,s=!0===s?"":s)}else t="-"===t[2]?t.substr(3):w(e,i)?i.substr(2):i[2]+t.substr(3),n&&f.rel(e,t,n,!1),s&&f.ael(e,t,s,!1)},V=e=>e?e.split(/\s+/).filter(e=>e):[],z=(e,t,n,s)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,l=e&&e.$||C,r=t.$||C;for(s in l)s in r||B(o,s,l[s],void 0,n,t.t);for(s in r)B(o,s,l[s],r[s],n,t.t)},G=(s,o,r,c)=>{let f,u,p,$=o.u[r],d=0;if(l||(i=!0,"slot"===$.i&&(e&&c.classList.add(e+"-s"),$.t|=$.u?2:1)),O($.l))$.p=a.createTextNode($.l);else if(1&$.t)$.p=a.createTextNode("");else if(f=$.p=a.createElement(2&$.t?"slot-fb":$.i),z(null,$,!1),O(e)&&f["s-si"]!==e&&f.classList.add(f["s-si"]=e),$.u)for(d=0;d<$.u.length;++d)(u=G(s,$,d,f))&&f.appendChild(u);return $.p["s-hn"]=n,3&$.t&&($.p["s-sr"]=!0,$.p["s-cr"]=t,$.p["s-sn"]=$.v||"",(p=s&&s.u&&s.u[r])&&p.i===$.i&&s.p&&I(s.p,!1)),$.p},I=(e,t)=>{f.t|=1;const s=e.childNodes;for(let e=s.length-1;e>=0;e--){const o=s[e];o["s-hn"]!==n&&o["s-ol"]&&(Y(o).insertBefore(o,X(o)),o["s-ol"].remove(),o["s-ol"]=void 0,i=!0),t&&I(o,t)}f.t&=-2},J=(e,t,s,o,l,r)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);l<=r;++l)o[l]&&(i=G(null,s,l,e))&&(o[l].p=i,c.insertBefore(i,X(t)))},K=(e,t,n,s)=>{for(;t<=n;++t)O(e[t])&&(s=e[t].p,se(e[t],!0),r=!0,s["s-ol"]?s["s-ol"].remove():I(s,!0),s.remove())},Q=(e,t)=>e.i===t.i&&("slot"===e.i?e.v===t.v:e.h===t.h),X=e=>e&&e["s-ol"]||e,Y=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Z=(e,t)=>{const n=t.p=e.p,s=e.u,o=t.u;let l;O(t.l)?(l=n["s-cr"])?l.parentNode.textContent=t.l:e.l!==t.l&&(n.textContent=t.l):("slot"===t.i||z(e,t,!1),O(s)&&O(o)?((e,t,n,s)=>{let o,l,r=0,i=0,c=0,a=0,f=t.length-1,u=t[0],p=t[f],$=s.length-1,d=s[0],m=s[$];for(;r<=f&&i<=$;)if(null==u)u=t[++r];else if(null==p)p=t[--f];else if(null==d)d=s[++i];else if(null==m)m=s[--$];else if(Q(u,d))Z(u,d),u=t[++r],d=s[++i];else if(Q(p,m))Z(p,m),p=t[--f],m=s[--$];else if(Q(u,m))"slot"!==u.i&&"slot"!==m.i||I(u.p.parentNode,!1),Z(u,m),e.insertBefore(u.p,p.p.nextSibling),u=t[++r],m=s[--$];else if(Q(p,d))"slot"!==u.i&&"slot"!==m.i||I(p.p.parentNode,!1),Z(p,d),e.insertBefore(p.p,u.p),p=t[--f],d=s[++i];else{for(c=-1,a=r;a<=f;++a)if(t[a]&&O(t[a].h)&&t[a].h===d.h){c=a;break}c>=0?((l=t[c]).i!==d.i?o=G(t&&t[i],n,c,e):(Z(l,d),t[c]=void 0,o=l.p),d=s[++i]):(o=G(t&&t[i],n,i,e),d=s[++i]),o&&Y(u.p).insertBefore(o,X(u.p))}r>f?J(e,null==s[$+1]?null:s[$+1].p,n,s,i,$):i>$&&K(t,r,f)})(n,s,t,o):O(o)?(O(e.l)&&(n.textContent=""),J(n,null,t,o,0,o.length-1)):O(s)&&K(s,0,s.length-1))},ee=(e,t,n,s,o,l,r,i)=>{for(s=0,o=(n=e.childNodes).length;s<o;s++)if(1===(t=n[s]).nodeType){if(t["s-sr"])for(r=t["s-sn"],t.hidden=!1,l=0;l<o;l++)if(n[l]["s-hn"]!==t["s-hn"])if(i=n[l].nodeType,""!==r){if(1===i&&r===n[l].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==n[l].textContent.trim()){t.hidden=!0;break}ee(t)}},te=[],ne=e=>{let t,n,s,o,l=e.childNodes,i=l.length,c=0,a=0,f=0;for(i=l.length;c<i;c++){if((t=l[c])["s-sr"]&&(n=t["s-cr"]))for(o=t["s-sn"],a=(s=n.parentNode.childNodes).length-1;a>=0;a--)(n=s[a])["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||((3===(f=n.nodeType)||8===f)&&""===o||1===f&&null===n.getAttribute("slot")&&""===o||1===f&&n.getAttribute("slot")===o)&&(te.some(e=>e._===n)||(r=!0,n["s-sn"]=o,te.push({g:t,_:n})));1===t.nodeType&&ne(t)}},se=(e,t)=>{e&&(e.$&&e.$.ref&&e.$.ref(t?null:e.p),e.u&&e.u.forEach(e=>{se(e,t)}))},oe=(e,t,n,s)=>{t.t|=16;const o=t.o,l=()=>le(e,t,n,o,s);let r;return s?(t.t|=256,t.j&&(t.j.forEach(([e,t])=>ce(o,e,t)),t.j=null),r=ce(o,"componentWillLoad")):r=ce(o,"componentWillUpdate"),ae(r,()=>L(l))},le=(s,o,c,p,$)=>{o.t&=-17,s["s-lr"]=!1,$&&((e,t)=>{const n=((e,t)=>{let n=A(t.k),s=v.get(n);if(e=11===e.nodeType?e:a,s)if("string"==typeof s){let t,o=W.get(e=e.head||e);o||W.set(e,o=new Set),o.has(n)||((t=a.createElement("style")).innerHTML=s,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return n})(u&&e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&t.t&&(e["s-sc"]=n,e.classList.add(n+"-h"))})(s,c),o.t|=4;try{((s,o,c,p)=>{n=s.tagName;const $=o.S||{t:0},d=(e=>e&&e.i===F)(p)?p:D(null,null,p);if(c.U&&(d.$=d.$||{},c.U.forEach(([e,t])=>d.$[t]=s[e])),d.i=null,d.t|=4,o.S=d,d.p=$.p=s.shadowRoot||s,e=s["s-sc"],t=s["s-cr"],l=u&&0!=(1&c.t),i=r=!1,Z($,d),i){ne(d.p);for(let e=0;e<te.length;e++){const t=te[e];if(!t._["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t._,t._.parentNode.insertBefore(t._["s-ol"]=e,t._)}}f.t|=1;for(let e=0;e<te.length;e++){const t=te[e],n=t.g.parentNode;let s=t.g.nextSibling,o=t._["s-ol"];for(;o=o.previousSibling;){let e=o["s-nr"];if(e&&e["s-sn"]===t._["s-sn"]&&n===e.parentNode&&(!(e=e.nextSibling)||!e["s-nr"])){s=e;break}}(!s&&n!==t._.parentNode||t._.nextSibling!==s)&&t._!==s&&n.insertBefore(t._,s)}f.t&=-2}r&&ee(d.p),te.length=0})(s,o,c,p.render&&p.render())}catch(e){y(e)}o.t&=-5,s["s-lr"]=!0,o.t|=2,s["s-rc"].length>0&&(s["s-rc"].forEach(e=>e()),s["s-rc"].length=0),re(s,o)},re=(e,t,n)=>{if(!e["s-al"]){const s=t.o,o=t.R;64&t.t?ce(s,"componentDidUpdate"):(t.t|=64,e.classList.add("hydrated"),ce(s,"componentDidLoad"),t.M(e),o||ie()),o&&((n=o["s-al"])&&(n.delete(e),0===n.size&&(o["s-al"]=void 0,o["s-init"]())),t.R=void 0)}},ie=()=>{a.documentElement.classList.add("hydrated"),f.t|=2},ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){y(e)}},ae=(e,t)=>e&&e.then?e.then(t):t(),fe=(e,t,n)=>{if(t.L){e.watchers&&(t.C=e.watchers);const s=Object.entries(t.L),o=e.prototype;if(s.forEach(([e,[s]])=>{(31&s||2&n&&32&s)&&Object.defineProperty(o,e,{get(){return((e,t)=>m(e).O.get(t))(this,e)},set(n){((e,t,n,s)=>{const o=m(this),l=o.P,r=o.O.get(t),i=o.t,c=o.o;if(!((n=((e,t)=>null==e||x(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e)(n,s.L[t][0]))===r||8&i&&void 0!==r)&&(o.O.set(t,n),c)){if(s.C&&128&i){const e=s.C[t];e&&e.forEach(e=>{try{c[e](n,r,t)}catch(e){y(e)}})}2==(22&i)&&oe(l,o,s,!1)}})(0,e,n,t)},configurable:!0,enumerable:!0})}),1&n){const n=new Map;o.attributeChangedCallback=function(e,t,s){f.jmp(()=>{const t=n.get(e);this[t]=(null!==s||"boolean"!=typeof this[t])&&s})},e.observedAttributes=s.filter(([e,t])=>15&t[0]).map(([e,s])=>{const o=s[1]||e;return n.set(o,e),512&s[0]&&t.U.push([e,o]),o})}}return e},ue=e=>{ce(e,"connectedCallback")},pe=(e,t)=>{(t=e["s-cr"]=a.createComment(""))["s-cn"]=!0,e.insertBefore(t,e.firstChild)},$e=(e,t={})=>{const n=[],s=t.exclude||[],o=a.head,l=c.customElements,r=o.querySelector("meta[charset]"),i=a.createElement("style");let $;Object.assign(f,t),f.s=new URL(t.resourcesUrl||"./",a.baseURI).href,t.syncQueue&&(f.t|=4),e.forEach(e=>e[1].forEach(t=>{const o={t:t[0],k:t[1],L:t[2],T:t[3],U:[],C:{}};!u&&1&o.t&&(o.t|=8);const r=o.k;HTMLElement,o.W=e[0],s.includes(r)||l.get(r)||(n.push(r),l.define(r,fe(class extends HTMLElement{constructor(e){super(e),e=this,this["s-lr"]=!1,this["s-rc"]=[],(e=>{{const t={t:0,P:e,O:new Map};t.A=new Promise(e=>t.M=e),d.set(e,t)}})(e),1&o.t&&(u?e.attachShadow({mode:"open"}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){$&&(clearTimeout($),$=null),f.jmp(()=>((e,t)=>{if(0==(1&f.t)){const n=m(e);if(t.T&&(n.D=((e,t,n)=>{t.j=t.j||[];const s=n.map(([n,s,o])=>{const l=e,r=((e,t)=>n=>{256&e.t?e.o[t](n):e.j.push([t,n])})(t,o),i=(e=>({passive:0!=(1&e),capture:0!=(2&e)}))(n);return f.ael(l,s,r,i),()=>f.rel(l,s,r,i)});return()=>s.forEach(e=>e())})(e,n,t.T)),!(1&n.t)){let s;n.t|=1,s||(4&t.t||8&t.t)&&pe(e);{let t=e;for(;t=t.parentNode||t.host;)if(t["s-init"]&&!1===t["s-lr"]){n.R=t,(t["s-al"]=t["s-al"]||new Set).add(e);break}}t.L&&Object.entries(t.L).forEach(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),R(()=>(async(e,t,n,s,o)=>{if(0==(32&t.t)){t.t|=32,(o=(e=>{const t=e.k.replace(/-/g,"_"),n=e.W,s=b.get(n);return s?s[t]:__sc_import_app(`./${n}.entry.js`).then(e=>(b.set(n,e),e[t]),y)})(n)).then&&(o=await o),o.isProxied||(n.C=o.watchers,fe(o,n,2),o.isProxied=!0),t.t|=8;try{new o(t)}catch(e){y(e)}t.t&=-9,t.t|=128,ue(t.o);const e=A(n.k);if(!v.has(e)&&o.style){let t=o.style;8&n.t&&(t=await __sc_import_app("./p-c1c25b8a.js").then(n=>n.scopeCss(t,e,!1))),((e,t,n)=>{let s=v.get(e);p&&n?(s=s||new CSSStyleSheet).replace(t):s=t,v.set(e,s)})(e,t,!!(1&n.t))}}const l=t.R,r=()=>oe(e,t,n,!0);l&&!1===l["s-lr"]&&l["s-rc"]?l["s-rc"].push(r):r()})(e,n,t))}ue(n.o)}})(this,o))}disconnectedCallback(){f.jmp(()=>(()=>{if(0==(1&f.t)){const e=m(this),t=e.o;e.D&&(e.D(),e.D=void 0),ce(t,"disconnectedCallback"),ce(t,"componentDidUnload")}})())}"s-init"(){const e=m(this);e.o&&re(this,e)}"s-hmr"(e){}forceUpdate(){((e,t)=>{{const n=m(e);2&n.t&&oe(e,n,t,!1)}})(this,o)}componentOnReady(){return m(this).A}},o,1)))})),i.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",i.setAttribute("data-styles",""),o.insertBefore(i,r?r.nextSibling:o.firstChild),f.jmp(()=>$=setTimeout(ie,30))},de=(e,t,n)=>{const s=he(e);return{emit:e=>s.dispatchEvent(new CustomEvent(t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e}))}},me=(e,t)=>t in $?$[t]:"window"===t?c:"document"===t?a:"isServer"!==t&&"isPrerender"!==t&&("isClient"===t||("resourcesUrl"===t||"publicPath"===t?(()=>{const e=new URL(".",f.s);return e.origin!==c.location.origin?e.href:e.pathname})():"queue"===t?{write:L,read:M,tick:{then:e=>R(e)}}:void 0)),he=e=>m(e).P;export{E as a,$e as b,me as c,de as d,he as g,D as h,P as p,h as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const s=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",o=new RegExp("(-shadowcsshost"+s,"gim"),t=new RegExp("(-shadowcsscontext"+s,"gim"),n=new RegExp("(-shadowcssslotted"+s,"gim"),e=/-shadowcsshost-no-combinator([^\s]*)/,c=[/::shadow/g,/::content/g],r=/-shadowcsshost/gim,h=/:host/gim,a=/::slotted/gim,d=/:host-context/gim,g=/\/\*\s*[\s\S]*?\*\//g,i=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,l=/([{}])/g,u=(s,o)=>{const t=w(s);let n=0;return t.escapedString.replace(m,(...s)=>{const e=s[2];let c="",r=s[4],h="";r&&r.startsWith("{%BLOCK%")&&(c=t.blocks[n++],r=r.substring("%BLOCK%".length+1),h="{");const a=o({selector:e,content:c});return`${s[1]}${a.selector}${s[3]}${h}${a.content}${r}`})},w=s=>{const o=s.split(l),t=[],n=[];let e=0,c=[];for(let s=0;s<o.length;s++){const r=o[s];"}"===r&&e--,e>0?c.push(r):(c.length>0&&(n.push(c.join("")),t.push("%BLOCK%"),c=[]),t.push(r)),"{"===r&&e++}return c.length>0&&(n.push(c.join("")),t.push("%BLOCK%")),{escapedString:t.join(""),blocks:n}},p=(s,o,t)=>s.replace(o,(...s)=>{if(s[2]){const o=s[2].split(","),n=[];for(let e=0;e<o.length;e++){const c=o[e].trim();if(!c)break;n.push(t("-shadowcsshost-no-combinator",c,s[3]))}return n.join(",")}return"-shadowcsshost-no-combinator"+s[3]}),_=(s,o,t)=>s+o.replace("-shadowcsshost","")+t,$=(s,o,t)=>o.indexOf("-shadowcsshost")>-1?_(s,o,t):s+o+t+", "+o+" "+s+t,b=(s,o,t,n)=>u(s,s=>{let c=s.selector,h=s.content;return"@"!==s.selector[0]?c=((s,o,t,n)=>s.split(",").map(s=>n&&s.indexOf("."+n)>-1?s.trim():((s,o)=>!(s=>(s=s.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+s+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(o).test(s))(s,o)?((s,o,t)=>{const n="."+(o=o.replace(/\[is=([^\]]*)\]/g,(s,...o)=>o[0])),c=s=>{let c=s.trim();if(!c)return"";if(s.indexOf("-shadowcsshost-no-combinator")>-1)c=((s,o,t)=>{if(r.lastIndex=0,r.test(s)){const o=`.${t}`;return s.replace(e,(s,t)=>t.replace(/([^:]*)(:*)(.*)/,(s,t,n,e)=>t+o+n+e)).replace(r,o+" ")}return o+" "+s})(s,o,t);else{const o=s.replace(r,"");if(o.length>0){const s=o.match(/([^:]*)(:*)(.*)/);s&&(c=s[1]+n+s[2]+s[3])}}return c},h=(s=>{const o=[];let t,n=0;return{content:t=(s=s.replace(/(\[[^\]]*\])/g,(s,t)=>{const e=`__ph-${n}__`;return o.push(t),n++,e})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(s,t,e)=>{const c=`__ph-${n}__`;return o.push(e),n++,t+c}),placeholders:o}})(s);let a,d="",g=0;const i=/( |>|\+|~(?!=))\s*/g;let m=!((s=h.content).indexOf("-shadowcsshost-no-combinator")>-1);for(;null!==(a=i.exec(s));){const o=a[1],t=s.slice(g,a.index).trim();d+=`${(m=m||t.indexOf("-shadowcsshost-no-combinator")>-1)?c(t):t} ${o} `,g=i.lastIndex}const l=s.substring(g);return d+=(m=m||l.indexOf("-shadowcsshost-no-combinator")>-1)?c(l):l,((s,o)=>o.replace(/__ph-(\d+)__/g,(o,t)=>s[+t]))(h.placeholders,d)})(s,o,t).trim():s.trim()).join(", "))(s.selector,o,t,n):(s.selector.startsWith("@media")||s.selector.startsWith("@supports")||s.selector.startsWith("@page")||s.selector.startsWith("@document"))&&(h=b(s.content,o,t,n)),{selector:c.replace(/\s{2,}/g," ").trim(),content:h}}),f=(s,e,r)=>{const m=e+"-h",l=e+"-s",w=(s=>s.match(i)||[])(s);s=(s=>s.replace(g,""))(s);const f=[];if(r){const o=s=>{const o=`/*!@___${f.length}___*/`;return f.push({placeholder:o,comment:`/*!@${s.selector}*/`}),s.selector=o+s.selector,s};s=u(s,s=>"@"!==s.selector[0]?o(s):s.selector.startsWith("@media")||s.selector.startsWith("@supports")||s.selector.startsWith("@page")||s.selector.startsWith("@document")?(s.content=u(s.content,o),s):s)}const x=((s,e,r,g)=>(s=(s=>c.reduce((s,o)=>s.replace(o," "),s))(s=((s,o)=>s.replace(n,(...s)=>{if(s[2]){const t=s[2].trim();return"."+o+" > "+t+s[3]}return"-shadowcsshost-no-combinator"+s[3]}))(s=(s=>p(s,t,$))(s=(s=>p(s,o,_))(s=(s=>s=s.replace(d,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(a,"-shadowcssslotted"))(s))),g)),e&&(s=b(s,e,r,g)),(s=(s=s.replace(/-shadowcsshost-no-combinator/g,`.${r}`)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim()))(s,e,m,l);return s=[x,...w].join("\n"),r&&f.forEach(({placeholder:o,comment:t})=>{s=s.replace(o,t)}),s};export{f as scopeCss};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,s){function a(t){try{u(n.next(t))}catch(t){s(t)}}function o(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?r(t.value):i(t.value).then(a,o)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(t){return function(e){return u([t,e])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(s=a[0]&2?i["return"]:a[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,a[1])).done)return s;if(i=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;i=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(s=r.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){r.label=a[1];break}if(a[0]===6&&r.label<s[1]){r.label=s[1];s=a;break}if(s&&r.label<s[2]){r.label=s[2];r.ops.push(a);break}if(s[2])r.ops.pop();r.trys.pop();continue}a=e.call(t,r)}catch(t){a=[6,t];i=0}finally{n=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-68613371.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.r;r=t.h}],execute:function(){var n=t("screenshot_preview",function(){function t(t){e(this,t);this.appSrcUrl="";this.imagesUrl="/data/images/";this.buildsUrl="/data/builds/"}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,r,n;return __generator(this,(function(i){switch(i.label){case 0:t="master";if(this.match&&this.match.params.buildId){t=this.match.params.buildId.substr(0,7)}e=""+this.buildsUrl+t+".json";if(t==="master"){e+="?ts="+Date.now()}return[4,fetch(e)];case 1:r=i.sent();if(!r.ok)return[3,3];n=this;return[4,r.json()];case 2:n.build=i.sent();document.title=this.build.id+" Preview: "+this.build.message;i.label=3;case 3:return[2]}}))}))};t.prototype.render=function(){var t=this;var e=[];if(this.build){this.build.screenshots.forEach((function(r){var n=r.testPath.split("/");n.pop();var i="/data/tests/"+t.build.id+"/"+n.join("/")+"/";if(!e.some((function(t){return t.url===i}))){var s={desc:r.desc.split(",")[0],url:i};e.push(s)}}))}e.sort((function(t,e){if(t.desc.toLowerCase()<e.desc.toLowerCase())return-1;if(t.desc.toLowerCase()>e.desc.toLowerCase())return 1;return 0}));return[r("compare-header",{appSrcUrl:this.appSrcUrl}),r("section",{class:"scroll-y"},r("section",{class:"content"},this.build?r("h1",null,r("a",{href:this.build.url},this.build.message)):null,e.map((function(t){return r("div",null,r("a",{href:t.url},t.desc))}))))]};Object.defineProperty(t,"style",{get:function(){return"screenshot-preview{display:block}screenshot-preview .scroll-y{width:100%}screenshot-preview h1{color:var(--analysis-data-color);font-size:16px;margin:0}screenshot-preview .content{padding:80px 20px 140px 20px}screenshot-preview a{display:block;padding:8px;color:var(--analysis-data-color);text-decoration:none}screenshot-preview a:hover{text-decoration:underline}screenshot-preview compare-header{left:0;padding:0;width:100%;height:auto;padding-top:env(safe-area-inset-top)}screenshot-preview compare-header compare-filter{display:none}\@media (max-width:480px){screenshot-preview a{padding:12px;font-size:18px}screenshot-preview a:hover{text-decoration:none}}"},enumerable:true,configurable:true});return t}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-68613371.system.js"],(function(e){"use strict";var t,i,r;return{setters:[function(e){t=e.r;i=e.d;r=e.h}],execute:function(){var s=e("compare_filter",function(){function e(e){t(this,e);this.filterChange=i(this,"filterChange",7)}e.prototype.render=function(){var e=this;if(!this.diffs||this.diffs.length===0||!this.filter){return}var t=this.diffs.reduce((function(e,t){if(!e.some((function(e){return e.value===t.device}))){e.push({text:t.device,value:t.device})}return e}),[{text:"All Devices",value:""}]);return r("section",null,r("div",{class:"showing"},"Showing ",this.diffs.filter((function(e){return e.show})).length),r("div",{class:"search"},r("input",{type:"search",onInput:function(t){e.filterChange.emit({search:t.target.value})},value:this.filter.search||""})),t.length>1?r("div",{class:"device"},r("select",{onInput:function(t){e.filterChange.emit({device:t.target.value})}},t.map((function(t){return r("option",{key:t.value,selected:t.value===e.filter.device,value:t.value},t.text)})))):null,r("div",{class:"mismatch"},r("select",{onInput:function(t){e.filterChange.emit({mismatch:t.target.value})}},r("option",{value:"",selected:this.filter.mismatch===""},"> 0"),r("option",{value:"100",selected:this.filter.mismatch==="100"},"> 100"),r("option",{value:"250",selected:this.filter.mismatch==="250"},"> 250"),r("option",{value:"500",selected:this.filter.mismatch==="500"},"> 500"),r("option",{value:"1000",selected:this.filter.mismatch==="1000"},"> 1,000"),r("option",{value:"2500",selected:this.filter.mismatch==="2500"},"> 2,500"),r("option",{value:"5000",selected:this.filter.mismatch==="5000"},"> 5,000"),r("option",{value:"10000",selected:this.filter.mismatch==="10000"},"> 10,000"),r("option",{value:"25000",selected:this.filter.mismatch==="25000"},"> 25,000"),r("option",{value:"50000",selected:this.filter.mismatch==="50000"},"> 50,000"),r("option",{value:"all",selected:this.filter.mismatch==="all"},"All Screenshots"))))};Object.defineProperty(e,"style",{get:function(){return"input,select{font-size:10px}.showing{font-size:12px;white-space:nowrap;margin:17px 8px 0 0;color:var(--analysis-data-color)}section{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.device,.mismatch,.search{margin:13px 8px 0 0}"},enumerable:true,configurable:true});return e}());var l=e("compare_header",function(){function e(e){t(this,e)}e.prototype.render=function(){return[r("header",null,r("div",{class:"logo"},r("a",{href:"/"},r("img",{src:this.appSrcUrl+"/assets/logo.png?1"}))),r("compare-filter",{diffs:this.diffs,filter:this.filter}))]};Object.defineProperty(e,"style",{get:function(){return":host{background:#fff;-webkit-box-shadow:var(--header-box-shadow);box-shadow:var(--header-box-shadow)}nav{padding:4px 4px}nav a{font-size:14px;text-decoration:none;color:var(--breadcrumb-color);display:inline-block;padding:0 4px 0 4px}nav a:hover{text-decoration:underline}header{display:-ms-flexbox;display:flex;width:calc(100% - 115px);padding:8px}img{width:174px;height:32px}.logo{padding:7px}.logo,compare-filter{-ms-flex:1;flex:1}h1{margin:0;padding:0;font-size:18px}"},enumerable:true,configurable:true});return e}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,g as s}from"./p-b6e44a24.js";const e=class{constructor(s){t(this,s),this.context={},this.renderer=()=>null}connectedCallback(){null!=this.subscribe&&(this.unsubscribe=this.subscribe(this.el,"context"))}disconnectedCallback(){null!=this.unsubscribe&&this.unsubscribe()}render(){return this.renderer(Object.assign({},this.context))}get el(){return s(this)}};export{e as context_consumer};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function s(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function a(e){try{c(r.next(e))}catch(e){n(e)}}function o(e){try{c(r["throw"](e))}catch(e){n(e)}}function c(e){e.done?i(e.value):s(e.value).then(a,o)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,s,n,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(e){return function(t){return c([e,t])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,s&&(n=a[0]&2?s["return"]:a[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,a[1])).done)return n;if(s=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;s=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];s=0}finally{r=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-68613371.system.js","./p-54d9d7c2.system.js"],(function(e){"use strict";var t,i,r;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.g}],execute:function(){function s(e,t){t=t.map((function(t){t=Object.assign({},t);return n(e,t)})).sort((function(e,t){if(e.mismatchedPixels>t.mismatchedPixels)return-1;if(e.mismatchedPixels<t.mismatchedPixels)return 1;if(e.desc.toLowerCase()<t.desc.toLowerCase())return-1;if(e.desc.toLowerCase()>t.desc.toLowerCase())return 1;if(e.device.toLowerCase()<t.device.toLowerCase())return-1;if(e.device.toLowerCase()>t.device.toLowerCase())return 1;return 0}));return t}function n(e,t){var i=!e.device||e.device===t.device;var r=!e.search||t.desc.includes(e.search);var s=true;if(e.diff&&e.diff===t.id){s=true}else if(e.mismatch){if(t.mismatchedPixels!=null&&e.mismatch!=="all"){s=parseInt(e.mismatch,10)<t.mismatchedPixels}}else{s=t.mismatchedPixels>0||t.mismatchedPixels==null}t.show=i&&r&&s;return t}function a(){var e={};var t=location.hash.replace("#","");if(t!==""){var i=t.split(";");i.forEach((function(t){var i=t.split("-");if(i.length>1){e[i[0]]=i[1]}else{e[i[0]]=true}}))}return e}function o(e,t){var i=Object.assign({},e,t);var r=Object.keys(i);var s=[];r.map((function(e){var t=i[e];if(t===true){s.push(e)}else if(t!=null&&t!==""){s.push(e+"-"+t)}}));window.location.hash=s.sort().join(";");return i}function c(e,t,i){var s=[];if(!t||!i){return s}i.screenshots.forEach((function(t){var i={id:t.id,desc:t.desc,testPath:t.testPath,imageA:null,imageUrlA:null,imageB:t.image,imageUrlB:""+e+t.image,identical:false,comparable:false,mismatchedPixels:null,width:t.width,height:t.height,deviceScaleFactor:t.deviceScaleFactor,device:t.device||t.userAgent,show:false,hasIntersected:false,threshold:typeof t.threshold==="number"?t.threshold:.05};s.push(i)}));t.screenshots.forEach((function(t){var i=s.find((function(e){return e.id===t.id}));if(i){i.imageA=t.image;i.imageUrlA=""+e+t.image}}));s.forEach((function(e){e.comparable=e.imageA!=null&&e.imageB!=null;e.identical=e.comparable&&e.imageA===e.imageB;if(e.identical){e.mismatchedPixels=0}else{var t=r(e.imageA,e.imageB,e.threshold);if(typeof t==="number"){e.mismatchedPixels=t;if(e.mismatchedPixels===0){e.identical=true}}}}));return s}var f=e("screenshot_compare",function(){function e(e){t(this,e);this.appSrcUrl="";this.imagesUrl="/data/images/";this.buildsUrl="/data/builds/";this.comparesUrl="/data/compares/";this.jsonpUrl=null;this.diffs=[]}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!this.match)return[3,2];if(!(this.match.params.buildIdA&&this.match.params.buildIdB))return[3,2];return[4,this.loadBuilds(this.match.params.buildIdA,this.match.params.buildIdB)];case 1:t.sent();t.label=2;case 2:e=this;return[4,c(this.imagesUrl,this.a,this.b)];case 3:e.diffs=t.sent();this.filter=a();this.updateDiffs();return[2]}}))}))};e.prototype.componentDidLoad=function(){var e=this;if("IntersectionObserver"in window){var t={root:document.querySelector(".scroll-y"),rootMargin:"1200px"};var i=new IntersectionObserver((function(t){var i=false;t.forEach((function(t){if(t.isIntersecting){var r=e.diffs.find((function(e){return t.target.id==="d-"+e.id}));if(r){r.hasIntersected=true;i=true}}}));if(i){if(window.requestIdleCallback){window.requestIdleCallback((function(){e.updateDiffs()}))}else{window.requestAnimationFrame((function(){e.updateDiffs()}))}}}),t);var r=document.querySelectorAll("compare-row");for(var s=0;s<r.length;s++){i.observe(r[s])}}else{this.diffs.forEach((function(e){e.hasIntersected=true}));this.updateDiffs()}if(this.filter&&this.filter.diff){this.navToDiff(this.filter.diff)}};e.prototype.loadBuilds=function(e,t){return __awaiter(this,void 0,void 0,(function(){var i,r,s,n,a,o,c;return __generator(this,(function(f){switch(f.label){case 0:i=""+this.buildsUrl+e+".json";if(e==="master"){i+="?ts="+Date.now()}r=""+this.buildsUrl+t+".json";if(t==="master"){r+="?ts="+Date.now()}return[4,Promise.all([fetch(i),fetch(r)])];case 1:s=f.sent();return[4,s[0]];case 2:n=f.sent();return[4,s[1]];case 3:a=f.sent();if(!(n.ok&&a.ok))return[3,6];o=this;return[4,n.json()];case 4:o.a=f.sent();c=this;return[4,a.json()];case 5:c.b=f.sent();f.label=6;case 6:return[2]}}))}))};e.prototype.filterChange=function(e){this.filter=o(this.filter,e.detail);this.updateDiffs()};e.prototype.diffNavChange=function(e){var t=e.detail;this.filter=o(this.filter,{diff:t});this.updateDiffs();this.navToDiff(t)};e.prototype.navToDiff=function(e){var t=document.getElementById("d-"+e);var i=document.querySelector(".scroll-y");if(t&&i){i.scrollTop=t.offsetTop-84}};e.prototype.compareLoaded=function(e){var t=e.detail;var i=this.diffs.find((function(e){return e.id===t.id}));if(i){i.mismatchedPixels=t.mismatchedPixels}this.updateDiffs()};e.prototype.updateDiffs=function(){this.diffs=s(this.filter,this.diffs)};e.prototype.render=function(){var e=this;return[i("compare-header",{diffs:this.diffs,filter:this.filter,appSrcUrl:this.appSrcUrl}),i("section",{class:"scroll-x"},i("compare-thead",{a:this.a,b:this.b,diffs:this.diffs}),i("section",{class:"scroll-y"},i("compare-table",null,i("compare-tbody",null,this.diffs.map((function(t){return i("compare-row",{key:t.id,aId:e.a.id,bId:e.b.id,id:"d-"+t.id,show:t.show,hidden:!t.show,imagesUrl:e.imagesUrl,jsonpUrl:e.jsonpUrl,diff:t})}))))))]};return e}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-68613371.system.js"],(function(){"use strict";var e,t;return{setters:[function(s){e=s.p;t=s.b}],execute:function(){e().then((function(e){return t([["p-dnta0rwp.system",[[0,"screenshot-compare",{appSrcUrl:[1,"app-src-url"],imagesUrl:[1,"images-url"],buildsUrl:[1,"builds-url"],comparesUrl:[1,"compares-url"],jsonpUrl:[1,"jsonp-url"],match:[16],a:[1040],b:[1040],filter:[32],diffs:[32]},[[0,"filterChange","filterChange"],[0,"diffNavChange","diffNavChange"],[0,"compareLoaded","compareLoaded"]]]]],["p-c9bopbjy.system",[[0,"screenshot-preview",{appSrcUrl:[1,"app-src-url"],imagesUrl:[1,"images-url"],buildsUrl:[1,"builds-url"],match:[16]}]]],["p-vk6rhemd.system",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-howklem2.system",[[1,"screenshot-lookup"]]],["p-t1wvevhc.system",[[0,"rindo-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-09qdknbg.system",[[4,"rindo-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}]]],["p-y5jlrcha.system",[[0,"rindo-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-ei9jkpd0.system",[[0,"rindo-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-xje6d7zl.system",[[0,"rindo-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-tnjarrex.system",[[1,"compare-analysis",{aId:[1,"a-id"],bId:[1,"b-id"],diff:[16],mismatchedPixels:[2,"mismatched-pixels"]}]]],["p-0a13mpsc.system",[[0,"compare-row",{aId:[1,"a-id"],bId:[1,"b-id"],imagesUrl:[1,"images-url"],jsonpUrl:[1,"jsonp-url"],diff:[16],show:[4],imageASrc:[32],imageBSrc:[32],imageAClass:[32],imageBClass:[32],canvasClass:[32]}],[1,"compare-thead",{a:[16],b:[16],diffs:[16]}]]],["p-vhfpd6kk.system",[[0,"app-root"],[0,"rindo-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}],[4,"rindo-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"rindo-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}]]],["p-c9iqz1pp.system",[[1,"compare-header",{appSrcUrl:[1,"app-src-url"],diffs:[16],filter:[16]}],[1,"compare-filter",{diffs:[16],filter:[16]}]]]],e)}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-68613371.system.js","./p-aeb3cec1.system.js"],(function(e){"use strict";var t,n,i;return{setters:[function(e){t=e.r;n=e.g},function(e){i=e.A}],execute:function(){var s=e("rindo_router_prompt",function(){function e(e){t(this,e);this.when=true;this.message=""}e.prototype.enable=function(e){if(this.unblock){this.unblock()}if(this.history){this.unblock=this.history.block(e)}};e.prototype.disable=function(){if(this.unblock){this.unblock();this.unblock=undefined}};e.prototype.componentWillLoad=function(){if(this.when){this.enable(this.message)}};e.prototype.updateMessage=function(e,t){if(this.when){if(!this.when||t!==e){this.enable(this.message)}}else{this.disable()}};e.prototype.componentDidUnload=function(){this.disable()};e.prototype.render=function(){return null};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:true,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{message:["updateMessage"],when:["updateMessage"]}},enumerable:true,configurable:true});return e}());i.injectProps(s,["history"])}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-b6e44a24.js";import{g as i}from"./p-113f7459.js";function e(t,s){const i=Object.assign({},t,s),e=Object.keys(i),o=[];return e.map(t=>{const s=i[t];!0===s?o.push(t):null!=s&&""!==s&&o.push(t+"-"+s)}),window.location.hash=o.sort().join(";"),i}const o=class{constructor(s){t(this,s),this.appSrcUrl="",this.imagesUrl="/data/images/",this.buildsUrl="/data/builds/",this.comparesUrl="/data/compares/",this.jsonpUrl=null,this.diffs=[]}async componentWillLoad(){this.match&&this.match.params.buildIdA&&this.match.params.buildIdB&&await this.loadBuilds(this.match.params.buildIdA,this.match.params.buildIdB),this.diffs=await function(t,s,e){const o=[];return s&&e?(e.screenshots.forEach(s=>{o.push({id:s.id,desc:s.desc,testPath:s.testPath,imageA:null,imageUrlA:null,imageB:s.image,imageUrlB:`${t}${s.image}`,identical:!1,comparable:!1,mismatchedPixels:null,width:s.width,height:s.height,deviceScaleFactor:s.deviceScaleFactor,device:s.device||s.userAgent,show:!1,hasIntersected:!1,threshold:"number"==typeof s.threshold?s.threshold:.05})}),s.screenshots.forEach(s=>{const i=o.find(t=>t.id===s.id);i&&(i.imageA=s.image,i.imageUrlA=`${t}${s.image}`)}),o.forEach(t=>{if(t.comparable=null!=t.imageA&&null!=t.imageB,t.identical=t.comparable&&t.imageA===t.imageB,t.identical)t.mismatchedPixels=0;else{const s=i(t.imageA,t.imageB,t.threshold);"number"==typeof s&&(t.mismatchedPixels=s,0===t.mismatchedPixels&&(t.identical=!0))}}),o):o}(this.imagesUrl,this.a,this.b),this.filter=function(){const t={},s=location.hash.replace("#","");return""!==s&&s.split(";").forEach(s=>{const i=s.split("-");t[i[0]]=!(i.length>1)||i[1]}),t}(),this.updateDiffs()}componentDidLoad(){if("IntersectionObserver"in window){const t={root:document.querySelector(".scroll-y"),rootMargin:"1200px"},s=new IntersectionObserver(t=>{let s=!1;t.forEach(t=>{if(t.isIntersecting){const i=this.diffs.find(s=>t.target.id===`d-${s.id}`);i&&(i.hasIntersected=!0,s=!0)}}),s&&(window.requestIdleCallback?window.requestIdleCallback(()=>{this.updateDiffs()}):window.requestAnimationFrame(()=>{this.updateDiffs()}))},t),i=document.querySelectorAll("compare-row");for(let t=0;t<i.length;t++)s.observe(i[t])}else this.diffs.forEach(t=>{t.hasIntersected=!0}),this.updateDiffs();this.filter&&this.filter.diff&&this.navToDiff(this.filter.diff)}async loadBuilds(t,s){let i=`${this.buildsUrl}${t}.json`;"master"===t&&(i+=`?ts=${Date.now()}`);let e=`${this.buildsUrl}${s}.json`;"master"===s&&(e+=`?ts=${Date.now()}`);const o=await Promise.all([fetch(i),fetch(e)]),n=await o[0],a=await o[1];n.ok&&a.ok&&(this.a=await n.json(),this.b=await a.json())}filterChange(t){this.filter=e(this.filter,t.detail),this.updateDiffs()}diffNavChange(t){const s=t.detail;this.filter=e(this.filter,{diff:s}),this.updateDiffs(),this.navToDiff(s)}navToDiff(t){const s=document.getElementById(`d-${t}`),i=document.querySelector(".scroll-y");s&&i&&(i.scrollTop=s.offsetTop-84)}compareLoaded(t){const s=t.detail,i=this.diffs.find(t=>t.id===s.id);i&&(i.mismatchedPixels=s.mismatchedPixels),this.updateDiffs()}updateDiffs(){var t;this.diffs=(t=this.filter,this.diffs.map(s=>(s=Object.assign({},s),function(t,s){const i=!t.device||t.device===s.device,e=!t.search||s.desc.includes(t.search);let o=!0;return t.diff&&t.diff===s.id?o=!0:t.mismatch?null!=s.mismatchedPixels&&"all"!==t.mismatch&&(o=parseInt(t.mismatch,10)<s.mismatchedPixels):o=s.mismatchedPixels>0||null==s.mismatchedPixels,s.show=i&&e&&o,s}(t,s))).sort((t,s)=>t.mismatchedPixels>s.mismatchedPixels?-1:t.mismatchedPixels<s.mismatchedPixels?1:t.desc.toLowerCase()<s.desc.toLowerCase()?-1:t.desc.toLowerCase()>s.desc.toLowerCase()?1:t.device.toLowerCase()<s.device.toLowerCase()?-1:t.device.toLowerCase()>s.device.toLowerCase()?1:0))}render(){return[s("compare-header",{diffs:this.diffs,filter:this.filter,appSrcUrl:this.appSrcUrl}),s("section",{class:"scroll-x"},s("compare-thead",{a:this.a,b:this.b,diffs:this.diffs}),s("section",{class:"scroll-y"},s("compare-table",null,s("compare-tbody",null,this.diffs.map(t=>s("compare-row",{key:t.id,aId:this.a.id,bId:this.b.id,id:"d-"+t.id,show:t.show,hidden:!t.show,imagesUrl:this.imagesUrl,jsonpUrl:this.jsonpUrl,diff:t}))))))]}};export{o as screenshot_compare};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(){"use strict";return{execute:function(){var e=function(){function e(){this.start=0;this.end=0;this.previous=null;this.parent=null;this.rules=null;this.parsedCssText="";this.cssText="";this.atRule=false;this.type=0;this.keyframesName="";this.selector="";this.parsedSelector=""}return e}();function t(e){e=r(e);return s(n(e),e)}function r(e){return e.replace(l.comments,"").replace(l.port,"")}function n(t){var r=new e;r["start"]=0;r["end"]=t.length;var n=r;for(var s=0,i=t.length;s<i;s++){if(t[s]===o){if(!n["rules"]){n["rules"]=[]}var a=n;var l=a["rules"][a["rules"].length-1]||null;n=new e;n["start"]=s+1;n["parent"]=a;n["previous"]=l;a["rules"].push(n)}else if(t[s]===u){n["end"]=s+1;n=n["parent"]||r}}return r}function s(e,t){var r=t.substring(e["start"],e["end"]-1);e["parsedCssText"]=e["cssText"]=r.trim();if(e.parent){var n=e.previous?e.previous["end"]:e.parent["start"];r=t.substring(n,e["start"]-1);r=i(r);r=r.replace(l.multipleSpaces," ");r=r.substring(r.lastIndexOf(";")+1);var o=e["parsedSelector"]=e["selector"]=r.trim();e["atRule"]=o.indexOf(p)===0;if(e["atRule"]){if(o.indexOf(f)===0){e["type"]=a.MEDIA_RULE}else if(o.match(l.keyframesRule)){e["type"]=a.KEYFRAMES_RULE;e["keyframesName"]=e["selector"].split(l.multipleSpaces).pop()}}else{if(o.indexOf(c)===0){e["type"]=a.MIXIN_RULE}else{e["type"]=a.STYLE_RULE}}}var u=e["rules"];if(u){for(var h=0,v=u.length,m=void 0;h<v&&(m=u[h]);h++){s(m,t)}}return e}function i(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){var e=arguments[1],t=6-e.length;while(t--){e="0"+e}return"\\"+e}))}var a={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3};var o="{";var u="}";var l={comments:/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g};var c="--";var f="@media";var p="@";function h(e,t,r){e["lastIndex"]=0;var n=t.substring(r).match(e);if(n){var s=r+n["index"];return{start:s,end:s+n[0].length}}return null}var v=/\bvar\(/;var m=/\B--[\w-]+\s*:/;var d=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim;var g=/^[\t ]+\n/gm;function y(e,t,r){if(e[t]){return e[t]}if(r){return M(r,e)}return""}function S(e,t){var r=0;var n=t;for(;n<e.length;n++){var s=e[n];if(s==="("){r++}else if(s===")"){r--;if(r<=0){return n+1}}}return n}function b(e,t){var r=h(v,e,t);if(!r){return null}var n=S(e,r.start);var s=e.substring(r.end,n-1);var i=s.split(","),a=i[0],o=i.slice(1);return{start:r.start,end:n,propName:a.trim(),fallback:o.length>0?o.join(",").trim():undefined}}function E(e,t,r){var n=b(e,r);if(!n){t.push(e.substring(r,e.length));return e.length}var s=n.propName;var i=n.fallback!=null?x(n.fallback):undefined;t.push(e.substring(r,n.start),(function(e){return y(e,s,i)}));return n.end}function M(e,t){var r="";for(var n=0;n<e.length;n++){var s=e[n];r+=typeof s==="string"?s:s(t)}return r}function w(e,t){var r=false;var n=false;var s=t;for(;s<e.length;s++){var i=e[s];if(r){if(n&&i==='"'){r=false}if(!n&&i==="'"){r=false}}else{if(i==='"'){r=true;n=true}else if(i==="'"){r=true;n=false}else if(i===";"){return s+1}else if(i==="}"){return s}}}return s}function L(e){var t="";var r=0;while(true){var n=h(m,e,r);var s=n?n.start:e.length;t+=e.substring(r,s);if(n){r=w(e,s)}else{break}}return t}function x(e){var t=0;e=e.replace(d,"");e=L(e).replace(g,"");var r=[];while(t<e.length){t=E(e,r,t)}return r}function R(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));var r={};var n=Object.entries(t);var s=function(e){var t=false;n.forEach((function(e){var n=e[0],s=e[1];var i=M(s,r);if(i!==r[n]){r[n]=i;t=true}}));if(!t){return"break"}};for(var i=0;i<10;i++){var a=s();if(a==="break")break}return r}function T(e,t){if(t===void 0){t=0}if(!e.rules){return[]}var r=[];e.rules.filter((function(e){return e.type===a.STYLE_RULE})).forEach((function(e){var n=H(e.cssText);if(n.length>0){e.parsedSelector.split(",").forEach((function(e){e=e.trim();r.push({selector:e,declarations:n,specificity:k(),nu:t})}))}t++}));return r}function k(e){return 1}var _="!important";var I=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function H(e){var t=[];var r;while(r=I.exec(e.trim())){var n=A(r[2]),s=n.value,i=n.important;t.push({prop:r[1].trim(),value:x(s),important:i})}return t}function A(e){var t=/\s+/gim;e=e.replace(t," ").trim();var r=e.endsWith(_);if(r){e=e.substr(0,e.length-_.length).trim()}return{value:e,important:r}}function C(e,t,r){var n=[];var s=O(t,e);r.forEach((function(e){return n.push(e)}));s.forEach((function(e){return n.push(e)}));var i=U(n);var a=i.filter((function(t){return j(e,t.selector)}));return N(a)}function O(e,t){var r=[];while(t){var n=e.get(t);if(n){r.push(n)}t=t.parentElement}return r}function U(e){var t=[];e.forEach((function(e){t.push.apply(t,e.selectors)}));return t}function N(e){e.sort((function(e,t){if(e.specificity===t.specificity){return e.nu-t.nu}return e.specificity-t.specificity}));return e}function j(e,t){return t===":root"||t==="html"||e.matches(t)}function $(e){var r=t(e);var n=x(e);var s=T(r);return{original:e,template:n,selectors:s,usesCssVars:n.length>1}}function G(e,t){var r=$(t.innerHTML);r.styleEl=t;e.push(r)}function V(e){var t=U(e);var r=R(t);e.forEach((function(e){if(e.usesCssVars){e.styleEl.innerHTML=M(e.template,r)}}))}function Y(e,t){var r=e.template.map((function(r){return typeof r==="string"?P(r,e.scopeId,t):r}));var n=e.selectors.map((function(r){return Object.assign(Object.assign({},r),{selector:P(r.selector,e.scopeId,t)})}));return Object.assign(Object.assign({},e),{template:r,selectors:n,scopeId:t})}function P(e,t,r){e=q(e,"\\."+t,"."+r);return e}function q(e,t,r){return e.replace(new RegExp(t,"g"),r)}function F(e,t){B(e,t);return W(e,t)}function W(e,t){var r=[];var n=e.querySelectorAll('link[rel="stylesheet"][href]');for(var s=0;s<n.length;s++){r.push(D(e,t,n[s]))}return Promise.all(r)}function B(e,t){var r=e.querySelectorAll("style:not([data-styles])");for(var n=0;n<r.length;n++){G(t,r[n])}}function D(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(X(s)&&r.parentNode){if(Z(s)){s=J(s,n)}var i=e.createElement("style");i.setAttribute("data-styles","");i.innerHTML=s;G(t,i);r.parentNode.insertBefore(i,r);r.remove()}})).catch((function(e){console.error(e)}))}var K=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function X(e){return e.indexOf("var(")>-1||K.test(e)}var z=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function Z(e){z.lastIndex=0;return z.test(e)}function J(e,t){var r=t.replace(/[^\/]*$/,"");return e.replace(z,(function(e,t){var n=r+t;return e.replace(t,n)}))}var Q=function(){function e(e,t){this.win=e;this.doc=t;this.count=0;this.hostStyleMap=new WeakMap;this.hostScopeMap=new WeakMap;this.globalScopes=[];this.scopesMap=new Map}e.prototype.initShim=function(){var e=this;return new Promise((function(t){e.win.requestAnimationFrame((function(){F(e.doc,e.globalScopes).then((function(){return t()}))}))}))};e.prototype.addLink=function(e){var t=this;return D(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))};e.prototype.addGlobalStyle=function(e){G(this.globalScopes,e);this.updateGlobal()};e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e)){throw new Error("host style already created")}var s=this.registerHostTemplate(r,t,n);var i=this.doc.createElement("style");if(!s.usesCssVars){i.innerHTML=r}else if(n){i["s-sc"]=t=s.scopeId+"-"+this.count;i.innerHTML="/*needs update*/";this.hostStyleMap.set(e,i);this.hostScopeMap.set(e,Y(s,t));this.count++}else{s.styleEl=i;if(!s.usesCssVars){i.innerHTML=M(s.template,{})}this.globalScopes.push(s);this.updateGlobal();this.hostScopeMap.set(e,s)}return i};e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);if(t){t.remove()}this.hostStyleMap.delete(e);this.hostScopeMap.delete(e)};e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=C(e,this.hostScopeMap,this.globalScopes);var s=R(n);r.innerHTML=M(t.template,s)}}};e.prototype.updateGlobal=function(){V(this.globalScopes)};e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);if(!n){n=$(e);n.scopeId=t;n.isScoped=r;this.scopesMap.set(t,n)}return n};return e}();var ee=window;function te(){return!(ee.CSS&&ee.CSS.supports&&ee.CSS.supports("color","var(--c)"))}if(!ee.__rindo_cssshim&&te()){ee.__rindo_cssshim=new Q(ee,document)}}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--font-color:#202020;--background-color:#f7f8fb;--breadcrumb-color:#8e9bb2;--header-box-shadow:0px 1px 4px rgba(0,12,32,0.12),0px 1px 0px rgba(0,12,32,0.02);--screenshot-box-shadow:0px 0px 4px rgba(0,0,0,0.08),0px 1px 3px rgba(0,0,0,0.12);--screenshot-border-radius:4px;--analysis-data-font-size:12px;--analysis-data-color:#6f6f6f}*{-webkit-box-sizing:border-box;box-sizing:border-box}body{padding:0;margin:0;font-family:var(--font-family);background:var(--background-color);color:var(--font-color)}compare-table{display:table;width:100%;margin-top:84px;margin-bottom:12px}compare-tbody{display:table-row-group}compare-tbody compare-cell{padding-top:12px}compare-row{display:table-row}compare-row[hidden]{display:none}compare-cell{display:table-cell;vertical-align:top;padding:3px 10px}body{overflow:hidden}body,screenshot-compare{position:absolute;width:100%;height:100vh}compare-header,screenshot-compare{display:block;top:0}compare-header{position:absolute;z-index:1;left:-100px;padding-left:100px;width:calc(100% + 200px);height:84px}compare-thead{position:relative;top:64px;z-index:1}.scroll-x{width:100%;overflow-x:scroll;overflow-y:hidden}.scroll-x,.scroll-y{position:absolute;top:0;height:100vh}.scroll-y{overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch;will-change:scroll-position}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,g as e,c as o}from"./p-b6e44a24.js";import{m as i,a as n,s as r,b as a,c as h,d as c,e as l,f as u,g as p,h as d,i as f,j as g,k as y,l as m,n as b,o as w,p as P}from"./p-aa67fb06.js";import{A as v}from"./p-efb0eac6.js";const O=class{constructor(s){t(this,s)}render(){return s("rindo-router",{class:"full-screen"},s("rindo-route-switch",null,s("rindo-route",{url:"/:buildIdA/:buildIdB",exact:!0,component:"screenshot-compare",class:"full-screen"}),s("rindo-route",{url:"/:buildId",component:"screenshot-preview",class:"full-screen"}),s("rindo-route",{url:"/",component:"screenshot-preview",exact:!0,class:"full-screen"})))}},L=class{constructor(s){t(this,s),this.group=null,this.match=null,this.componentProps={},this.exact=!1,this.scrollOnNextRender=!1,this.previousMatch=null}computeMatch(t){const s=null!=this.group||null!=this.el.parentElement&&"rindo-route-switch"===this.el.parentElement.tagName.toLowerCase();if(t&&!s)return this.previousMatch=this.match,this.match=i(t.pathname,{path:this.url,exact:this.exact,strict:!0})}async loadCompleted(){let t={};this.history&&this.history.location.hash?t={scrollToId:this.history.location.hash.substr(1)}:this.scrollTopOffset&&(t={scrollTopOffset:this.scrollTopOffset}),"function"==typeof this.componentUpdated?this.componentUpdated(t):this.match&&!n(this.match,this.previousMatch)&&this.routeViewsUpdated&&this.routeViewsUpdated(t)}async componentDidUpdate(){await this.loadCompleted()}async componentDidLoad(){await this.loadCompleted()}render(){if(!this.match||!this.history)return null;const t=Object.assign({},this.componentProps,{history:this.history,match:this.match});return this.routeRender?this.routeRender(Object.assign({},t,{component:this.component})):this.component?s(this.component,Object.assign({},t)):void 0}get el(){return e(this)}static get watchers(){return{location:["computeMatch"]}}static get style(){return"rindo-route.inactive{display:none}"}};v.injectProps(L,["location","history","historyType","routeViewsUpdated"]);const E=t=>"RINDO-ROUTE"===t.tagName,T=class{constructor(s){t(this,s),this.group=(()=>((1e17*Math.random()).toString().match(/.{4}/g)||[]).join("-"))(),this.subscribers=[],this.queue=o(this,"queue")}componentWillLoad(){null!=this.location&&this.regenerateSubscribers(this.location)}async regenerateSubscribers(t){if(null==t)return;let s=-1;if(this.subscribers=Array.prototype.slice.call(this.el.children).filter(E).map((e,o)=>{const n=((t,s,e)=>i(t,{path:s,exact:e,strict:!0}))(t.pathname,e.url,e.exact);return n&&-1===s&&(s=o),{el:e,match:n}}),-1===s)return;if(this.activeIndex===s)return void(this.subscribers[s].el.match=this.subscribers[s].match);this.activeIndex=s;const e=this.subscribers[this.activeIndex];this.scrollTopOffset&&(e.el.scrollTopOffset=this.scrollTopOffset),e.el.group=this.group,e.el.match=e.match,e.el.componentUpdated=t=>{this.queue.write(()=>{this.subscribers.forEach((t,s)=>{if(t.el.componentUpdated=void 0,s===this.activeIndex)return t.el.style.display="";this.scrollTopOffset&&(t.el.scrollTopOffset=this.scrollTopOffset),t.el.group=this.group,t.el.match=null,t.el.style.display="none"})}),this.routeViewsUpdated&&this.routeViewsUpdated(Object.assign({scrollTopOffset:this.scrollTopOffset},t))}}render(){return s("slot",null)}get el(){return e(this)}static get watchers(){return{location:["regenerateSubscribers"]}}};v.injectProps(T,["location","routeViewsUpdated"]);const j=(t,...s)=>{t||console.warn(...s)},S=()=>{let t,s=[];return{setPrompt:s=>(j(null==t,"A history supports only one prompt at a time"),t=s,()=>{t===s&&(t=null)}),confirmTransitionTo:(s,e,o,i)=>{if(null!=t){const n="function"==typeof t?t(s,e):t;"string"==typeof n?"function"==typeof o?o(n,i):(j(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==n)}else i(!0)},appendListener:t=>{let e=!0;const o=(...s)=>{e&&t(...s)};return s.push(o),()=>{e=!1,s=s.filter(t=>t!==o)}},notifyListeners:(...t)=>{s.forEach(s=>s(...t))}}},H=(t,s="scrollPositions")=>{let e=new Map;const o=(s,o)=>{if(e.set(s,o),r(t,"sessionStorage")){const s=[];e.forEach((t,e)=>{s.push([e,t])}),t.sessionStorage.setItem("scrollPositions",JSON.stringify(s))}};if(r(t,"sessionStorage")){const o=t.sessionStorage.getItem(s);e=o?new Map(JSON.parse(o)):e}return"scrollRestoration"in t.history&&(history.scrollRestoration="manual"),{set:o,get:t=>e.get(t),has:t=>e.has(t),capture:s=>{o(s,[t.scrollX,t.scrollY])}}},U={hashbang:{encodePath:t=>"!"===t.charAt(0)?t:"!/"+w(t),decodePath:t=>"!"===t.charAt(0)?t.substr(1):t},noslash:{encodePath:w,decodePath:l},slash:{encodePath:l,decodePath:l}},k=(t,s)=>{const e=0==t.pathname.indexOf(s)?"/"+t.pathname.slice(s.length):t.pathname;return Object.assign({},t,{pathname:e})},A={browser:(t,s={})=>{let e=!1;const o=t.history,i=t.location,n=t.navigator,r=a(t),b=!h(n),w=H(t),P=null!=s.forceRefresh&&s.forceRefresh,v=null!=s.getUserConfirmation?s.getUserConfirmation:y,O=null!=s.keyLength?s.keyLength:6,L=s.basename?c(l(s.basename)):"",E=()=>{try{return t.history.state||{}}catch(t){return{}}},T=t=>{t=t||{};const{key:s,state:e}=t,{pathname:o,search:n,hash:r}=i;let a=o+n+r;return j(!L||d(a,L),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+L+'".'),L&&(a=f(a,L)),u(a,e,s||p(O))},U=S(),k=t=>{w.capture(V.location.key),Object.assign(V,t),V.location.scrollPosition=w.get(V.location.key),V.length=o.length,U.notifyListeners(V.location,V.action)},A=t=>{m(n,t)||R(T(t.state))},C=()=>{R(T(E()))},R=t=>{if(e)e=!1,k();else{const s="POP";U.confirmTransitionTo(t,s,v,e=>{e?k({action:s,location:t}):x(t)})}},x=t=>{let s=_.indexOf(V.location.key),o=_.indexOf(t.key);-1===s&&(s=0),-1===o&&(o=0);const i=s-o;i&&(e=!0,D(i))},M=T(E());let _=[M.key],B=0,I=!1;const Y=t=>L+g(t),D=t=>{o.go(t)},N=s=>{1===(B+=s)?(t.addEventListener("popstate",A),b&&t.addEventListener("hashchange",C)):0===B&&(t.removeEventListener("popstate",A),b&&t.removeEventListener("hashchange",C))},V={length:o.length,action:"POP",location:M,createHref:Y,push:(t,s)=>{j(!("object"==typeof t&&void 0!==t.state&&void 0!==s),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const e=u(t,s,p(O),V.location);U.confirmTransitionTo(e,"PUSH",v,t=>{if(!t)return;const s=Y(e),{key:n,state:a}=e;if(r)if(o.pushState({key:n,state:a},"",s),P)i.href=s;else{const t=_.indexOf(V.location.key),s=_.slice(0,-1===t?0:t+1);s.push(e.key),_=s,k({action:"PUSH",location:e})}else j(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),i.href=s})},replace:(t,s)=>{j(!("object"==typeof t&&void 0!==t.state&&void 0!==s),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const e=u(t,s,p(O),V.location);U.confirmTransitionTo(e,"REPLACE",v,t=>{if(!t)return;const s=Y(e),{key:n,state:a}=e;if(r)if(o.replaceState({key:n,state:a},"",s),P)i.replace(s);else{const t=_.indexOf(V.location.key);-1!==t&&(_[t]=e.key),k({action:"REPLACE",location:e})}else j(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),i.replace(s)})},go:D,goBack:()=>D(-1),goForward:()=>D(1),block:(t="")=>{const s=U.setPrompt(t);return I||(N(1),I=!0),()=>(I&&(I=!1,N(-1)),s())},listen:t=>{const s=U.appendListener(t);return N(1),()=>{N(-1),s()}},win:t};return V},hash:(t,s={})=>{let e=!1,o=null,i=0,n=!1;const r=t.location,a=t.history,h=b(t.navigator),m=null!=s.keyLength?s.keyLength:6,{getUserConfirmation:w=y,hashType:v="slash"}=s,O=s.basename?c(l(s.basename)):"",{encodePath:L,decodePath:E}=U[v],T=()=>{const t=r.href,s=t.indexOf("#");return-1===s?"":t.substring(s+1)},H=t=>{const s=r.href.indexOf("#");r.replace(r.href.slice(0,s>=0?s:0)+"#"+t)},k=()=>{let t=E(T());return j(!O||d(t,O),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+O+'".'),O&&(t=f(t,O)),u(t,void 0,p(m))},A=S(),C=t=>{Object.assign(V,t),V.length=a.length,A.notifyListeners(V.location,V.action)},R=()=>{const t=T(),s=L(t);if(t!==s)H(s);else{const t=k(),s=V.location;if(!e&&P(s,t))return;if(o===g(t))return;o=null,x(t)}},x=t=>{if(e)e=!1,C();else{const s="POP";A.confirmTransitionTo(t,s,w,e=>{e?C({action:s,location:t}):M(t)})}},M=t=>{let s=Y.lastIndexOf(g(V.location)),o=Y.lastIndexOf(g(t));-1===s&&(s=0),-1===o&&(o=0);const i=s-o;i&&(e=!0,D(i))},_=T(),B=L(_);_!==B&&H(B);const I=k();let Y=[g(I)];const D=t=>{j(h,"Hash history go(n) causes a full page reload in this browser"),a.go(t)},N=(t,s)=>{1===(i+=s)?t.addEventListener("hashchange",R):0===i&&t.removeEventListener("hashchange",R)},V={length:a.length,action:"POP",location:I,createHref:t=>"#"+L(O+g(t)),push:(t,s)=>{j(void 0===s,"Hash history cannot push state; it is ignored");const e=u(t,void 0,p(m),V.location);A.confirmTransitionTo(e,"PUSH",w,t=>{if(!t)return;const s=g(e),i=L(O+s);if(T()!==i){o=s,(t=>r.hash=t)(i);const t=Y.lastIndexOf(g(V.location)),n=Y.slice(0,-1===t?0:t+1);n.push(s),Y=n,C({action:"PUSH",location:e})}else j(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),C()})},replace:(t,s)=>{j(void 0===s,"Hash history cannot replace state; it is ignored");const e=u(t,void 0,p(m),V.location);A.confirmTransitionTo(e,"REPLACE",w,t=>{if(!t)return;const s=g(e),i=L(O+s);T()!==i&&(o=s,H(i));const n=Y.indexOf(g(V.location));-1!==n&&(Y[n]=s),C({action:"REPLACE",location:e})})},go:D,goBack:()=>D(-1),goForward:()=>D(1),block:(s="")=>{const e=A.setPrompt(s);return n||(N(t,1),n=!0),()=>(n&&(n=!1,N(t,-1)),e())},listen:s=>{const e=A.appendListener(s);return N(t,1),()=>{N(t,-1),e()}},win:t};return V}},C=class{constructor(s){t(this,s),this.root="/",this.historyType="browser",this.titleSuffix="",this.routeViewsUpdated=(t={})=>{if(this.history&&t.scrollToId&&"browser"===this.historyType){const s=this.history.win.document.getElementById(t.scrollToId);if(s)return s.scrollIntoView()}this.scrollTo(t.scrollTopOffset||this.scrollTopOffset)},this.isServer=o(this,"isServer"),this.queue=o(this,"queue")}componentWillLoad(){this.history=A[this.historyType](this.el.ownerDocument.defaultView),this.history.listen(t=>{t=k(t,this.root),this.location=t}),this.location=k(this.history.location,this.root)}scrollTo(t){const s=this.history;if(null!=t&&!this.isServer&&s)return"POP"===s.action&&Array.isArray(s.location.scrollPosition)?this.queue.write(()=>{s&&s.location&&Array.isArray(s.location.scrollPosition)&&s.win.scrollTo(s.location.scrollPosition[0],s.location.scrollPosition[1])}):this.queue.write(()=>{s.win.scrollTo(0,t)})}render(){if(this.location&&this.history)return s(v.Provider,{state:{historyType:this.historyType,location:this.location,titleSuffix:this.titleSuffix,root:this.root,history:this.history,routeViewsUpdated:this.routeViewsUpdated}},s("slot",null))}get el(){return e(this)}};export{O as app_root,L as rindo_route,T as rindo_route_switch,C as rindo_router};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r["throw"](t))}catch(t){i(t)}}function s(t){t.done?n(t.value):o(t.value).then(u,a)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return s([t,e])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-68613371.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.r;n=t.h}],execute:function(){var r=t("screenshot_lookup",function(){function t(t){e(this,t);this.a="";this.b=""}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,n;return __generator(this,(function(r){switch(r.label){case 0:t="/data/builds/master.json?ts="+Date.now();return[4,fetch(t)];case 1:e=r.sent();if(!e.ok)return[3,3];n=this;return[4,e.json()];case 2:n.build=r.sent();r.label=3;case 3:return[2]}}))}))};t.prototype.onSubmit=function(t){t.preventDefault();t.stopPropagation();var e=this.a.trim().toLowerCase();var n=this.b.trim().toLowerCase();if(!e||!n){return}e=e.substring(0,7);n=n.substring(0,7);var r="/"+e+"/"+n;window.location.href=r};t.prototype.render=function(){var t=this;return[n("header",null,n("div",{class:"logo"},n("a",{href:"/"},n("img",{src:"/assets/logo.png?1"})))),n("section",null,this.build?n("section",{class:"master"},n("p",null,n("a",{href:"/master"},this.build.message))):null,n("form",{onSubmit:this.onSubmit.bind(this)},n("div",null,n("input",{onInput:function(e){return t.a=e.target.value}})),n("div",null,n("input",{onInput:function(e){return t.b=e.target.value}})),n("div",null,n("button",{type:"submit"},"Compare Screenshots"))))]};Object.defineProperty(t,"style",{get:function(){return"header{padding:8px;background:#fff;-webkit-box-shadow:var(--header-box-shadow);box-shadow:var(--header-box-shadow)}img{width:174px;height:32px}.logo{-ms-flex:1;flex:1;padding:7px}a{padding:8px;color:var(--analysis-data-color);text-decoration:none}.master{text-align:center}a:hover{text-decoration:underline}form{width:160px;margin:40px auto}form div{margin:10px}input{width:100%}"},enumerable:true,configurable:true});return t}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,d as t,h as s}from"./p-b6e44a24.js";const i=class{constructor(s){e(this,s),this.filterChange=t(this,"filterChange",7)}render(){if(!this.diffs||0===this.diffs.length||!this.filter)return;const e=this.diffs.reduce((e,t)=>(e.some(e=>e.value===t.device)||e.push({text:t.device,value:t.device}),e),[{text:"All Devices",value:""}]);return s("section",null,s("div",{class:"showing"},"Showing ",this.diffs.filter(e=>e.show).length),s("div",{class:"search"},s("input",{type:"search",onInput:e=>{this.filterChange.emit({search:e.target.value})},value:this.filter.search||""})),e.length>1?s("div",{class:"device"},s("select",{onInput:e=>{this.filterChange.emit({device:e.target.value})}},e.map(e=>s("option",{key:e.value,selected:e.value===this.filter.device,value:e.value},e.text)))):null,s("div",{class:"mismatch"},s("select",{onInput:e=>{this.filterChange.emit({mismatch:e.target.value})}},s("option",{value:"",selected:""===this.filter.mismatch},"> 0"),s("option",{value:"100",selected:"100"===this.filter.mismatch},"> 100"),s("option",{value:"250",selected:"250"===this.filter.mismatch},"> 250"),s("option",{value:"500",selected:"500"===this.filter.mismatch},"> 500"),s("option",{value:"1000",selected:"1000"===this.filter.mismatch},"> 1,000"),s("option",{value:"2500",selected:"2500"===this.filter.mismatch},"> 2,500"),s("option",{value:"5000",selected:"5000"===this.filter.mismatch},"> 5,000"),s("option",{value:"10000",selected:"10000"===this.filter.mismatch},"> 10,000"),s("option",{value:"25000",selected:"25000"===this.filter.mismatch},"> 25,000"),s("option",{value:"50000",selected:"50000"===this.filter.mismatch},"> 50,000"),s("option",{value:"all",selected:"all"===this.filter.mismatch},"All Screenshots"))))}static get style(){return"input,select{font-size:10px}.showing{font-size:12px;white-space:nowrap;margin:17px 8px 0 0;color:var(--analysis-data-color)}section{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.device,.mismatch,.search{margin:13px 8px 0 0}"}},l=class{constructor(t){e(this,t)}render(){return[s("header",null,s("div",{class:"logo"},s("a",{href:"/"},s("img",{src:this.appSrcUrl+"/assets/logo.png?1"}))),s("compare-filter",{diffs:this.diffs,filter:this.filter}))]}static get style(){return":host{background:#fff;-webkit-box-shadow:var(--header-box-shadow);box-shadow:var(--header-box-shadow)}nav{padding:4px 4px}nav a{font-size:14px;text-decoration:none;color:var(--breadcrumb-color);display:inline-block;padding:0 4px 0 4px}nav a:hover{text-decoration:underline}header{display:-ms-flexbox;display:flex;width:calc(100% - 115px);padding:8px}img{width:174px;height:32px}.logo{padding:7px}.logo,compare-filter{-ms-flex:1;flex:1}h1{margin:0;padding:0;font-size:18px}"}};export{i as compare_filter,l as compare_header};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-b6e44a24.js";const n=class{constructor(s){t(this,s),this.a="",this.b=""}async componentWillLoad(){const t=`/data/builds/master.json?ts=${Date.now()}`,s=await fetch(t);s.ok&&(this.build=await s.json())}onSubmit(t){t.preventDefault(),t.stopPropagation();let s=this.a.trim().toLowerCase(),n=this.b.trim().toLowerCase();s&&n&&(s=s.substring(0,7),n=n.substring(0,7),window.location.href=`/${s}/${n}`)}render(){return[s("header",null,s("div",{class:"logo"},s("a",{href:"/"},s("img",{src:"/assets/logo.png?1"})))),s("section",null,this.build?s("section",{class:"master"},s("p",null,s("a",{href:"/master"},this.build.message))):null,s("form",{onSubmit:this.onSubmit.bind(this)},s("div",null,s("input",{onInput:t=>this.a=t.target.value})),s("div",null,s("input",{onInput:t=>this.b=t.target.value})),s("div",null,s("button",{type:"submit"},"Compare Screenshots"))))]}static get style(){return"header{padding:8px;background:#fff;-webkit-box-shadow:var(--header-box-shadow);box-shadow:var(--header-box-shadow)}img{width:174px;height:32px}.logo{-ms-flex:1;flex:1;padding:7px}a{padding:8px;color:var(--analysis-data-color);text-decoration:none}.master{text-align:center}a:hover{text-decoration:underline}form{width:160px;margin:40px auto}form div{margin:10px}input{width:100%}"}};export{n as screenshot_lookup};
|